diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-06-16 02:20:49 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2023-06-18 21:34:29 +0300 |
commit | 277b967829aad7b24327f246087805078a62076e (patch) | |
tree | 125b1a5d90fc3f07edd4a78ba34ab2c3d13220af /scripts/gdb/linux/utils.py | |
parent | 3773a57d9c55d77ad6615f7235b91fcac0e6c65e (diff) | |
download | linux-277b967829aad7b24327f246087805078a62076e.tar.xz |
drm/msm/a6xx: Add a helper for software-resetting the GPU
Introduce a6xx_gpu_sw_reset() in preparation for adding GMU wrapper
GPUs and reuse it in a6xx_gmu_force_off().
This helper, contrary to the original usage in GMU code paths, adds
a readback+delay sequence to ensure that the reset is never deasserted
too quickly due to e.g. OoO execution going crazy.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/542758/
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions