drm/i915: Fix cursor src/dst rectangle with bigjoiner
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 17 Nov 2020 19:47:16 +0000 (11:47 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Wed, 18 Nov 2020 19:42:26 +0000 (11:42 -0800)
commitbf473cb531d9eb47d445ae4a5650bac28537b65e
tree0ad1e8a5d0c7eaabe64045f30c6f2e3d2699c2f8
parent756c1b8767a54a270f60c00a7d95a2cdd67d70f9
drm/i915: Fix cursor src/dst rectangle with bigjoiner

We can't call drm_plane_state_src() this late for the slave plane since
it would consult the wrong uapi state. We've alreayd done the correct
uapi->hw copy earlier, so let's just preserve the unclipped src/dst
rects using a temp copy across the intel_atomic_plane_check_clipping()
call.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201117194718.11462-14-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_display.c