Skip to content

Commit c5d46bd

Browse files
suijingfenglynxeye-dev
authored andcommitted
drm/etnaviv: Drop unused data member from the etnaviv_gem_object structure
Referencing the 'struct etnaviv_gpu *' by every etnaviv GEM BO is weird. Drop it and drop yet another unused data field, namely 'access'. Memory footprint of etnaviv GEM BOs reduced. Signed-off-by: Sui Jingfeng <[email protected]> Signed-off-by: Lucas Stach <[email protected]>
1 parent 40384c8 commit c5d46bd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/etnaviv/etnaviv_gem.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ struct etnaviv_gem_object {
4444
u32 flags;
4545

4646
struct list_head gem_node;
47-
struct etnaviv_gpu *gpu; /* non-null if active */
4847
atomic_t gpu_active;
49-
u32 access;
5048

5149
struct page **pages;
5250
struct sg_table *sgt;

0 commit comments

Comments
 (0)