1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/msm/adreno
Rob Clark 4b18299b33 drm/msm/adreno: Defer enabling runpm until hw_init()
To avoid preventing the display from coming up before the rootfs is
mounted, without resorting to packing fw in the initrd, the GPU has
this limbo state where the device is probed, but we aren't ready to
start sending commands to it.  This is particularly problematic for
a6xx, since the GMU (which requires fw to be loaded) is the one that
is controlling the power/clk/icc votes.

So defer enabling runpm until we are ready to call gpu->hw_init(),
as that is a point where we know we have all the needed fw and are
ready to start sending commands to the coproc's.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/489337/
Link: https://lore.kernel.org/r/20220613182036.2567963-1-robdclark@gmail.com
2022-07-06 18:54:41 -07:00
..
a2xx.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
a2xx_gpu.c drm/msm: Add SET_PARAM ioctl 2022-03-04 11:50:41 -08:00
a2xx_gpu.h drm/msm/adreno: add a2xx 2018-12-11 13:07:06 -05:00
a3xx.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
a3xx_gpu.c drm/msm: Add SET_PARAM ioctl 2022-03-04 11:50:41 -08:00
a3xx_gpu.h drm/msm/gpu: add ocmem init/cleanup functions 2019-10-07 08:17:39 -07:00
a4xx.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
a4xx_gpu.c drm/msm: Add SET_PARAM ioctl 2022-03-04 11:50:41 -08:00
a4xx_gpu.h drm/msm/gpu: add ocmem init/cleanup functions 2019-10-07 08:17:39 -07:00
a5xx.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
a5xx_debugfs.c drm/msm: Remove struct_mutex usage 2021-11-28 09:50:33 -08:00
a5xx_gpu.c drm/msm: Avoid unclocked GMU register access in 6xx gpu_busy 2022-07-06 08:38:06 -07:00
a5xx_gpu.h drm/msm: Allow a5xx to mark the RPTR shadow as privileged 2020-09-15 10:47:44 -07:00
a5xx_power.c drm/msm: drop drm_gem_object_put_locked() 2021-07-27 18:09:18 -07:00
a5xx_preempt.c drm/msm: drop drm_gem_object_put_locked() 2021-07-27 18:09:18 -07:00
a6xx.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
a6xx_gmu.c drm/msm/adreno: Do not propagate void return values 2022-07-06 18:54:41 -07:00
a6xx_gmu.h drm/msm/adreno: Do not propagate void return values 2022-07-06 18:54:41 -07:00
a6xx_gmu.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
a6xx_gpu.c drm/msm/adreno: Do not propagate void return values 2022-07-06 18:54:41 -07:00
a6xx_gpu.h drm/msm: Avoid unclocked GMU register access in 6xx gpu_busy 2022-07-06 08:38:06 -07:00
a6xx_gpu_state.c drm/msm/a6xx: Skip crashdumper state if GPU needs_hw_init 2021-12-13 13:46:18 -08:00
a6xx_gpu_state.h drm/msm/a6xx: fix crashdec section name typo 2020-08-22 10:36:30 -07:00
a6xx_hfi.c drm/msm/adreno: Add A619 support 2022-07-06 08:41:19 -07:00
a6xx_hfi.h drm/msm/gpu: Also snapshot GMU HFI buffer 2021-11-29 16:19:58 -08:00
adreno_common.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
adreno_device.c drm/msm/adreno: Defer enabling runpm until hw_init() 2022-07-06 18:54:41 -07:00
adreno_gpu.c drm/msm/adreno: Defer enabling runpm until hw_init() 2022-07-06 18:54:41 -07:00
adreno_gpu.h drm/msm/adreno: Allow larger address space size 2022-07-06 08:42:57 -07:00
adreno_pm4.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00