OSDN Git Service

drm/amd/powerplay: implement smu_notify_display_change function for smu11
authorKevin Wang <Kevin1.Wang@amd.com>
Wed, 26 Dec 2018 08:14:55 +0000 (16:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:57 +0000 (15:03 -0500)
commite1c6f86a915f7c3f6bba7a72713f9e61221dafe4
tree0a61d16a8a3246bbae4ba437453b47592c068b2c
parent2f25158d7db8a435a65f22ca194fc461cb26db82
drm/amd/powerplay: implement smu_notify_display_change function for smu11

add smu_notify_display_change function to send msg to smc to notify
display is changed.

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c