mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 07:06:50 +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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
NOTES | ||
sti_awg_utils.c | ||
sti_awg_utils.h | ||
sti_compositor.c | ||
sti_compositor.h | ||
sti_cursor.c | ||
sti_cursor.h | ||
sti_drm_crtc.c | ||
sti_drm_crtc.h | ||
sti_drm_drv.c | ||
sti_drm_drv.h | ||
sti_drm_plane.c | ||
sti_drm_plane.h | ||
sti_dvo.c | ||
sti_gdp.c | ||
sti_gdp.h | ||
sti_hda.c | ||
sti_hdmi_tx3g0c55phy.c | ||
sti_hdmi_tx3g0c55phy.h | ||
sti_hdmi_tx3g4c28phy.c | ||
sti_hdmi_tx3g4c28phy.h | ||
sti_hdmi.c | ||
sti_hdmi.h | ||
sti_hqvdp_lut.h | ||
sti_hqvdp.c | ||
sti_hqvdp.h | ||
sti_layer.c | ||
sti_layer.h | ||
sti_mixer.c | ||
sti_mixer.h | ||
sti_tvout.c | ||
sti_vid.c | ||
sti_vid.h | ||
sti_vtac.c | ||
sti_vtg.c | ||
sti_vtg.h |