mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 19:41:34 +07:00
db88c8f4e7
DRM_GEM_CMA_HELPER is depend on HAVE_DMA_ATTRS, or it will break the building. The related error (with allmodconfig under xtensa): CC [M] drivers/gpu/drm/drm_gem_cma_helper.o drivers/gpu/drm/drm_gem_cma_helper.c: In function 'drm_gem_cma_create': drivers/gpu/drm/drm_gem_cma_helper.c:110:19: error: implicit declaration of function 'dma_alloc_writecombine' [-Werror=implicit-function-declaration] cma_obj->vaddr = dma_alloc_writecombine(drm->dev, size, ^ drivers/gpu/drm/drm_gem_cma_helper.c:110:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] cma_obj->vaddr = dma_alloc_writecombine(drm->dev, size, ^ drivers/gpu/drm/drm_gem_cma_helper.c: In function 'drm_gem_cma_free_object': drivers/gpu/drm/drm_gem_cma_helper.c:193:3: error: implicit declaration of function 'dma_free_writecombine' [-Werror=implicit-function-declaration] dma_free_writecombine(gem_obj->dev->dev, cma_obj->base.size, ^ drivers/gpu/drm/drm_gem_cma_helper.c: In function 'drm_gem_cma_mmap_obj': drivers/gpu/drm/drm_gem_cma_helper.c:330:8: error: implicit declaration of function 'dma_mmap_writecombine' [-Werror=implicit-function-declaration] ret = dma_mmap_writecombine(cma_obj->base.dev->dev, vma, ^ Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
28 lines
805 B
Plaintext
28 lines
805 B
Plaintext
config DRM_RCAR_DU
|
|
tristate "DRM Support for R-Car Display Unit"
|
|
depends on DRM && ARM && HAVE_DMA_ATTRS
|
|
depends on ARCH_SHMOBILE || COMPILE_TEST
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_CMA_HELPER
|
|
select DRM_GEM_CMA_HELPER
|
|
select DRM_KMS_FB_HELPER
|
|
select VIDEOMODE_HELPERS
|
|
help
|
|
Choose this option if you have an R-Car chipset.
|
|
If M is selected the module will be called rcar-du-drm.
|
|
|
|
config DRM_RCAR_HDMI
|
|
bool "R-Car DU HDMI Encoder Support"
|
|
depends on DRM_RCAR_DU
|
|
depends on OF
|
|
help
|
|
Enable support for external HDMI encoders.
|
|
|
|
config DRM_RCAR_LVDS
|
|
bool "R-Car DU LVDS Encoder Support"
|
|
depends on DRM_RCAR_DU
|
|
depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
|
|
help
|
|
Enable support for the R-Car Display Unit embedded LVDS encoders
|
|
(currently only on R8A7790 and R8A7791).
|