]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add proper CPU/PCH checks to crtc_mode_set functions
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 5 Oct 2012 15:05:56 +0000 (12:05 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Oct 2012 13:56:47 +0000 (15:56 +0200)
commitfe31942e3daf7bfe4e650540d4e86df9ffe9489e
tree133c1b23e3461b522cfa907e5514a7e494be7264
parent58c3f8867718a89b0e4fb73b75fefd63e48f8f1f
drm/i915: add proper CPU/PCH checks to crtc_mode_set functions

On ironlake_crtc_mode_set, WARN if not using IBX or CPT.

On haswell_crtc_mode_set, only run IBX/CPT code on IBX/CPT. I am still
not sure whether IBX/CPT will be possible with a Haswell CPU, so leave
the code there for now and put a WARN in case we spot it.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c