]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Split and export main surface calculation from skl_check_main_surface()
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 4 Jan 2021 20:56:53 +0000 (12:56 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 5 Jan 2021 13:32:53 +0000 (05:32 -0800)
commitca1100f34171927b2d8bc15d96faa66b28bf9a44
tree796a4c0f3d595de4d511e4cfed092412dc9d1422
parent3fea9f4244f825fb531cc7c007afff2b0574df77
drm/i915/display: Split and export main surface calculation from skl_check_main_surface()

The calculation the offsets of the main surface will be needed by PSR2
selective fetch code so here splitting and exporting it.
No functional changes were done here.

v3: Rebased

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-3-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h