OSDN Git Service

msm/drm: Move msm_drm_config configuration into the GPUs
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 7 Apr 2017 21:01:43 +0000 (15:01 -0600)
committerJordan Crouse <jcrouse@codeaurora.org>
Wed, 26 Apr 2017 18:08:10 +0000 (12:08 -0600)
commitd84fd15df03db850f81d7057f8082478a994e5e1
treecad22f9d1d39beed3bc2b5544ec89cccc3a7670f
parent8e00aa10d2c7675231af568c5cf7e3b7a3e69bdc
msm/drm: Move msm_drm_config configuration into the GPUs

With the upcoming secure code the decision tree for configuration
(deciding where virtual addresses start/stop, etc) is going to get
a bit more complex. Head issues off at the pass by moving the
configuration into the GPU specific code.  This does result in a
bit more code duplication but it is a lot cleaner.

Change-Id: Ic0dedbad57c11a4bba01825214d0a7853ab537ba
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
drivers/gpu/drm/msm/adreno/a3xx_gpu.c
drivers/gpu/drm/msm/adreno/a4xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h
drivers/gpu/drm/msm/msm_gpu.h