[Intel-gfx] [PATCH 19/20] drm/i915/fbc: No FBC+double wide pipe
Kahola, Mika
mika.kahola at intel.com
Wed Dec 1 11:32:14 UTC 2021
> -----Original Message-----
> From: Intel-gfx <intel-gfx-bounces at lists.freedesktop.org> On Behalf Of Ville
> Syrjala
> Sent: Wednesday, November 24, 2021 1:37 PM
> To: intel-gfx at lists.freedesktop.org
> Subject: [Intel-gfx] [PATCH 19/20] drm/i915/fbc: No FBC+double wide pipe
>
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> FBC and double wide pipe are mutually exclusive. Disable FBC when we have to
> resort to double wide.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola at intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_fbc.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c
> b/drivers/gpu/drm/i915/display/intel_fbc.c
> index 4d2c54acdc89..072509b04de5 100644
> --- a/drivers/gpu/drm/i915/display/intel_fbc.c
> +++ b/drivers/gpu/drm/i915/display/intel_fbc.c
> @@ -1056,6 +1056,11 @@ static int intel_fbc_check_plane(struct
> intel_atomic_state *state,
> return 0;
> }
>
> + if (crtc_state->double_wide) {
> + plane_state->no_fbc_reason = "double wide pipe not
> supported";
> + return 0;
> + }
> +
> /*
> * Display 12+ is not supporting FBC with PSR2.
> * Recommendation is to keep this combination disabled
> --
> 2.32.0
More information about the Intel-gfx
mailing list