diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2023-06-07 16:02:22 +0300 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2023-07-17 12:32:31 +0300 |
commit | e116be254aaa257d6bec534a39b26513c1798074 (patch) | |
tree | 037ae0115a2ebb2b813be81fcd227b99dca7e05f /drivers/gpu/drm/etnaviv/etnaviv_gpu.h | |
parent | 647d817d807127cfff6dacc85992e52ab7779e94 (diff) | |
download | linux-e116be254aaa257d6bec534a39b26513c1798074.tar.xz |
drm/etnaviv: drop GPU initialized property
Now that it is only used to track the driver internal state of
the MMU global and cmdbuf objects, we can get rid of this property
by making the free/finit functions of those objects safe to call
on an uninitialized object.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gpu.h')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.h b/drivers/gpu/drm/etnaviv/etnaviv_gpu.h index b4e545dce947..85c669dba88e 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.h +++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.h @@ -114,7 +114,6 @@ struct etnaviv_gpu { struct mutex sched_lock; struct drm_gpu_scheduler sched; enum etnaviv_gpu_state state; - bool initialized; /* 'ring'-buffer: */ struct etnaviv_cmdbuf buffer; |