[Intel-gfx] [PATCH] drm/i915: Fix possible null dereference in framebuffer_info debugfs function

2015-11-26 Thread Namrta Salonie
Found by static code analysis tool. v2: Inserted block instead of goto & renamed variables (Chris) Signed-off-by: Namrta Salonie Signed-off-by: Deepak S --- drivers/gpu/drm/i915/i915_debugfs.c | 32 +++- 1 file changed, 15 insertions(+), 17 deletions(-)

[Intel-gfx] [PATCH] drm/i915: Fix possible null dereference in framebuffer_info debugfs function

2015-11-27 Thread Namrta Salonie
Found by static code analysis tool. v2: Inserted block instead of goto & renamed variables (Chris) v3: Aligned code as per the opening brace (Chris) Rebased on top of nightly (Daniel) Signed-off-by: Namrta Salonie Signed-off-by: Deepak S --- drivers/gpu/drm/i915/i915_debugfs.c |

[Intel-gfx] [PATCH] drm/i915: Enabling RC6 immediately during init/resume

2015-12-01 Thread Namrta Salonie
not needed with immediate enabling of RC6, that is removed. And code extended to other GEN as well. (Chris & Daniel) Signed-off-by: Namrta Salonie Signed-off-by: Sagar Arun Kamble --- drivers/gpu/drm/i915/intel_pm.c | 126 +++ 1 file changed, 87 in

[Intel-gfx] [PATCH] drm/i915/vlv: Modifying RC6 Promotion timer for Media workloads.

2015-12-18 Thread Namrta Salonie
workloads based on command submission to MFX engine. Signed-off-by: Namrta Salonie Signed-off-by: Satyanantha, Rama Gopal M --- drivers/gpu/drm/i915/i915_drv.h|3 +++ drivers/gpu/drm/i915/i915_gem_execbuffer.c | 14 + drivers/gpu/drm/i915/i915_reg.h|2

[Intel-gfx] [PATCH 1/4] drm/i915: Fix for potential NULL pointer dereference at ctx access.

2015-11-19 Thread Namrta Salonie
Added a null check for the context pointer, before de-referencing it. Found by static analysis tool. Signed-off-by: Namrta Salonie --- drivers/gpu/drm/i915/i915_gpu_error.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b

[Intel-gfx] [PATCH 0/4] Fix issues reported by static code analysis tool

2015-11-19 Thread Namrta Salonie
The patchset is created to fix the issues static analysis tool has reported Namrta Salonie (4): drm/i915: Fix for potential NULL pointer dereference at ctx access. drm/i915: Fix possible null dereference in two debugfs functions drm/i915 : Fix to remove unnecsessary checks in postclose

[Intel-gfx] [PATCH 4/4] drm/i915: Fix potential NULL pointer de-reference in ggtt unbind.

2015-11-19 Thread Namrta Salonie
Found by static analysis tool. Signed-off-by: Namrta Salonie --- drivers/gpu/drm/i915/i915_drv.h |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 8afda45..705b1e6 100644 --- a/drivers/gpu/drm

[Intel-gfx] [PATCH 3/4] drm/i915 : Fix to remove unnecsessary checks in postclose function.

2015-11-19 Thread Namrta Salonie
Found by static analysis tool. Signed-off-by: Namrta Salonie --- drivers/gpu/drm/i915/i915_dma.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 2336af9..ac1bca6 100644 --- a/drivers/gpu/drm/i915/i915_dma.c

[Intel-gfx] [PATCH 2/4] drm/i915: Fix possible null dereference in two debugfs functions

2015-11-19 Thread Namrta Salonie
Found by static code analysis tool. Signed-off-by: Namrta Salonie Signed-off-by: Deepak S --- drivers/gpu/drm/i915/i915_debugfs.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915

[Intel-gfx] [PATCH] drm/i915: Enabling RC6 immediately during init/resume

2015-08-21 Thread Namrta Salonie
Since RC6 enabling does not involve PCU communication overhead, it can be enabled immediately during the resume time. This will help save additional power & meet power requirements for active Idle KPI where power is evaluated over number of transitions of suspend/resume. Signed-off-by: Na