OpenCloudOS-Kernel/drivers/gpu/drm/exynos
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 drm/exynos: Use VIDEO_SAMSUNG_S5P_G2D=n as G2D Kconfig dependency 2016-04-30 01:03:46 +09:00
Makefile drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
exynos7_drm_decon.c drm/exynos: clean up wait_for_vblank 2016-04-30 11:34:12 +09:00
exynos5433_drm_decon.c drm/exynos/decon5433: fix trigger configuration 2016-05-10 23:11:46 +09:00
exynos_dp.c drm/exynos: convert clock_enable crtc callback to pipeline clock 2016-04-30 11:33:48 +09:00
exynos_drm_core.c drm/exynos: fix error handling in exynos_drm_subdrv_open 2016-04-30 01:03:45 +09:00
exynos_drm_crtc.c drm/exynos: fix cancel page flip code 2016-05-10 23:11:41 +09:00
exynos_drm_crtc.h drm/exynos: fix kernel panic issue at drm releasing 2016-01-13 00:16:39 +09:00
exynos_drm_dpi.c drm: exynos: Rely on the default ->best_encoder() behavior 2016-06-10 17:22:15 +02:00
exynos_drm_drv.c drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
exynos_drm_drv.h Merge tag 'topic/drm-misc-2016-05-04' of git://anongit.freedesktop.org/drm-intel into drm-next 2016-05-05 09:56:30 +10:00
exynos_drm_dsi.c drm: exynos: Rely on the default ->best_encoder() behavior 2016-06-10 17:22:15 +02:00
exynos_drm_fb.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
exynos_drm_fb.h Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2016-01-17 13:40:25 -08:00
exynos_drm_fbdev.c drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
exynos_drm_fbdev.h drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
exynos_drm_fimc.c drm/exynos/fimc: remove unused camera interface polarization code 2016-03-01 23:37:23 +09:00
exynos_drm_fimc.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_fimd.c drm/exynos: fimd: harden fimd_calc_clkdiv() 2016-05-10 23:11:42 +09:00
exynos_drm_g2d.c drm/exynos: use directly DMA mapping APIs on g2d 2016-05-10 23:11:44 +09:00
exynos_drm_g2d.h drm/exynos: add G2D driver 2012-05-17 20:14:48 +09:00
exynos_drm_gem.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
exynos_drm_gem.h drm/exynos: use directly DMA mapping APIs on g2d 2016-05-10 23:11:44 +09:00
exynos_drm_gsc.c drm/exynos: ipp: fix incorrect format specifiers in debug messages 2016-03-01 23:37:08 +09:00
exynos_drm_gsc.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_iommu.c drm/exynos: use real device for DMA-mapping operations 2016-03-01 23:53:47 +09:00
exynos_drm_iommu.h drm/exynos: use real device for DMA-mapping operations 2016-03-01 23:53:47 +09:00
exynos_drm_ipp.c drm/exynos: ipp: fix incorrect format specifiers in debug messages 2016-03-01 23:37:08 +09:00
exynos_drm_ipp.h drm/exynos/ipp: remove unused field in command node 2014-09-20 00:56:10 +09:00
exynos_drm_mic.c drm/exynos: fix a warning message 2016-04-30 01:03:46 +09:00
exynos_drm_plane.c drm/exynos: use logical AND in exynos_drm_plane_check_size() 2016-06-10 16:10:18 +02:00
exynos_drm_plane.h drm/exynos: rename zpos to index 2016-01-13 00:16:33 +09:00
exynos_drm_rotator.c drm/exynos: rotator: use generic of_device_get_match_data helper 2016-04-30 11:34:09 +09:00
exynos_drm_rotator.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_vidi.c drm: exynos: Rely on the default ->best_encoder() behavior 2016-06-10 17:22:15 +02:00
exynos_drm_vidi.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_hdmi.c drm: exynos: Rely on the default ->best_encoder() behavior 2016-06-10 17:22:15 +02:00
exynos_mixer.c drm/exynos: clean up wait_for_vblank 2016-04-30 11:34:12 +09:00
regs-fimc.h drm/exynos: add device tree support for fimc ipp driver 2013-04-29 14:35:32 +09:00
regs-gsc.h drm/exynos: gsc: add device tree support and remove usage of static mappings 2015-12-13 22:22:53 +09:00
regs-hdmi.h drm/exynos/hdmi: add Exynos5433 support 2016-04-30 01:03:54 +09:00
regs-mixer.h drm/exynos: mixer: refactor layer setup 2016-01-13 00:16:36 +09:00
regs-rotator.h drm/exynos: add rotator ipp driver 2012-12-15 02:39:41 +09:00
regs-vp.h drm/exynos: added hdmi display support 2011-12-29 11:21:42 +09:00