drm/vmwgfx: move null mem checks outside move notifies
authorDave Airlie <airlied@redhat.com>
Tue, 6 Oct 2020 00:06:41 +0000 (10:06 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Oct 2020 05:41:49 +0000 (15:41 +1000)
commit279a3010218d517284641b7dac2d65c0ecef78ab
tree80b3a20427d4df07d147cd0054a1baf9d7ec06fa
parent881c4117957bc39390930f8344c600858a72179b
drm/vmwgfx: move null mem checks outside move notifies

Both fns checked mem == NULL, just move the check outside.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201006000644.1005758-3-airlied@gmail.com
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c