]> www.infradead.org Git - users/willy/linux.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>
Mon, 3 Dec 2018 13:53:27 +0000 (08:53 -0500)
commit273afe2a61fc10e39540e99fbea8ddb58bf4052f
treeb4c22387b47b6e834d1f78648272eb058e8a084d
parent1bd7e5b7ef2205dce59a9a2f2108707fd8c3ea48
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