diff options
author | Roman Li <Roman.Li@amd.com> | 2024-01-22 17:45:41 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-25 14:58:03 -0500 |
commit | 67bbf55bd3c7816f2e65ae0c6c83d095b5d5446e (patch) | |
tree | 9f7c846631c551e5ee21dc24c7b084e02b59b03c /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | c0c48f0d61ff94864947aa12074f4614b7e989e5 (diff) |
drm/amd/display: Disable ips before dc interrupt setting
[Why]
While in IPS2 an access to dcn registers is not allowed.
If interrupt results in dc call, we should disable IPS.
[How]
Safeguard register access in IPS2 by disabling idle optimization
before calling dc interrupt setting api.
Signed-off-by: Roman Li <Roman.Li@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
0 files changed, 0 insertions, 0 deletions