linux/drivers/gpu/drm/imx
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
..
Kconfig dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
Makefile drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi 2015-01-07 18:31:56 +01:00
dw_hdmi-imx.c drm/imx: dw_hdmi: Don't call platform_set_drvdata() 2016-03-31 11:24:28 +02:00
imx-drm-core.c drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
imx-drm.h drm/imx: use bus_flags for pixel clock polarity 2016-05-30 09:14:00 +02:00
imx-ldb.c drm/imx: imx-ldb: honor 'native-mode' property when selecting video mode from DT 2016-05-30 09:14:00 +02:00
imx-tve.c drm/imx: use bus_flags for pixel clock polarity 2016-05-30 09:14:00 +02:00
ipuv3-crtc.c drm/imx: use bus_flags for pixel clock polarity 2016-05-30 09:14:00 +02:00
ipuv3-plane.c drm/imx: plane: Don't set plane->crtc in ipu_plane_update() 2016-05-30 09:14:00 +02:00
ipuv3-plane.h drm/imx: ipuv3-plane: Add more thorough checks for plane parameter limitations 2016-03-31 11:23:31 +02:00
parallel-display.c drm/imx: parallel-display: remove dead code 2016-05-30 09:14:00 +02:00