forked from Minki/linux
0853695c3b
drm_atomic_state has a complicated single owner model that tracks the single reference from allocation through to destruction on another thread - or perhaps on a local error path. We can simplify this tracking by using reference counting (at a cost of a few more atomics). This is even more beneficial when the lifetime of the state becomes more convoluted than being passed to a single worker thread for the commit. v2: Double check !intel atomic_commit functions for missing gets v3: Update kerneldocs Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20161014121833.439-27-chris@chris-wilson.co.uk |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rcar_du_crtc.c | ||
rcar_du_crtc.h | ||
rcar_du_drv.c | ||
rcar_du_drv.h | ||
rcar_du_encoder.c | ||
rcar_du_encoder.h | ||
rcar_du_group.c | ||
rcar_du_group.h | ||
rcar_du_hdmienc.c | ||
rcar_du_hdmienc.h | ||
rcar_du_kms.c | ||
rcar_du_kms.h | ||
rcar_du_lvdscon.c | ||
rcar_du_lvdscon.h | ||
rcar_du_lvdsenc.c | ||
rcar_du_lvdsenc.h | ||
rcar_du_plane.c | ||
rcar_du_plane.h | ||
rcar_du_regs.h | ||
rcar_du_vgacon.c | ||
rcar_du_vgacon.h | ||
rcar_du_vsp.c | ||
rcar_du_vsp.h | ||
rcar_lvds_regs.h |