diff options
author | Anthony Koo | 2018-03-15 18:34:16 +0100 |
---|---|---|
committer | Alex Deucher | 2018-04-11 20:08:05 +0200 |
commit | 01fe3e4876d3799b37e6c712dcfed7cc2cafa3f0 (patch) | |
tree | 1229bc3f7fb082d939e6e970bfed0936b61be660 /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | |
parent | drm/amd/display: Add Dynamic debug prints (diff) | |
download | kernel-qcow2-linux-01fe3e4876d3799b37e6c712dcfed7cc2cafa3f0.tar.gz kernel-qcow2-linux-01fe3e4876d3799b37e6c712dcfed7cc2cafa3f0.tar.xz kernel-qcow2-linux-01fe3e4876d3799b37e6c712dcfed7cc2cafa3f0.zip |
drm/amd/display: Add vmax/min_sel prints to dcn10_log_hw_state
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c index dc921307874a..2c5dbece928e 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c @@ -1229,6 +1229,12 @@ void optc1_read_otg_state(struct optc *optc1, REG_GET(OTG_V_TOTAL_MIN, OTG_V_TOTAL_MIN, &s->v_total_min); + REG_GET(OTG_V_TOTAL_CONTROL, + OTG_V_TOTAL_MAX_SEL, &s->v_total_max_sel); + + REG_GET(OTG_V_TOTAL_CONTROL, + OTG_V_TOTAL_MIN_SEL, &s->v_total_min_sel); + REG_GET_2(OTG_V_SYNC_A, OTG_V_SYNC_A_START, &s->v_sync_a_start, OTG_V_SYNC_A_END, &s->v_sync_a_end); |