[Intel-gfx] [PATCH] HAX: WARN_ON(crtc->crc.opened during disable)

Jani Nikula jani.nikula at linux.intel.com
Wed Nov 8 13:06:39 UTC 2017


Please use trybot (i.e. send patches to
intel-gfx-trybot at lists.freedesktop.org) for hacks that aren't intended
for upstream. Then they can be prioritized appropriately.

BR,
Jani.


On Wed, 08 Nov 2017, Maarten Lankhorst <maarten.lankhorst at linux.intel.com> wrote:
> ---
>  drivers/gpu/drm/i915/intel_display.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 39d1f30cd0c4..436374b08b69 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -12176,6 +12176,7 @@ static void intel_atomic_commit_tail(struct drm_atomic_state *state)
>  
>  		if (old_crtc_state->active) {
>  			intel_crtc_disable_planes(crtc, old_crtc_state->plane_mask);
> +			WARN_ON(crtc->crc.opened);
>  			dev_priv->display.crtc_disable(to_intel_crtc_state(old_crtc_state), state);
>  			intel_crtc->active = false;
>  			intel_fbc_disable(intel_crtc);

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list