drm/amd/display: Enable dpia support for dcn314
Subsystems (3)
PATCH 1/1 drm/amd/display: Enable dpia support for dcn314
From: Roman Li <[email protected]>
[Why]
DCN 3.1.4 supports DPIA.
[How]
- Set dpia_supported flag for dcn314 in dmub_hw_init()
- Remove comment that becomes irrelevant after this change.
Signed-off-by Roman Li <[email protected]>
Reviewed-by Nicholas Kazlauskas <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -1
@@ -1105,7 +1105,8 @@ static int dm_dmub_hw_init(struct amdgpu_device *adev) hw_params.fb[i] = &fb_info->fb[i];switch (adev->ip_versions[DCE_HWIP ][0 ]) { -case IP_VERSION (3 ,1 ,3 ):/* Only for this asic hw internal rev B0 */ +case IP_VERSION (3 ,1 ,3 ): +case IP_VERSION (3 ,1 ,4 ): hw_params.dpia_supported = true; hw_params.disable_dpia = adev->dm.dc->debug.dpia_debug.bits.disable_dpia;break ;
Signature · 1 line
2.17.1
Quoted 11 lines · On 10/3/2022 13:00, [email protected] wrote:
From: Roman Li <[email protected]>
[Why]
DCN 3.1.4 supports DPIA.[How]
- Setdpia_supportedflag for dcn314 indmub_hw_init()
- Remove comment that becomes irrelevant after this change.Signed-off-by Roman Li <[email protected]>Reviewed-by Nicholas Kazlauskas <[email protected]>
FYI As this is just adding the ID, I think this is a good stable candidate.
Cc [email protected] # 6.0
Reviewed-by Mario Limonciello <[email protected]>
Quoted 18 lines
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2
-1@@ -1105,7 +1105,8 @@ static int dm_dmub_hw_init(struct amdgpu_device *adev) hw_params.fb[i] = &fb_info->fb[i];switch (adev->ip_versions[DCE_HWIP ][0 ]) { -case IP_VERSION (3 ,1 ,3 ):/* Only for this asic hw internal rev B0 */ +case IP_VERSION (3 ,1 ,3 ): +case IP_VERSION (3 ,1 ,4 ): hw_params.dpia_supported = true; hw_params.disable_dpia = adev->dm.dc->debug.dpia_debug.bits.disable_dpia;break ;