mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
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 |
||
|---|---|---|
| .. | ||
| android | ||
| board | ||
| clocking-wizard | ||
| comedi | ||
| dgnc | ||
| emxx_udc | ||
| fbtft | ||
| fsl-mc | ||
| fwserial | ||
| gdm724x | ||
| goldfish | ||
| gs_fpgaboot | ||
| i4l | ||
| iio | ||
| lustre | ||
| media | ||
| most | ||
| mt29f_spinand | ||
| netlogic | ||
| nvec | ||
| octeon | ||
| octeon-usb | ||
| olpc_dcon | ||
| rtl8188eu | ||
| rtl8192e | ||
| rtl8192u | ||
| rtl8712 | ||
| rtl8723au | ||
| rts5208 | ||
| skein | ||
| slicoss | ||
| sm750fb | ||
| speakup | ||
| unisys | ||
| vme | ||
| vt6655 | ||
| vt6656 | ||
| wilc1000 | ||
| wlan-ng | ||
| xgifb | ||
| Kconfig | ||
| Makefile | ||