]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/powerplay: update current profile mode only when it's really applied
authorEvan Quan <evan.quan@amd.com>
Tue, 26 Mar 2019 09:16:36 +0000 (17:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Mar 2019 03:43:11 +0000 (22:43 -0500)
commite815a9e62b3225c1495552c5d80553648f13a5d2
tree19db79231cfc9b66dc9c61be92ceae937aa57b0e
parentc0415c8722a43aa3f97f24ab54334107c34f9290
drm/amd/powerplay: update current profile mode only when it's really applied

No need to update current profile mode if the new profile mode
does not take effect in fact.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c