drm/i915/display/psr: Program plane's calculated offset to plane SF register
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 4 Jan 2021 20:56:54 +0000 (12:56 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 5 Jan 2021 13:32:56 +0000 (05:32 -0800)
commit6b9663413ba702a5fc969cb496ef7b43f00bd92f
treed7c6cc3d87b6dbe74d9906f2ed67c1de7c008832
parentca1100f34171927b2d8bc15d96faa66b28bf9a44
drm/i915/display/psr: Program plane's calculated offset to plane SF register

It programs Plane's calculated x, y, offset to Plane SF register.
It does the calculation of x and y offsets using
skl_calc_main_surface_offset().

v3: Update commit message

Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Tested-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210104205654.238928-4-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_psr.c