linux/drivers/gpu/drm/rcar-du
Chen Gang S db88c8f4e7 drm: Kconfig: Let all DRM_GEM_CMA_HELPER related macros depend on HAVE_DMA_ATTRS
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>
2015-02-03 11:12:37 +10:00
..
Kconfig drm: Kconfig: Let all DRM_GEM_CMA_HELPER related macros depend on HAVE_DMA_ATTRS 2015-02-03 11:12:37 +10:00
Makefile drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_crtc.c drm: rcar-du: Implement support for interlaced modes 2014-12-23 12:01:52 +02:00
rcar_du_crtc.h drm: rcar-du: Add support for external pixel clock 2014-12-23 12:01:50 +02:00
rcar_du_drv.c Merge branch 'drm/next/du' of git://linuxtv.org/pinchartl/fbdev into drm-next 2015-01-21 10:16:24 +10:00
rcar_du_drv.h drm: rcar-du: Refactor DEFR8 feature 2014-12-23 12:01:50 +02:00
rcar_du_encoder.c drm: rcar-du: Clamp DPMS states to on and off 2014-12-23 12:01:52 +02:00
rcar_du_encoder.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_group.c drm: rcar-du: Add support for external pixel clock 2014-12-23 12:01:50 +02:00
rcar_du_group.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_hdmicon.c drm: rcar-du: Implement support for interlaced modes 2014-12-23 12:01:52 +02:00
rcar_du_hdmicon.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_hdmienc.c drm: rcar-du: Clamp DPMS states to on and off 2014-12-23 12:01:52 +02:00
rcar_du_hdmienc.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_kms.c drm: rcar-du: Don't fail probe in case of partial encoder init error 2014-12-23 12:01:48 +02:00
rcar_du_kms.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdscon.c drm: rcar-du: Replace direct DRM encoder access with cast macro 2014-11-26 20:09:37 +02:00
rcar_du_lvdscon.h drm: rcar-du: Remove platform data support 2014-11-26 20:09:36 +02:00
rcar_du_lvdsenc.c drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdsenc.h drm: rcar-du: Remove platform data support 2014-11-26 20:09:36 +02:00
rcar_du_plane.c drm: rcar-du: Implement support for interlaced modes 2014-12-23 12:01:52 +02:00
rcar_du_plane.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_regs.h drm: rcar-du: Implement support for interlaced modes 2014-12-23 12:01:52 +02:00
rcar_du_vgacon.c drm: rcar-du: Implement support for interlaced modes 2014-12-23 12:01:52 +02:00
rcar_du_vgacon.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_lvds_regs.h drm/rcar-du: Add internal LVDS encoder support 2013-08-09 23:17:53 +02:00