diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2020-10-30 09:29:07 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-10 14:26:10 -0500 |
commit | 4b0b1d05265b044472a23b76d5fda8d7fb218144 (patch) | |
tree | 4daeb9c893028eb5590445f22acf0b4bfc00fb63 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
parent | b5fce050f041618cc6f9185d90c84f5d9599ce45 (diff) |
drm/amd/display: check actual clock value.
[Why]
Actual dpp/disp clock PMFW set are always equal or more than requested.
Need to cache the actual clock for debugging purpose.
[How]
Add actuall dpp/disp clk in clock manager and save it when set clocks.
Add an ASSERT in case of actual clock less than requested.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions