]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: preallocate mem for UVD create/destroy msg
authorChristian König <christian.koenig@amd.com>
Fri, 22 Aug 2014 12:25:55 +0000 (14:25 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Aug 2014 02:46:23 +0000 (22:46 -0400)
commitcb38a45b756d1e6ddad52061394fc43fe3f61f47
treeef2896a8e05be32c2d62911da795dc5106f17030
parentf7f1bd795a19df00276824757b226068b4a28235
drm/radeon: preallocate mem for UVD create/destroy msg

llocating memory for UVD create and destroy messages can fail, which is
rather annoying when this happens in the middle of a GPU reset. Try to
avoid this condition by preallocating a page for those dummy messages.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_uvd.c