]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/a6xx: Don't enable GPU state code if dependencies are missing
authorJordan Crouse <jcrouse@codeaurora.org>
Wed, 10 Apr 2019 16:58:16 +0000 (10:58 -0600)
committerRob Clark <robdclark@chromium.org>
Sun, 21 Apr 2019 14:52:36 +0000 (07:52 -0700)
commit95ead33c4cbbd2cb8ffd3b2060f59ebd78ccffea
tree43ee9969171994ebdc9f490aa97fc1e6546e781b
parent3f1bca7f3e85bf726f65f876d419859529096aac
drm/msm/a6xx: Don't enable GPU state code if dependencies are missing

Add CONFIG_DRM_MSM_GPU_STATE to conditionally compile Adreno GPU state
code depending on the availability of the dependencies.

Reported-by: Hulk Robot <hulkci@huawei.com>
Reported-by: YueHaibing <yuehaibing@huawei.com>
Fixes: 240fc49ac950 ("drm/msm/a6xx: Add a6xx gpu state")
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/Kconfig
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/msm_debugfs.c