]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clean up fbc vs. plane checks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 21 Feb 2018 17:31:01 +0000 (19:31 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Feb 2018 15:45:49 +0000 (17:45 +0200)
commit98fe6862ca856df1d7b5ca30da615f74886b7e15
tree6569cc8f68c6496887d8cd8746203f24706b585e
parent4742cbcc3c3abfc75cb6503915e37ddd185dbb87
drm/i915: Clean up fbc vs. plane checks

Let's record the information whether a plane can do fbc or not under
struct inte_plane.

v2: Rebase due to i9xx_plane_id
    Handle BDW/HSW correctly
v3: Move inte_fbc_init() back since we depend on it happening
    even with i915.disable_display, and populate
    fbc->possible_framebuffer_bits directly from the
    plane init code instead
v4: Add note about plane A being tied to pipe A on HSW+

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180221173101.19385-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180221160235.11134-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fbc.c