]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/fbc: disable FBC if PSR2 selective fetch is enabled
authorVinod Govindapillai <vinod.govindapillai@intel.com>
Fri, 28 Feb 2025 09:38:01 +0000 (11:38 +0200)
committerMika Kahola <mika.kahola@intel.com>
Mon, 3 Mar 2025 12:45:45 +0000 (14:45 +0200)
commite2364a56ad47d3299b1bf2fdb854359d4a770230
tree696d004f1cdca46e022dcbda07eba704e23a5d19
parent194ecad0b5fcd6f1a325e31ade9c19490260b40f
drm/i915/fbc: disable FBC if PSR2 selective fetch is enabled

It is not recommended to have both FBC dirty rect and PSR2
selective fetch be enabled at the same time. Mark FBC as not
possible, if PSR2 selective fetch is enabled.

v2: fix the condition to disable FBC if PSR2 enabled (Jani)

v3: use HAS_FBC_DIRTY_RECT()

v4: Update to patch description

Bspec: 68881
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250228093802.27091-9-vinod.govindapillai@intel.com
drivers/gpu/drm/i915/display/intel_fbc.c