Searched hist:"08 c4aa3ee26445ae0d027c1e1944e1202687b024" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gpu_state.c | diff 08c4aa3ee26445ae0d027c1e1944e1202687b024 Thu Dec 09 13:31:13 CST 2021 Rob Clark <robdclark@chromium.org> drm/msm/a6xx: Skip crashdumper state if GPU needs_hw_init
I am seeing some crash logs which imply that we are trying to use crashdumper hw to read back GPU state when the GPU isn't initialized. This doesn't go well (for example, GPU could be in 32b address mode and ignoring the upper bits of buffer that it is trying to dump state to).
I'm not *quite* sure how we get into this state in the first place, but lets not make a bad situation worse by triggering iova fault crashes.
While we're at it, also add the information about whether the GPU is initialized to the devcore dump to make this easier to see in the logs (which makes the WARN_ON() redundant and even harmful because it fills up the small bit of dmesg we get with the crash report).
Signed-off-by: Rob Clark <robdclark@chromium.org> Link: https://lore.kernel.org/r/20211209193118.1163248-1-robdclark@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
|
H A D | adreno_gpu.c | diff 08c4aa3ee26445ae0d027c1e1944e1202687b024 Thu Dec 09 13:31:13 CST 2021 Rob Clark <robdclark@chromium.org> drm/msm/a6xx: Skip crashdumper state if GPU needs_hw_init
I am seeing some crash logs which imply that we are trying to use crashdumper hw to read back GPU state when the GPU isn't initialized. This doesn't go well (for example, GPU could be in 32b address mode and ignoring the upper bits of buffer that it is trying to dump state to).
I'm not *quite* sure how we get into this state in the first place, but lets not make a bad situation worse by triggering iova fault crashes.
While we're at it, also add the information about whether the GPU is initialized to the devcore dump to make this easier to see in the logs (which makes the WARN_ON() redundant and even harmful because it fills up the small bit of dmesg we get with the crash report).
Signed-off-by: Rob Clark <robdclark@chromium.org> Link: https://lore.kernel.org/r/20211209193118.1163248-1-robdclark@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
|