WSL2-Linux-Kernel/include/drm
Thomas Hellstrom 355a701838 drm/gem: Warn on illegal use of the dumb buffer interface v2
It happens on occasion that developers of generic user-space applications
abuse the dumb buffer API to get hold of drm buffers that they can both
mmap() and use for GPU acceleration, using the assumptions that dumb buffers
and buffers available for GPU are
a) The same type and can be aribtrarily type-casted.
b) fully coherent.

This patch makes the most widely used drivers warn nicely when that happens,
the next step will be to fail.

v2: Move drmP.h changes to drm_gem.h. Fix Radeon dumb mmap breakage.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-11-21 12:12:41 +10:00
..
bridge
i2c
ttm drm/ttm: add reservation_object as argument to ttm_bo_init 2014-09-30 14:04:00 +02:00
ati_pcigart.h drm: Move legacy buffer structures to <drm/drm_legacy.h> 2014-09-12 15:28:12 +02:00
drmP.h drm: Miscellaneous fixes for v3.19-rc1 2014-11-15 09:37:20 +10:00
drm_agpsupport.h drm: move remaining includes in drmP.h to the top 2014-09-10 17:42:03 +10:00
drm_atomic.h drm/atomic: Refcounting for plane_state->fb 2014-11-06 21:08:37 +01:00
drm_atomic_helper.h drm: export atomic wait_for_vblanks helper (v2) 2014-11-12 17:55:44 +10:00
drm_cache.h
drm_core.h
drm_crtc.h drm: s/enum_blob_list/enum_list/ in drm_property 2014-11-20 11:35:21 +10:00
drm_crtc_helper.h drm/crtc-helper: Transitional functions using atomic plane helpers 2014-11-05 18:44:59 +01:00
drm_dp_helper.h Merge tag 'topic/core-stuff-2014-11-05' of git://anongit.freedesktop.org/drm-intel into drm-next 2014-11-07 10:58:46 +10:00
drm_dp_mst_helper.h drm: Miscellaneous fixes for v3.19-rc1 2014-11-15 09:37:20 +10:00
drm_edid.h drm/edid: add #defines and helpers for ELD 2014-11-05 14:03:44 +01:00
drm_encoder_slave.h
drm_fb_cma_helper.h
drm_fb_helper.h drm: Perform cmdline mode parsing during connector initialisation 2014-08-06 14:50:12 +02:00
drm_fixed.h
drm_flip_work.h drm: flip-work: change drm_flip_work_init prototype 2014-11-15 09:29:14 +10:00
drm_gem.h drm/gem: Warn on illegal use of the dumb buffer interface v2 2014-11-21 12:12:41 +10:00
drm_gem_cma_helper.h drm/cma: Introduce drm_gem_cma_dumb_create_internal() 2014-11-13 13:27:17 +01:00
drm_global.h
drm_hashtab.h
drm_legacy.h drm: move drm_mmap to <drm/drm_legacy.h> 2014-09-24 11:43:07 +10:00
drm_mem_util.h
drm_mipi_dsi.h drm/dsi: Do not require .owner field to be set 2014-11-13 13:56:17 +01:00
drm_mm.h
drm_modes.h
drm_modeset_lock.h drm: Per-plane locking 2014-11-12 17:56:12 +10:00
drm_of.h drm: add of_graph endpoint helper to find possible CRTCs 2014-07-11 15:38:28 +01:00
drm_os_linux.h
drm_panel.h drm/panel: Provide convenience wrapper for .get_modes() 2014-08-06 16:44:09 +02:00
drm_pciids.h drm/radeon: remove invalid pci id 2014-10-28 10:44:36 -04:00
drm_plane_helper.h drm/crtc-helper: Transitional functions using atomic plane helpers 2014-11-05 18:44:59 +01:00
drm_rect.h drm: Add drm_rect rotation functions 2014-07-11 23:44:12 +02:00
drm_sysfs.h
drm_vma_manager.h
exynos_drm.h
gma_drm.h
i915_drm.h
i915_pciids.h drm/i915/skl: Add the Skylake PCI ids 2014-09-24 14:32:14 +02:00
i915_powerwell.h drm/i915: provide interface for audio driver to query cdclk 2014-07-04 07:46:09 +02:00
intel-gtt.h