Skip to content

Commit ec0c7af

Browse files
aknautiyaljnikula
authored andcommitted
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: be7f5fc ("drm/i915/dp: Enable 3 DSC engines for 12 slices") Cc: Ankit Nautiyal <[email protected]> Cc: Suraj Kandpal <[email protected]> Cc: <[email protected]> # v6.14+ Signed-off-by: Ankit Nautiyal <[email protected]> Reviewed-by: Suraj Kandpal <[email protected]> Link: https://lore.kernel.org/r/[email protected] (cherry picked from commit 6998cfc) Signed-off-by: Jani Nikula <[email protected]>
1 parent 8ffd015 commit ec0c7af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/i915/display/intel_display_device.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ struct intel_display_platforms {
161161
#define HAS_DPT(__display) (DISPLAY_VER(__display) >= 13)
162162
#define HAS_DSB(__display) (DISPLAY_INFO(__display)->has_dsb)
163163
#define HAS_DSC(__display) (DISPLAY_RUNTIME_INFO(__display)->has_dsc)
164+
#define HAS_DSC_3ENGINES(__display) (DISPLAY_VERx100(__display) == 1401 && HAS_DSC(__display))
164165
#define HAS_DSC_MST(__display) (DISPLAY_VER(__display) >= 12 && HAS_DSC(__display))
165166
#define HAS_FBC(__display) (DISPLAY_RUNTIME_INFO(__display)->fbc_mask != 0)
166167
#define HAS_FBC_DIRTY_RECT(__display) (DISPLAY_VER(__display) >= 30)

0 commit comments

Comments
 (0)