Re: [Freedreno] drm/msm/gpu: Cancel idle/boost work on suspend

2022-02-17 Thread Anders Roxell
17.335137] Workqueue: pm pm_runtime_work [ 17.341979] pstate: 6005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 17.345896] pc : hrtimer_active+0x14/0x80 [ 17.352652] lr : hrtimer_cancel+0x28/0x70 Reported-by: Linux Kernel Functional Testing Reported-by: Anders Roxell kernel crash lo

[Freedreno] [PATCH 2/3] drm: msm: a5xx: Mark expected switch fall-through

2019-07-26 Thread Anders Roxell
->lastctx == ctx) ^ ../drivers/gpu/drm/msm/adreno/a5xx_gpu.c:152:3: note: here case MSM_SUBMIT_CMD_BUF: ^~~~ Rework so that the compiler doesn't warn about fall-through. Fixes: d93512ef0f0e ("Makefile: Globally enable fall-through warning") Signed-off-by: Anders Roxell

[Freedreno] [PATCH 1/3] drm: msm: a6xx: Mark expected switch fall-through

2019-07-26 Thread Anders Roxell
->lastctx == ctx) ^ ../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:118:3: note: here case MSM_SUBMIT_CMD_BUF: ^~~~ Rework so that the compiler doesn't warn about fall-through. Fixes: d93512ef0f0e ("Makefile: Globally enable fall-through warning") Signed-off-by: Anders Roxell

[Freedreno] [PATCH 3/3] drm: msm: a3xx: Mark expected switch fall-through

2019-07-26 Thread Anders Roxell
(priv->lastctx == ctx) ^ ../drivers/gpu/drm/msm/adreno/adreno_gpu.c:431:3: note: here case MSM_SUBMIT_CMD_BUF: ^~~~ Rework so that the compiler doesn't warn about fall-through. Fixes: d93512ef0f0e ("Makefile: Globally enable fall-through warning") Signed-off

[Freedreno] [PATCH] drm/msm: avoid unused function warning

2019-01-10 Thread Anders Roxell
From: Arnd Bergmann drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:368:13: error: 'dpu_plane_danger_signal_ctrl' defined but not used [-Werror=unused-function] Fixes: 7b2e7adea732 ("drm/msm/dpu: Make dpu_plane_danger_signal_ctrl void") Signed-off-by: Arnd Bergmann Signed-o

[Freedreno] [PATCH] drm/msm/gpu: fix parameters in function msm_gpu_crashstate_capture

2018-07-31 Thread Anders Roxell
lared here static void msm_gpu_crashstate_capture(struct msm_gpu *gpu, char *comm, In current code the function msm_gpu_crashstate_capture parameters. Fixes: cdb95931dea3 ("drm/msm/gpu: Add the buffer objects from the submit to the crash dump") Signed-off-by: Anders Roxell ---