forked from Minki/linux
76bf0db554
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 |
||
---|---|---|
.. | ||
cmdstream.xml.h | ||
common.xml.h | ||
etnaviv_buffer.c | ||
etnaviv_cmd_parser.c | ||
etnaviv_drv.c | ||
etnaviv_drv.h | ||
etnaviv_dump.c | ||
etnaviv_dump.h | ||
etnaviv_gem_prime.c | ||
etnaviv_gem_submit.c | ||
etnaviv_gem.c | ||
etnaviv_gem.h | ||
etnaviv_gpu.c | ||
etnaviv_gpu.h | ||
etnaviv_iommu_v2.c | ||
etnaviv_iommu_v2.h | ||
etnaviv_iommu.c | ||
etnaviv_iommu.h | ||
etnaviv_mmu.c | ||
etnaviv_mmu.h | ||
Kconfig | ||
Makefile | ||
state_3d.xml.h | ||
state_hi.xml.h | ||
state.xml.h |