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
Showing
- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c 0 additions, 3 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_bo.c
- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c 1 addition, 1 deletiondrivers/gpu/drm/vmwgfx/vmwgfx_resource.c
- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c 2 additions, 0 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
Loading
Please register or sign in to comment