drm/radeon: check if BO_VA is set before adding it to the invalidation list
authorChristian König <christian.koenig@amd.com>
Wed, 8 Jul 2015 07:56:14 +0000 (09:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jul 2015 15:40:10 +0000 (11:40 -0400)
commitdbedff05d163f8d1b4a97b91c57b939830fc235f
tree701318818432b56596b65412d27d6508ef226100
parenteb99070b4ad105f8a516d99e95226180924eddc8
drm/radeon: check if BO_VA is set before adding it to the invalidation list

Otherwise we try to clear BO_VAs without an address.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=91141
Signed-off-by: Christian König <christian.koenig@amd.com>
Test-by: hadack@gmx.de
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_vm.c