[PATCH 2/4] drm/msm/a5xx: properly clear preemption records on resume

Konrad Dybcio konrad.dybcio at linaro.org
Thu Jul 11 10:42:10 UTC 2024


On 11.07.2024 12:00 PM, Vladimir Lypak wrote:
> 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 at gmail.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio at linaro.org>

Konrad


More information about the dri-devel mailing list