mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
drm/i915: Drop usless master_transcoder assignments
The entire crtc state has been reset before readout so master_transcoder is already set to INVALID. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200313164831.5980-4-ville.syrjala@linux.intel.com Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
This commit is contained in:
parent
589a4cd6cc
commit
f73adacadf
|
|
@ -9364,7 +9364,6 @@ static bool i9xx_get_pipe_config(struct intel_crtc *crtc,
|
|||
pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB;
|
||||
pipe_config->cpu_transcoder = (enum transcoder) crtc->pipe;
|
||||
pipe_config->shared_dpll = NULL;
|
||||
pipe_config->master_transcoder = INVALID_TRANSCODER;
|
||||
|
||||
ret = false;
|
||||
|
||||
|
|
@ -10588,7 +10587,6 @@ static bool ilk_get_pipe_config(struct intel_crtc *crtc,
|
|||
|
||||
pipe_config->cpu_transcoder = (enum transcoder) crtc->pipe;
|
||||
pipe_config->shared_dpll = NULL;
|
||||
pipe_config->master_transcoder = INVALID_TRANSCODER;
|
||||
|
||||
ret = false;
|
||||
tmp = intel_de_read(dev_priv, PIPECONF(crtc->pipe));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user