drm/radeon: skip colorbuffer checking if COLOR_INFO.FORMAT is set to INVALID
authorMarek Olšák <marek.olsak@amd.com>
Wed, 8 Jan 2014 17:16:26 +0000 (18:16 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jan 2014 17:25:43 +0000 (12:25 -0500)
commit56492e0fac2dbaf7735ffd66b206a90624917789
treedfa38151837fab7817b94e29d0652c7d7bf308be
parent370169516e736edad3b3c5aa49858058f8b55195
drm/radeon: skip colorbuffer checking if COLOR_INFO.FORMAT is set to INVALID

This fixes a bug which was causing rejections of valid GPU commands
from userspace.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen_cs.c
drivers/gpu/drm/radeon/r600_cs.c