diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/gpu/drm/drm_context.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'drivers/gpu/drm/drm_context.c')
-rw-r--r-- | drivers/gpu/drm/drm_context.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/drm_context.c b/drivers/gpu/drm/drm_context.c index 2607753a320b..6d440fb894cf 100644 --- a/drivers/gpu/drm/drm_context.c +++ b/drivers/gpu/drm/drm_context.c | |||
@@ -333,14 +333,6 @@ int drm_addctx(struct drm_device *dev, void *data, | |||
333 | return -ENOMEM; | 333 | return -ENOMEM; |
334 | } | 334 | } |
335 | 335 | ||
336 | if (ctx->handle != DRM_KERNEL_CONTEXT) { | ||
337 | if (dev->driver->context_ctor) | ||
338 | if (!dev->driver->context_ctor(dev, ctx->handle)) { | ||
339 | DRM_DEBUG("Running out of ctxs or memory.\n"); | ||
340 | return -ENOMEM; | ||
341 | } | ||
342 | } | ||
343 | |||
344 | ctx_entry = kmalloc(sizeof(*ctx_entry), GFP_KERNEL); | 336 | ctx_entry = kmalloc(sizeof(*ctx_entry), GFP_KERNEL); |
345 | if (!ctx_entry) { | 337 | if (!ctx_entry) { |
346 | DRM_DEBUG("out of memory\n"); | 338 | DRM_DEBUG("out of memory\n"); |