1
0
Fork 0
alistair23-linux/drivers/gpu/drm/armada
Logan Gunthorpe f9b67f0014 dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro
Seeing the kunmap_atomic dma_buf_ops share the same name with a macro
in highmem.h, the former can be aliased if any dma-buf user includes
that header.

I'm personally trying to include highmem.h inside scatterlist.h and this
breaks the dma-buf code proper.

Christoph Hellwig suggested [1] renaming it and pushing this patch ASAP.

To maintain consistency I've renamed all four of kmap* and kunmap* to be
map* and unmap*. (Even though only kmap_atomic presently conflicts.)

[1] https://www.spinics.net/lists/target-devel/msg15070.html

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1492630570-879-1-git-send-email-logang@deltatee.com
2017-04-20 13:47:46 +05:30
..
Kconfig drm: add more MMU dependencies 2017-01-11 17:24:58 +01:00
Makefile drm/armada: Fix compile fail 2016-12-30 17:47:04 +01:00
armada_510.c drm/armada: update Armada 510 (Dove) to use "ext_ref_clk1" as the clock 2014-07-11 15:40:14 +01:00
armada_crtc.c drm: Add acquire ctx parameter to ->page_flip(_target) 2017-03-29 09:50:38 +02:00
armada_crtc.h drm: armada: use vblank hooks in struct drm_crtc_funcs 2017-02-07 21:46:51 +01:00
armada_debugfs.c drm/armada: Remove armada_drm_debugfs_cleanup() 2017-03-01 16:09:51 +01:00
armada_drm.h drm/armada: Remove armada_drm_debugfs_cleanup() 2017-03-01 16:09:51 +01:00
armada_drv.c drm/gem: Add DEFINE_DRM_GEM_FOPS 2017-03-14 14:38:34 +01:00
armada_fb.c drm: Pass 'dev' to drm_helper_mode_fill_fb_struct() 2016-12-15 14:03:30 +02:00
armada_fb.h drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create() 2015-11-24 11:47:38 +01:00
armada_fbdev.c drm/fb-helper: Automatically clean up fb_info 2017-02-07 21:36:28 +01:00
armada_gem.c dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro 2017-04-20 13:47:46 +05:30
armada_gem.h drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
armada_hw.h DRM: Armada: Add support for ARGB 32x64 or 64x32 hardware cursors 2013-10-18 15:53:30 +01:00
armada_ioctlP.h
armada_overlay.c drm: Add acquire ctx parameter to ->plane_disable 2017-03-29 09:14:58 +02:00
armada_trace.c drm/armada: add tracing support 2016-11-01 20:06:54 +00:00
armada_trace.h drm/armada: add tracing support 2016-11-01 20:06:54 +00:00