diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2023-06-07 15:02:20 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2023-07-17 11:32:21 +0200 |
commit | 448406eaf6c2a1f9941af1027dc610fd7461f0dc (patch) | |
tree | 66edf83fcc5ec4ab2880fcb609986f269cf4d119 /include/rdma/rw.h | |
parent | 7cb544946a138d8a1a5f4981f23895dc98c91c8a (diff) |
drm/etnaviv: avoid runtime PM usage in etnaviv_gpu_bind
Nothing in this callpath actually touches the GPU, so there is no reason
to get it out of suspend state here. Only if runtime PM isn't enabled at
all we must make sure to enable the clocks, so the GPU init routine can
access the GPU later on.
This also removes the need to guard against the state where the driver
isn't fully initialized yet in the runtime PM resume handler.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Diffstat (limited to 'include/rdma/rw.h')
0 files changed, 0 insertions, 0 deletions