drm/radeon/kms/r200: fix bug in CS parser
authorAndrew Randrianasulu <randrik@mail.ru>
Wed, 20 Jan 2010 16:36:30 +0000 (11:36 -0500)
committerDave Airlie <airlied@linux.ie>
Wed, 20 Jan 2010 22:17:13 +0000 (08:17 +1000)
commitf3d1ccc14f37a07614c67a270f05a8d94ec3667c
tree22a22e8fcac232f351a3884b2948431408b0e50a
parent700a0cc088a42a2ed92c6f961534fdb38588af87
drm/radeon/kms/r200: fix bug in CS parser

The checks for CUBE and 3D textures were inverted.

fixes fdo bug 24159

agd5f: added comments for clarity.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/radeon/r200.c