]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gpu: Move zap shader loading to adreno
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 19 Apr 2019 19:46:14 +0000 (13:46 -0600)
committerRob Clark <robdclark@chromium.org>
Sun, 21 Apr 2019 14:37:16 +0000 (07:37 -0700)
commitf7a52315d17c0c265ea0e678312356575185768d
tree35d58a2afc0bdcb6198740809221e50615634e3c
parent6721d28da46d96fde3c11ef749af1e3e1b96de30
drm/msm/gpu: Move zap shader loading to adreno

a5xx and a6xx both share (mostly) the same code to load the zap shader and
bring the GPU out of secure mode. Move the formerly 5xx specific code to
adreno to make it available for a6xx too.

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