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: 1707add8 ("drm/msm/a6xx: Add a6xx gpu state") Signed-off-by:
Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by:
Rob Clark <robdclark@chromium.org>
Showing
- drivers/gpu/drm/msm/Kconfig 5 additions, 0 deletionsdrivers/gpu/drm/msm/Kconfig
- drivers/gpu/drm/msm/Makefile 2 additions, 1 deletiondrivers/gpu/drm/msm/Makefile
- drivers/gpu/drm/msm/adreno/a6xx_gpu.c 3 additions, 1 deletiondrivers/gpu/drm/msm/adreno/a6xx_gpu.c
- drivers/gpu/drm/msm/msm_debugfs.c 1 addition, 1 deletiondrivers/gpu/drm/msm/msm_debugfs.c
Loading
Please register or sign in to comment