diff options
author | Bindu Ramamurthy <bindu.r@amd.com> | 2021-03-16 17:08:47 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:44:36 -0400 |
commit | 5af50b0b1c200d31f6798a9ddd18aa706c868306 (patch) | |
tree | 0217c41c0ebed154119473f033e24d46de725754 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 5bf314abfb8a3edf84af9565c12156041395d3a8 (diff) |
drm/amd/display: Allow idle optimization based on vblank.
[Why]
idle optimization was being disabled after commit.
[How]
check vblank count for display off and enable idle optimization based on this count.
Also,check added to ensure vblank count does not decrement, when count reaches 0.
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions