]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/fbc: Fix the plane end Y offset check
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 10 Feb 2022 10:31:07 +0000 (12:31 +0200)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 14 Feb 2022 09:52:56 +0000 (09:52 +0000)
commit8824ff7dda47c7adfc8c95d373f8bc99eef6f9d0
treedf31f1ffb98f23008f9531b191f97a6eb2f610dc
parent69e6e566fd36d06819ccdeb9d17b7a6f885bbb71
drm/i915/fbc: Fix the plane end Y offset check

We lost the required >>16 when I refactored the FBC plane state
checks. Bring it back so the check does what it's supposed to.

Cc: Mika Kahola <mika.kahola@intel.com>
Fixes: 44e29437eb89 ("drm/i915/fbc: Nuke lots of crap from intel_fbc_state_cache")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220210103107.24492-1-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
(cherry picked from commit f7bc440bc79ae5dcf648b90209910ea8dba6ef0c)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/display/intel_fbc.c