linux_dsm_epyc7002/drivers/gpu/drm/arc
Jose Abreu a8f8fb2057 drm: arcpgu: Fix mmap() callback
Now that ARC properly supports DMA mmap() we can use the standard
CMA helper to map dumb buffers. This makes ARC PGU works with
standard DRM consumer applications like, for example, mpv/mplayer
via DRM. While at it, use the DEFINE_DRM_GEM_CMA_FOPS() helper.

This fixes the use of dumb buffers.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Fixes: 0c4250e7b1 ("drm: Add support of ARC PGU display controller")
Cc: Carlos Palminha <palminha@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Dave Airlie <airlied@gmail.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2017-08-03 00:11:01 +03:00
..
arcpgu_crtc.c drm: Convert atomic drivers from CRTC .disable() to .atomic_disable() 2017-06-30 14:53:15 +02:00
arcpgu_drv.c drm: arcpgu: Fix mmap() callback 2017-08-03 00:11:01 +03:00
arcpgu_hdmi.c drm: bridge: Link encoder and bridge in core code 2016-12-18 16:31:45 +05:30
arcpgu_regs.h drm: Add support of ARC PGU display controller 2016-04-26 17:58:02 +03:00
arcpgu_sim.c drm: Make the connector .detect() callback optional 2016-12-01 10:05:53 -05:00
arcpgu.h Merge tag 'topic/drm-misc-2016-06-15' of git://anongit.freedesktop.org/drm-intel into drm-next 2016-06-16 05:49:32 +10:00
Kconfig drm/arc: make fbdev support really optional 2016-07-18 09:11:32 +02:00
Makefile drm/arcpgu: Make ARC PGU usable on simulation platforms 2016-06-13 17:45:17 +02:00