]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Track pfit enable state separately from size
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 27 Aug 2013 16:04:17 +0000 (17:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 8 Sep 2013 19:59:13 +0000 (21:59 +0200)
commit069831530d2a2422a03b93b89c25d8abe7e2513f
tree0c97b55970bc964b16e3d32327e513ce6249f9f3
parent6e06d463fd0a2e0049b86cbbd6d89a81919d46d3
drm/i915: Track pfit enable state separately from size

Detangle the additional state of whether or not the hw has the pfit
enabled from whether it has zero size. This allows us to cleanly
distinguish in the code when we expect the pfit to be enabled (for
Haswell pc8), and when the BIOS is confused and needs sanitizing.

Reported-by: shui yanwei <yangweix.shui@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68251
Tested-by: shui yanwei <yangweix.shui@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_panel.c
drivers/gpu/drm/i915/intel_pm.c