drm/i915: check for oom when allocating private_default_ctx
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 31 Jan 2014 15:00:28 +0000 (17:00 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Feb 2014 11:10:26 +0000 (12:10 +0100)
commit7f76b23aae21890b28cf415a4f8123523a7abb24
treeaaeee1a6f7de78013e71f4e8ed3e225b8eab1e33
parent76c3552f9f65005f406cbffe95b981e30ef51428
drm/i915: check for oom when allocating private_default_ctx

Found with smatch

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c