diff options
author | 2013-03-25 15:16:14 +0000 | |
---|---|---|
committer | 2013-03-25 19:21:00 +0100 | |
commit | a42f704b71b252705f34fbe60ea6f4a76f891a78 (patch) | |
tree | 171c0c841e6ba743084fade941c0bffc1c9e798c /drivers/gpu/drm/drm_fb_helper.c | |
parent | drm/i915: Don't overclock on Haswell (diff) | |
download | linux-dev-a42f704b71b252705f34fbe60ea6f4a76f891a78.tar.xz linux-dev-a42f704b71b252705f34fbe60ea6f4a76f891a78.zip |
drm/i915: Warn if a pipe is enabled with a bogus port
If TRANS_DDI_FUNC_CTL has been wrongly programmed with an incorrect
port, we are currently trying to read PORT_CLK_SEL(port) with an
uninitialized value.
Handle that case by returning PORT_CLK_SEL_NONE and warning about it.
v2: Move the warning inside intel_ddi_get_crtc_pll (Paulo Zanoni)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
0 files changed, 0 insertions, 0 deletions