mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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 <sui.jingfeng@linux.dev> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
This commit is contained in:
committed by
Lucas Stach
parent
40384c840e
commit
c5d46bd97a
@@ -44,9 +44,7 @@ struct etnaviv_gem_object {
|
||||
u32 flags;
|
||||
|
||||
struct list_head gem_node;
|
||||
struct etnaviv_gpu *gpu; /* non-null if active */
|
||||
atomic_t gpu_active;
|
||||
u32 access;
|
||||
|
||||
struct page **pages;
|
||||
struct sg_table *sgt;
|
||||
|
||||
Reference in New Issue
Block a user