]> asedeno.scripts.mit.edu Git - linux.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)
commita9e2559c931d7c44ae7d677b12093956ffa864b9
tree35d58a2afc0bdcb6198740809221e50615634e3c
parent026ef6354caa661ddd4c399590048e72a9d420bf
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