[Intel-gfx] [PATCH] drm/i915: Remove intel_gvt_init_host declaration

2022-04-13 Thread Cong Liu
this function has been deleted since commit 9bdb073464d6 ("drm/i915/gvt: Change KVMGT as self load module"), remove the deprecated function declaration. Signed-off-by: Cong Liu --- drivers/gpu/drm/i915/intel_gvt.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gp

[Intel-gfx] [PATCH] drm/i915: Fix memory leaks in i915 selftests

2023-04-21 Thread Cong Liu
This patch fixes memory leaks on error escapes in function fake_get_pages Fixes: c3bfba9a2225 ("drm/i915: Check for integer truncation on scatterlist creation") Signed-off-by: Cong Liu --- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 4 +++- 1 file changed, 3 insertions(+),

Re: [Intel-gfx] [PATCH] drm/i915: Fix memory leaks in i915 selftests

2023-04-21 Thread Cong Liu
Hi Andi, thank you for your reminder, next time I will pay attention to my format, and when someone has already reviewed, add the Reviewed-by field Regards. On 2023/4/13 16:44, Andi Shyti wrote: On Thu, Apr 13, 2023 at 03:55:26PM +0800, Cong Liu wrote: This patch fixes memory leaks on

[Intel-gfx] [PATCH] drm/i915: Fix memory leaks in i915 selftests

2023-04-21 Thread Cong Liu
Fixes: c3bfba9a2225 ("drm/i915: Check for integer truncation on scatterlist creation") Signed-off-by: Cong Liu --- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/selftests/i915_gem_gtt.c b/d

[Intel-gfx] [PATCH] drm/i915: Fix memory leaks in function live_nop_switch

2023-05-08 Thread Cong Liu
Be sure to properly free the allocated memory before exiting the live_nop_switch function. Signed-off-by: Cong Liu --- drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gem/selftests

[Intel-gfx] [PATCH v2] drm/i915: Fix memory leaks in function live_nop_switch

2023-05-19 Thread Cong Liu
Be sure to properly free the allocated memory before exiting the live_nop_switch function. Signed-off-by: Cong Liu Suggested-by: Rodrigo Vivi --- .../gpu/drm/i915/gem/selftests/i915_gem_context.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/gpu