Re: [PATCH 2/2] drm/i915: Only check pipe state for fast modeset when it's possible.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/14/2015 02:30 AM, Maarten Lankhorst wrote:
> +		if (!crtc_state->connectors_changed &&
> +		    !crtc_state->active_changed &&
> +		    crtc_state->active &&
> +		    intel_pipe_config_compare(state->dev,
> +					      to_intel_crtc_state(crtc->state),
> +					      pipe_config, true)) {
>  			crtc_state->mode_changed = false;
> -			to_intel_crtc_state(crtc_state)->update_pipe = true;
> -		}

Doesn't needs_modeset() cover the connectors and active changed cases?  Could we just hoist that up earlier in this function instead?

Jesse
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux