[PATCH 2/2] drm/atomic: clear new_state pointers at hw_done

Rob Clark robdclark at chromium.org
Fri Nov 1 19:44:04 UTC 2019


On Fri, Nov 1, 2019 at 11:33 AM Maarten Lankhorst
<maarten.lankhorst at linux.intel.com> wrote:
>
> Op 01-11-2019 om 19:07 schreef Rob Clark:
> > From: Rob Clark <robdclark at chromium.org>
> >
> > The new state should not be accessed after this point.  Clear the
> > pointers to make that explicit.
> >
> > This makes the error corrected in the previous patch more obvious.
> >
> > Signed-off-by: Rob Clark <robdclark at chromium.org>
>
> Would be nice if you could cc intel-gfx at lists.freedesktop.org next time, so I know our CI infrastructure is happy;
>
> It wouldn't surprise me if it catches 1 or 2 abuses in i915.
>
> Otherwise Reviewed-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
>
> Perhaps you could mail this to version to intel-gfx-trybot at lists.freedesktop.org using git-send-email so we at least get i915 results?

ok, I sent both patches to trybot, hopefully it tries them together,
as this patch without the self-refresh fix will definitely fall over

BR,
-R


More information about the dri-devel mailing list