]> git.baikalelectronics.ru Git - kernel.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)
commitf948a5e8fd77a80dfb301efd2ad7510f3287836b
tree19db79231cfc9b66dc9c61be92ceae937aa57b0e
parentb24af2af9bcd1f162ce102d5be317b81c91d243f
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