diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-11-12 18:38:12 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-11 17:24:06 +0200 |
commit | b104e8b200974f9d1a431d1ce15f0e6d547dc859 (patch) | |
tree | 40b55b3734a0adb605377793e0fb9cc81e536a09 /drivers/counter | |
parent | a722146b5f52f514aabf0d04c3dbdd39850d0a8c (diff) |
drm/i915: Pass cpu transcoder to assert_pipe()
In order to eliminate intel_pipe_to_cpu_transcoder() (and its
crtc->config usage) let's pass the cpu transcoder to
assert_pipe() so we don't have to do the pipe->cpu transcoder
lookup on HSW+.
On VLV/CHV this can get called during eDP init, which
happens before crtc->config->cpu_transcoder is even
populated. So currently we're always reading PIPECONF(A)
there even if we're trying to check the state of some
other pipe.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191112163812.22075-4-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'drivers/counter')
0 files changed, 0 insertions, 0 deletions