]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: bug fix for memory clock request from display
authorKenneth Feng <kenneth.feng@amd.com>
Wed, 16 Oct 2019 08:20:38 +0000 (16:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:24:15 +0000 (16:24 -0400)
commit0ca81b71cf775577b24bddbf8944d7dca594734e
treeda7a988d5e005b7e9f7dbe96cadf65cdcfc5a465
parente9cf94e34ae8d65f45409f50c09bab110c8eeacd
drm/amd/powerplay: bug fix for memory clock request from display

In some cases, display fixes memory clock frequency to a high value
rather than the natural memory clock switching.
When we comes back from s3 resume, the request from display is not reset,
this causes the bug which makes the memory clock goes into a low value.
Then due to the insuffcient memory clock, the screen flicks.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c