]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/fbc: Move the plane state check into the fbc functions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Dec 2019 13:34:50 +0000 (15:34 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Jan 2020 15:16:32 +0000 (17:16 +0200)
commit6486be8aca50dd7527392d2d003041e98b70deb1
tree711a7edcbac6795161f07313ffff2e7541fc3263
parentdb33238eee71fce1d45e1bb47ea45170a6cb725b
drm/i915/fbc: Move the plane state check into the fbc functions

Instead of dealing with the presence/absence of the primary
plane in the higher level pre/post plane update code let's
move all that into the fbc code itself. Now the higher level
code doesn't have to think about FBC details anymore.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213133453.22152-3-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_fbc.c
drivers/gpu/drm/i915/display/intel_fbc.h