]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0fd61f2c44bfe1f8982d852874591eb67d4bb264
tree9718a987326e7128d914e656840b1b5d80a8c37b
parent38ab64ad650c7c11b0ffec006a8d18b0d872b6c5
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