linux_dsm_epyc7002/drivers/gpu/drm/qxl
Christian König 76bf0db554 dma-buf/fence: make fence context 64 bit v2
Fence contexts are created on the fly (for example) by the GPU scheduler used
in the amdgpu driver as a result of an userspace request. Because of this
userspace could in theory force a wrap around of the 32bit context number
if it doesn't behave well.

Avoid this by increasing the context number to 64bits. This way even when
userspace manages to allocate a billion contexts per second it takes more
than 500 years for the context number to wrap around.

v2: fix printf formats as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1464786612-5010-2-git-send-email-deathsimple@vodafone.de
2016-06-02 08:27:41 +02:00
..
Kconfig
Makefile drm/qxl: enables gem prime helpers for qxl using dummy driver callbacks 2014-09-03 15:36:52 +10:00
qxl_cmd.c drm/ttm: remove lazy parameter from ttm_bo_wait 2016-05-04 20:21:26 -04:00
qxl_debugfs.c drm/qxl: Remove release_lock stupidity 2014-09-03 17:09:11 +02:00
qxl_dev.h
qxl_display.c drm/qxl: Don't set a gamma table size 2016-05-31 15:26:57 +02:00
qxl_draw.c
qxl_drv.c vgacon: dummy implementation for vgacon_text_force 2016-03-30 17:37:57 +02:00
qxl_drv.h Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
qxl_dumb.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
qxl_fb.c qxl: catch qxlfb_create_pinned_object failures 2016-05-17 09:11:23 +02:00
qxl_gem.c drm/qxl: Move main reference counter to GEM object instead of TTM ones 2015-06-05 11:00:51 +10:00
qxl_image.c
qxl_ioctl.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
qxl_irq.c drm/qxl: return IRQ_NONE if it was not our irq 2014-07-17 08:08:06 +10:00
qxl_kms.c drm/qxl: Use drm_fb_helper deferred_io support 2016-05-02 16:25:13 +02:00
qxl_object.c drm/qxl: use to_qxl_bo macro 2015-12-15 13:39:40 +01:00
qxl_object.h drm/ttm: remove lazy parameter from ttm_bo_wait 2016-05-04 20:21:26 -04:00
qxl_prime.c drm/qxl: fix erroneous return value 2016-02-17 15:39:35 +10:00
qxl_release.c dma-buf/fence: make fence context 64 bit v2 2016-06-02 08:27:41 +02:00
qxl_ttm.c drm/ttm: implement LRU add callbacks v2 2016-05-04 20:21:38 -04:00