]> git.karo-electronics.de Git - mv-sheeva.git/commit
drm/radeon/kms: add support for semaphores v3
authorChristian König <deathsimple@vodafone.de>
Thu, 15 Sep 2011 17:02:22 +0000 (19:02 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Dec 2011 19:49:36 +0000 (19:49 +0000)
commit15d3332f31afd571a6d23971dbc8d8db2856e661
tree71610dd9dd6c455fe2f4ec3639691b10388d1dab
parent7465280c076d6440e5908c158c83b542dc063a30
drm/radeon/kms: add support for semaphores v3

They are used to sync between rings, while fences
sync between a ring and the cpu.

v2 Fix radeon_semaphore_driver_fini when no semaphore were
allocated.

v3 Initialize list early on to avoid issue in case or early
error

Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
13 files changed:
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600_cp.c
drivers/gpu/drm/radeon/r600d.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_semaphore.c [new file with mode: 0644]
drivers/gpu/drm/radeon/rv770.c