summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorhersen wu <hersenxs.wu@amd.com>2019-06-26 19:06:07 +0200
committerAlex Deucher <alexander.deucher@amd.com>2019-07-18 21:12:08 +0200
commit41a5a2a8531f95d18bb4efddea581ccb469e8ee5 (patch)
treeef09199ae11386e89ab48057d6ce7fc4fa221cdc /drivers/hv
parentdrm/amdgpu/pm: remove check for pp funcs in freq sysfs handlers (diff)
downloadlinux-41a5a2a8531f95d18bb4efddea581ccb469e8ee5.tar.xz
linux-41a5a2a8531f95d18bb4efddea581ccb469e8ee5.zip
drm/amd/display: init res_pool dccg_ref, dchub_ref with xtalin_freq
[WHY] dc sw clock implementation of navi10 and raven are not exact the same. dcccg, dchub reference clock initialization is done after dc calls vbios dispcontroller_init table. for raven family, before dispcontroller_init is called by dc, the ref clk values are referred by sw clock implementation and program asic register using wrong values. this causes dchub pstate error. This need provide valid ref clk values. for navi10, since dispcontroller_init is not called, dchubbub_global_timer_enable = 0, hubbub2_get_dchub_ref_freq will hit aeert. this need remove hubbub2_get_dchub_ref_freq from this location and move to dcn20_init_hw. [HOW] for all asic, initialize dccg, dchub ref clk with data from vbios firmware table by default. for raven asic family, use these data from vbios, for asic which support sw dccg component, like navi10, read ref clk by sw dccg functions and update the ref clk. Signed-off-by: hersen wu <hersenxs.wu@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions