drm/i915/xe2lpd: Treat cursor plane as regular plane for DDB allocation
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Tue, 19 Sep 2023 19:21:13 +0000 (12:21 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 21 Sep 2023 14:39:50 +0000 (07:39 -0700)
commitcfeff354f70bb1d0deb0279506e3f7989bc16e28
treeb07a36e1380d4ecb0d37f71a3e5a8c7167ead347
parent65578d0d10d841ef96c83ea21a8ada2c8694a1c9
drm/i915/xe2lpd: Treat cursor plane as regular plane for DDB allocation

We now start calculating relative plane data rate for cursor plane as
well, as instructed by BSpec and also treat cursor plane same way as
other planes, when doing allocation, i.e not using fixed allocation for
cursor anymore.

Bspec: 68907
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230919192128.2045154-7-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_atomic_plane.c
drivers/gpu/drm/i915/display/skl_watermark.c