diff options
| author | Dhinakaran Pandiyan <[email protected]> | 2018-03-12 20:46:46 -0700 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-03-21 13:23:36 -0700 |
| commit | d544e918ff132488770ab2cb6b03e2af69497d1c (patch) | |
| tree | 58250bdd1e9f1f9fdacd25a963b982ba4696735e /tools/perf/scripts/python/bin | |
| parent | b90eed08d8d0f07f9f08074645d4470e121ff6f5 (diff) | |
drm/i915/psr: Remove open-coded PSR AUX transactions for SKL+
HSW and BDW have SRD_AUX_{CTL, STATUS} registers that the driver needs to
setup for the HW to use whenever exiting PSR. SKL+ hardware use hardcoded
values for the same and do not need any registers to be setup. So, use
drm_dp_dpcd_writeb() for a one-time write during PSR enable and setup the
PSR aux registers on HSW and BDW for later use by HW.
We also end up writing to reserved bits in SRD_AUX_CTL by reusing
intel_dp->get_aux_send_ctl() for HSW and BDW, fix this.
Since the AUX register setup is source side programming, move the call
to enable_source() from enable_sink().
Cc: José Roberto de Souza <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: Dhinakaran Pandiyan <[email protected]>
Reviewed-by: Jose Roberto de Souza <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions