diff options
| author | Matthew Stewart <matthew.stewart2@amd.com> | 2026-05-18 15:00:50 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-06-03 13:44:02 -0400 |
| commit | 0a5e0416e191571de9362b769feb31b3e87a705e (patch) | |
| tree | c79f81d7988a73ce1dc04eeec79f15a3dc2223e7 /drivers/gpu/drm/amd/display/include | |
| parent | eb778d928b7b619b7076ef73dcb06947c202947a (diff) | |
| download | lwn-0a5e0416e191571de9362b769feb31b3e87a705e.tar.gz lwn-0a5e0416e191571de9362b769feb31b3e87a705e.zip | |
drm/amd/display: Add DCN42B code to DC
[Why & How]
Add DCN42B code to DC
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Matthew Stewart <Matthew.Stewart2@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include')
| -rw-r--r-- | drivers/gpu/drm/amd/display/include/dal_asic_id.h | 3 | ||||
| -rw-r--r-- | drivers/gpu/drm/amd/display/include/dal_types.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/dal_asic_id.h b/drivers/gpu/drm/amd/display/include/dal_asic_id.h index 92510af1bd65..7d8944d27d92 100644 --- a/drivers/gpu/drm/amd/display/include/dal_asic_id.h +++ b/drivers/gpu/drm/amd/display/include/dal_asic_id.h @@ -279,6 +279,9 @@ enum { #define ASICREV_IS_DCN4(eChipRev) (eChipRev >= GC_12_0_1_A0 && eChipRev < GC_12_0_0_A0) #define ASICREV_IS_DCN401(eChipRev) (eChipRev >= GC_12_0_0_A0 && eChipRev < GC_12_UNKNOWN) +#define DCN4A_SOC_VAR_B_A0 0xD0 +#define ASICREV_IS_DCN4A_SOC_VAR_B(eChipRev) ((eChipRev >= DCN4A_SOC_VAR_B_A0) && (eChipRev < 0xE0)) + /* * ASIC chip ID */ diff --git a/drivers/gpu/drm/amd/display/include/dal_types.h b/drivers/gpu/drm/amd/display/include/dal_types.h index d30eb24cf11e..f77fc367eab1 100644 --- a/drivers/gpu/drm/amd/display/include/dal_types.h +++ b/drivers/gpu/drm/amd/display/include/dal_types.h @@ -66,6 +66,7 @@ enum dce_version { DCN_VERSION_3_6, DCN_VERSION_4_01, DCN_VERSION_4_2, + DCN_VERSION_4_2B, DCN_VERSION_MAX }; |
