diff options
| author | Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> | 2018-01-03 13:38:24 -0800 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-01-12 15:34:14 -0800 |
| commit | c9ef291a7e79ebc9fb1723090c12fae626e74c46 (patch) | |
| tree | 5196ad5ca38f2bdc5f31a4bedb049786631b1e3a /tools/perf/scripts/python | |
| parent | drm/i915/psr: CAN_PSR() macro to check for PSR source and sink support. (diff) | |
| download | linux-c9ef291a7e79ebc9fb1723090c12fae626e74c46.tar.gz linux-c9ef291a7e79ebc9fb1723090c12fae626e74c46.zip | |
drm/i915/psr: Avoid initializing PSR if there is no sink support.
DPCD read for the eDP is complete by the time intel_psr_init() is
called, which means we can avoid initializing PSR structures and state
if there is no sink support.
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180103213824.1405-3-dhinakaran.pandiyan@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
