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: Add double_wide readout and checking
Read the double wide pipe information from hardware in i9xx_get_pipe_config(), and check it in intel_pipe_config_compare() For gen4+ double_wide is always false so the comparison can be done on all platforms. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
cf532bb255
commit
282740f73a
1 changed files with 5 additions and 0 deletions
|
@ -5042,6 +5042,9 @@ static bool i9xx_get_pipe_config(struct intel_crtc *crtc,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (INTEL_INFO(dev)->gen < 4)
|
||||||
|
pipe_config->double_wide = tmp & PIPECONF_DOUBLE_WIDE;
|
||||||
|
|
||||||
intel_get_pipe_timings(crtc, pipe_config);
|
intel_get_pipe_timings(crtc, pipe_config);
|
||||||
|
|
||||||
i9xx_get_pfit_config(crtc, pipe_config);
|
i9xx_get_pfit_config(crtc, pipe_config);
|
||||||
|
@ -8761,6 +8764,8 @@ intel_pipe_config_compare(struct drm_device *dev,
|
||||||
|
|
||||||
PIPE_CONF_CHECK_I(ips_enabled);
|
PIPE_CONF_CHECK_I(ips_enabled);
|
||||||
|
|
||||||
|
PIPE_CONF_CHECK_I(double_wide);
|
||||||
|
|
||||||
PIPE_CONF_CHECK_I(shared_dpll);
|
PIPE_CONF_CHECK_I(shared_dpll);
|
||||||
PIPE_CONF_CHECK_X(dpll_hw_state.dpll);
|
PIPE_CONF_CHECK_X(dpll_hw_state.dpll);
|
||||||
PIPE_CONF_CHECK_X(dpll_hw_state.dpll_md);
|
PIPE_CONF_CHECK_X(dpll_hw_state.dpll_md);
|
||||||
|
|
Loading…
Add table
Reference in a new issue