[PATCH] drm/i915: Correctly refcount connectors in hw state readou

Daniel Vetter daniel at ffwll.ch
Fri May 6 14:09:42 UTC 2016


On Fri, May 06, 2016 at 03:01:17PM +0100, Chris Wilson wrote:
> On Fri, May 06, 2016 at 03:39:03PM +0200, Daniel Vetter wrote:
> > This was forgotten when adding the the refcounting to
> > drm_connector_state.
> > 
> > v2: Don't forget to unreference existing connectors. This isn't
> > relevant on driver load, but this code also runs on resume, and there
> > we already have an atomic state. Spotted by Chris Wilson.
> > 
> > Cc: Gabriel Feceoru <gabriel.feceoru at intel.com>
> > Cc: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Marius Vlad <marius.c.vlad at intel.com>
> > Cc: Dave Airlie <airlied at redhat.com>
> > Fixes: d2307dea14a4 ("drm/atomic: use connector references (v3)")
> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> 
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Thanks for the review, applied to drm-misc.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list