]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/radeon: add a check to wait_reg_mem command
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Wed, 2 Jan 2013 23:27:44 +0000 (18:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Jan 2013 21:24:44 +0000 (16:24 -0500)
commitd6e18a3406d401edeb96a01c7bb9d1689454c41b
tree9b3d4b39544c891bd3d6a27f4fef9a5148b9fa88
parent40592a17b8747903be95338f461573916a71d739
drm/radeon: add a check to wait_reg_mem command

WAIT_REG_MEM on register does not allow the use of PFP.
Enforce this restriction when checking packets sent from
userland.

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen_cs.c
drivers/gpu/drm/radeon/r600_cs.c