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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:50:20 +0000 (13:50 -0800)
commit40df7953c4f0624d36f95091d1640364acc1d1e6
tree94ab563223d4d52b306b3052f46b2126a2262e54
parent72baebc65786fd32bbb75a2da7e116de8098e1ab
drm/radeon: skip colorbuffer checking if COLOR_INFO.FORMAT is set to INVALID

commit 56492e0fac2dbaf7735ffd66b206a90624917789 upstream.

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

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/evergreen_cs.c
drivers/gpu/drm/radeon/r600_cs.c