[PATCH] drm/amd/display: Enable dpia support for dcn314
Limonciello, Mario
mario.limonciello at amd.com
Mon Oct 3 18:03:47 UTC 2022
On 10/3/2022 13:00, Roman.Li at amd.com wrote:
> From: Roman Li <roman.li at amd.com>
>
> [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 <roman.li at amd.com>
> Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas at amd.com>
FYI As this is just adding the ID, I think this is a good stable candidate.
Cc: stable at vger.kernel.org # 6.0
Reviewed-by: Mario Limonciello <mario.limonciello at amd.com>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index ece2003a74cc..8471c21496c9 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -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;
More information about the amd-gfx
mailing list