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)
commit9ecc6eabd8fee0972de3f23bd66d1a54b1781fa6
tree711a7edcbac6795161f07313ffff2e7541fc3263
parent72ff2b8d5f2dcb09bfa37b902c23311eec426496
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