summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>2017-04-03 13:35:22 +1000
committerAlex Deucher <alexander.deucher@amd.com>2017-04-07 12:20:40 -0400
commit0d16d299400471735e77d7a8c4107e71b523446d (patch)
tree4fa260d32a95dc670edba893b5eb3e74a376a6ff /drivers/gpu/drm/radeon/radeon.h
parent803d89ade4ede131405c57ec1a1db32673995b2e (diff)
downloadlinux-0-day-0d16d299400471735e77d7a8c4107e71b523446d.tar.gz
linux-0-day-0d16d299400471735e77d7a8c4107e71b523446d.tar.xz
drm/radeon: Maintain prime import/export refcount for BOs
Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 2e400dc414e37..c1c8e2208a21b 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -499,6 +499,7 @@ struct radeon_bo {
u32 tiling_flags;
u32 pitch;
int surface_reg;
+ unsigned prime_shared_count;
/* list of all virtual address to which this bo
* is associated to
*/