OpenCloudOS-Kernel/drivers/gpu/drm/etnaviv
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
Makefile
cmdstream.xml.h
common.xml.h drm/etnaviv: update common and state_hi xml.h files 2016-01-26 18:53:55 +01:00
etnaviv_buffer.c drm: etnaviv: improve readability of command insertion to ring buffer 2016-03-07 15:36:59 +01:00
etnaviv_cmd_parser.c
etnaviv_drv.c drm: Lobotomize set_busid nonsense for !pci drivers 2016-06-21 21:56:23 +02:00
etnaviv_drv.h drm: etnaviv: clean up vram_mapping submission/retire path 2016-03-07 15:37:00 +01:00
etnaviv_dump.c drm/etnaviv: rename etnaviv_gem_vaddr to etnaviv_gem_vmap 2016-01-26 18:54:01 +01:00
etnaviv_dump.h
etnaviv_gem.c drm/etnaviv: fix mmap operations for userptr and dma-buf objects 2016-05-06 10:42:33 +02:00
etnaviv_gem.h drm/etnaviv: fix mmap operations for userptr and dma-buf objects 2016-05-06 10:42:33 +02:00
etnaviv_gem_prime.c drm/etnaviv: fix mmap operations for userptr and dma-buf objects 2016-05-06 10:42:33 +02:00
etnaviv_gem_submit.c kernel.h: add u64_to_user_ptr() 2016-04-29 17:03:49 -07:00
etnaviv_gpu.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2016-05-23 11:48:48 -07:00
etnaviv_gpu.h dma-buf/fence: make fence context 64 bit v2 2016-06-02 08:27:41 +02:00
etnaviv_iommu.c
etnaviv_iommu.h
etnaviv_iommu_v2.c
etnaviv_iommu_v2.h
etnaviv_mmu.c drm: etnaviv: clean up vram_mapping submission/retire path 2016-03-07 15:37:00 +01:00
etnaviv_mmu.h
state.xml.h
state_3d.xml.h drm: etnaviv: flush all GPU caches when stopping GPU 2016-03-07 15:36:56 +01:00
state_hi.xml.h drm/etnaviv: update common and state_hi xml.h files 2016-01-26 18:53:55 +01:00