OSDN Git Service

drm/amd/display: Fix type of pp_smu_wm_set_range struct
authorEric Yang <Eric.Yang2@amd.com>
Wed, 10 Apr 2019 20:31:08 +0000 (16:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 May 2019 15:39:32 +0000 (10:39 -0500)
commit961ea20155d79794ec581861680c6926be299898
tree061565b6bf33bcbf4e2665f5c9e50cd178e25ba2
parent44ab1aa84ae6fa73b9a05c0c611b0e3d2ba05917
drm/amd/display: Fix type of pp_smu_wm_set_range struct

[why]
Value read from SMU is 16 bits, not 32.

[How]
Fix type, and add wm_type enum in preparation for future interfaces.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dm_pp_smu.h