diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-03-21 10:38:49 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-27 19:16:36 -0400 |
commit | 7178d2a6420eef845de3e5e30178146e6bd21e44 (patch) | |
tree | d3121de5d38e7149a244fc9a64bd411e4ace7929 /drivers/gpu/drm/radeon/evergreen.c | |
parent | a5cb318e3f89ec6e28e47addfa6c1647b74f9824 (diff) | |
download | lwn-7178d2a6420eef845de3e5e30178146e6bd21e44.tar.gz lwn-7178d2a6420eef845de3e5e30178146e6bd21e44.zip |
drm/radeon/dpm: save some display parameters for DPM
Required for SI.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 10ccd879df06..0de5b74f0287 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -2267,6 +2267,10 @@ static void evergreen_program_watermarks(struct radeon_device *rdev, WREG32(PRIORITY_A_CNT + radeon_crtc->crtc_offset, priority_a_cnt); WREG32(PRIORITY_B_CNT + radeon_crtc->crtc_offset, priority_b_cnt); + /* save values for DPM */ + radeon_crtc->line_time = line_time; + radeon_crtc->wm_high = latency_watermark_a; + radeon_crtc->wm_low = latency_watermark_b; } /** |