drm/i915/display: Add macro for checking 3 DSC engines
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 14 Apr 2025 08:57:01 +0000 (14:27 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 15 Apr 2025 05:44:25 +0000 (11:14 +0530)
commit6998cfce0e1db58c730d08cadc6bfd71e26e2de0
treee5d6da9ee8c6b4c91330b366a8f913e95f3524cc
parent012aa48a587c3b263f62256a68438ec44fb0225d
drm/i915/display: Add macro for checking 3 DSC engines

3 DSC engines per pipe is currently supported only for BMG.
Add a macro to check whether a platform supports 3 DSC engines per pipe.

v2:Fix Typo in macro argument. (Suraj).
Added fixes tag.

Bspec: 50175
Fixes: be7f5fcdf4a0 ("drm/i915/dp: Enable 3 DSC engines for 12 slices")
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: Suraj Kandpal <suraj.kandpal@intel.com>
Cc: <stable@vger.kernel.org> # v6.14+
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://lore.kernel.org/r/20250414085701.2802374-1-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_display_device.h