]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: use shared fences for readable objects
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Wed, 9 Apr 2014 14:19:30 +0000 (16:19 +0200)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 2 Sep 2014 15:28:48 +0000 (17:28 +0200)
commit1d31e5bc64c04746f33ea4d26bbce88b211f42da
tree11d04d4ef34cd681cf63efa11a90992c7865eb27
parent7dae96088706b3de203096681e3d5c45fd1c4fc8
drm/nouveau: use shared fences for readable objects

nouveau keeps track in userspace whether a buffer is being
written to or being read, but it doesn't use that information.

Change this to allow multiple readers on the same bo.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_bo.h
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_fence.c
drivers/gpu/drm/nouveau/nouveau_fence.h
drivers/gpu/drm/nouveau/nouveau_gem.c