]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/msm/adreno: Don't capture register values if target doesn't define them
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 2 Nov 2018 15:25:24 +0000 (09:25 -0600)
committerRob Clark <robdclark@gmail.com>
Tue, 11 Dec 2018 18:05:29 +0000 (13:05 -0500)
commitb9fc230252e7d0cbf109292bead71e50476f14c9
tree7efeacb66dbe0dac306e52fd837cf1bd84d1702f
parent983674e24b4684045340b33dda1ecb81125d4cad
drm/msm/adreno: Don't capture register values if target doesn't define them

If the GPU target doesn't define a list of registers then gracefully skip
capturing and/or printing them. This is used by more complex targets like
6xx that have other means of capturing register values.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/adreno_gpu.c