summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorHersen Wu <hersenxs.wu@amd.com>2020-02-13 10:50:13 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-03-05 09:42:08 -0500
commit09ed6ba43e659474878b22d40b141a01d09ec857 (patch)
tree0100bc4350d10acfbe260cab062dcde01038a123 /mm
parentab65a371dd5f5cba6bd9a58a1a6d4115a71cc5c9 (diff)
downloadlinux-09ed6ba43e659474878b22d40b141a01d09ec857.tar.bz2
drm/amdgpu/display: navi1x copy dcn watermark clock settings to smu resume from s3 (v2)
This interface is for dGPU Navi1x. Linux dc-pplib interface depends on window driver dc implementation. For Navi1x, clock settings of dcn watermarks are fixed. the settings should be passed to smu during boot up and resume from s3. boot up: dc calculate dcn watermark clock settings within dc_create, dcn20_resource_construct, then call pplib functions below to pass the settings to smu: smu_set_watermarks_for_clock_ranges smu_set_watermarks_table navi10_set_watermarks_table smu_write_watermarks_table For Renoir, clock settings of dcn watermark are also fixed values. dc has implemented different flow for window driver: dc_hardware_init / dc_set_power_state dcn10_init_hw notify_wm_ranges set_wm_ranges For Linux smu_set_watermarks_for_clock_ranges renoir_set_watermarks_table smu_write_watermarks_table dc_hardware_init -> amdgpu_dm_init dc_set_power_state --> dm_resume therefore, linux dc-pplib interface of navi10/12/14 is different from that of Renoir. v2: add missing unlock in error case Signed-off-by: Hersen Wu <hersenxs.wu@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions