mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/i915: put the right cpu_transcoder into pipe_config for hw state readout
This hack is getting a bit messy, but this plugs the leak for now until we have the cpu_transcoder properly pipe_config'ed. Cc: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
d8241785c2
commit
60c4ae101f
1 changed files with 1 additions and 0 deletions
|
@ -7981,6 +7981,7 @@ intel_modeset_check_state(struct drm_device *dev)
|
|||
"(expected %i, found %i)\n", enabled, crtc->base.enabled);
|
||||
|
||||
memset(&pipe_config, 0, sizeof(pipe_config));
|
||||
pipe_config.cpu_transcoder = crtc->config.cpu_transcoder;
|
||||
active = dev_priv->display.get_pipe_config(crtc,
|
||||
&pipe_config);
|
||||
WARN(crtc->active != active,
|
||||
|
|
Loading…
Add table
Reference in a new issue