commit | 9b00147d9f2ba137ce74b66b768a8312be0b6781 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Wed May 30 10:09:30 2012 -0400 |
committer | Dave Airlie <airlied@redhat.com> | Fri Jun 01 17:00:21 2012 +0100 |
tree | bc37f50072056deb5bfa586db8aeae67cd20afcf | |
parent | 0824db38e515644f8d1bfd64adbd7cb2c6ea7c62 [diff] |
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>