tmp_suning_uos_patched/drivers/gpu/drm/via
Daniel Vetter 763240deb4 drm/sman: rip out owner tracking
In contrast to kms drivers, sis/via _always_ associated a buffer with
a drm fd. So by the time we reach lastclose, all open drm fds are gone
and with them their associated objects.

So when sis/via call drm_sman_cleanup in their lastclose funcs, that
will free 0 objects.

The owner tracking now serves no purpose at all, hence rip it ou. We
can't kill the corresponding fields in struct drm_memblock_item yet
because we hijack these in the new driver private owner tracking. But
now that drm_sman.c doesn't touch ->owner_list anymore, we need to
kill the list_move hack and properly add the item to the file_priv
list.

Also leave the list_del(&obj->owner_list) in drm_sman_free for the
moment, it will move to the drivers when sman disappears completely.

v2: Remove the redundant INIT_LIST_HEAD as noted by Chris Wilson

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-12-22 00:33:20 +01:00
..
Makefile
via_3d_reg.h
via_dma.c drm: block userspace under allocating buffer and having drivers overwrite it (v2) 2010-08-17 14:52:25 +10:00
via_dmablit.c drivers/gpu: Use vzalloc 2010-11-09 13:41:35 +10:00
via_dmablit.h drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_drv.c drm/via: track obj->drm_fd relations in the driver 2011-12-22 00:33:19 +01:00
via_drv.h drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_irq.c drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_map.c drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_mm.c drm/sman: rip out owner tracking 2011-12-22 00:33:20 +01:00
via_verifier.c drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_verifier.h drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_video.c drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00