drm/i915: Do not enable package C8 on unsupported hardware
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Nov 2013 02:32:37 +0000 (18:32 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Nov 2013 12:05:09 +0000 (13:05 +0100)
commit7c6c2652bab9601883ed579071aa56ab52a28ea6
tree9718a987326e7128d914e656840b1b5d80a8c37b
parentbe1c1fe21b3a9d48580bdf976c8dac844f456290
drm/i915: Do not enable package C8 on unsupported hardware

If the hardware does not support package C8, then do not even schedule
work to enable it. Thereby we can eliminate a bunch of dangerous work.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c