diff options
author | Konrad Dybcio <[email protected]> | 2023-06-16 01:20:49 +0200 |
---|---|---|
committer | Rob Clark <[email protected]> | 2023-06-18 11:34:29 -0700 |
commit | 277b967829aad7b24327f246087805078a62076e (patch) | |
tree | 125b1a5d90fc3f07edd4a78ba34ab2c3d13220af /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 3773a57d9c55d77ad6615f7235b91fcac0e6c65e (diff) |
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 <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/542758/
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions