Re: [Intel-gfx] [PATCH v2] drm/i915: Clean-up idr table if context create fails.

2015-04-02 Thread shuang . he
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6122 -Summary- Platform Delta drm-intel-nightly Series Applied PNV 272/272

[Intel-gfx] [PATCH v2] drm/i915: Clean-up idr table if context create fails.

2015-04-02 Thread deepak . s
From: Deepak S Cleanup idr table if any error happens after __create_hw_context() in i915_gem_create_context() v2: add a new err_idr (Daniel) Signed-off-by: Deepak S --- drivers/gpu/drm/i915/i915_gem_context.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/g