Alex Deucher 9b00147d9f drm/radeon: fix regression in UMS CS ioctl
radeon_cs_parser_init is called by both the legacy UMS
CS ioctl and the KMS CS ioctl.  Protect KMS specific
pieces of the code by checking that rdev is not NULL.

Reported-by: Michael Burian <michael.burian@sbg.at>

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-01 17:00:21 +01:00
..
2012-04-02 11:07:42 +01:00
2012-04-02 11:07:42 +01:00
2012-05-07 14:02:14 +02:00
2012-05-23 10:47:11 +01:00
2011-01-07 14:11:38 +10:00
2011-03-31 11:26:23 -03:00
2012-05-29 11:08:19 +01:00
2012-05-07 14:02:14 +02:00
2011-03-31 11:26:23 -03:00
2012-05-07 14:02:14 +02:00
2012-05-23 10:47:11 +01:00
2012-05-23 10:47:11 +01:00