linux_dsm_epyc7002/drivers/gpu/drm/omapdrm
Daniel Vetter a325725633 drm: Lobotomize set_busid nonsense for !pci drivers
We already have a fallback in place to fill out the unique from
dev->unique, which is set to something reasonable in drm_dev_alloc.

Which means we only need to have a special set_busid for pci devices,
to be able to care the backwards compat code for drm 1.1 around, which
libdrm still needs.

While developing and testing this patch things blew up in really
interesting ways, and the code is rather confusing in naming things
between the kernel code, ioctl #defines and libdrm. For the next brave
dragon slayer, document all this madness properly in the userspace
interface section of gpu.tmpl.

v2: Make drm_dev_set_unique static and update kerneldoc.

v3: Entire rewrite, plus document what's going on for posterity in the
gpu docbook uapi section.

v4: Drop accidental amdgpu hunk (Emil).

v5: Drop accidental omapdrm vblank counter change (Emil).

v6: Rebase on top of the sphinx conversion.

Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> (virt_gpu)
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
2016-06-21 21:56:23 +02:00
..
displays Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
dss drm/omapdrm: Workaround for errata i734 (LCD1 Gamma) in DSS dispc 2016-06-07 17:10:49 +03:00
Kconfig Revert "drm/omap: no need to select OMAP2_DSS" 2016-05-31 08:30:14 +03:00
Makefile drm/omap: remove -Werror from Makefile 2016-03-03 17:38:46 +02:00
omap_connector.c drm: omap: Rely on the default ->best_encoder() behavior 2016-06-10 17:25:11 +02:00
omap_crtc.c drm/omapdrm: Implement gamma_lut atomic crtc properties 2016-06-07 17:10:49 +03:00
omap_debugfs.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_dmm_priv.h
omap_dmm_tiler.c drm/omap: include linux/seq_file.h where needed 2016-05-31 08:30:14 +03:00
omap_dmm_tiler.h
omap_drv.c drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
omap_drv.h Merge omapdss header refactoring 2016-06-07 12:42:58 +03:00
omap_encoder.c drm/omap: print an error if display enable fails 2016-03-03 17:36:41 +02:00
omap_fb.c omapdrm changes for 4.8 2016-06-09 12:20:11 +10:00
omap_fbdev.c drm/omapdrm: don't call drm_helper_disable_unused_functions 2016-06-21 10:01:24 +02:00
omap_gem_dmabuf.c Merge tag 'topic/drm-misc-2016-03-22' of git://anongit.freedesktop.org/drm-intel into drm-next 2016-03-24 08:41:59 +10:00
omap_gem.c drm: omapdrm: Remove unused omap_gem_tiled_size function 2016-06-06 10:14:28 +03:00
omap_irq.c drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
omap_plane.c drm: Drop plane argument from __drm_atomic_helper_plane_destroy_state 2016-05-17 08:56:55 +02:00
tcm-sita.c drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
tcm-sita.h
tcm.h drm/omap: Use bitmaps for TILER placement 2015-12-31 11:25:47 +02:00
TODO