Re: [PATCH 06/45] drm/vmwgfx: move null mem checks outside move notifies

2020-09-24 Thread Christian König
Am 24.09.20 um 07:18 schrieb Dave Airlie: From: Dave Airlie Both fns checked mem == NULL, just move the check outside. Signed-off-by: Dave Airlie Acked-by: Christian König --- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 3 --- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 2 +- drive

[PATCH 06/45] drm/vmwgfx: move null mem checks outside move notifies

2020-09-23 Thread Dave Airlie
From: Dave Airlie Both fns checked mem == NULL, just move the check outside. Signed-off-by: Dave Airlie --- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 3 --- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 2 ++ 3 files changed, 3 insertions(+)