diff options
author | Vladimir Lypak <vladimir.lypak@gmail.com> | 2024-09-01 13:54:01 +0000 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2024-09-01 08:17:53 -0700 |
commit | 64fd6d01a52904bdbda0ce810a45a428c995a4ca (patch) | |
tree | 898e41158014a4cedaed786d8e3e84c74e1a51ba /rust/helpers/build_bug.c | |
parent | db9dec2db76146d65e1cfbb6afb2e2bd5dab67f8 (diff) |
drm/msm/a5xx: properly clear preemption records on resume
Two fields of preempt_record which are used by CP aren't reset on
resume: "data" and "info". This is the reason behind faults which happen
when we try to switch to the ring that was active last before suspend.
In addition those faults can't be recovered from because we use suspend
and resume to do so (keeping values of those fields again).
Fixes: b1fc2839d2f9 ("drm/msm: Implement preemption for A5XX targets")
Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/612043/
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions