commit | 5dc5298bb3e5d72af6bab5c1d43dad9a07052982 | [log] [tgz] |
---|---|---|
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | Fri Oct 05 12:05:56 2012 -0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Oct 10 15:56:47 2012 +0200 |
tree | 133c1b23e3461b522cfa907e5514a7e494be7264 | |
parent | 09b4ddf95d54bd622a1f1ddc14412a5b3001e023 [diff] |
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>