Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217871
b: refs/heads/master
c: b3da8f7
h: refs/heads/master
i:
  217869: 6aeae72
  217867: 03ba5ed
  217863: a33d836
  217855: be1545d
v: v3
  • Loading branch information
Daniel Vetter authored and Dave Airlie committed Aug 29, 2010
1 parent d52031c commit da99f31
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd2e7931cdefa8e9acf63f0a4efd61ae0f89e77b
refs/heads/master: b3da8f7d2d1fa81fb65cb3f5d9e50dde40a83182
8 changes: 0 additions & 8 deletions trunk/drivers/gpu/drm/drm_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,6 @@ int drm_addctx(struct drm_device *dev, void *data,
return -ENOMEM;
}

if (ctx->handle != DRM_KERNEL_CONTEXT) {
if (dev->driver->context_ctor)
if (!dev->driver->context_ctor(dev, ctx->handle)) {
DRM_DEBUG("Running out of ctxs or memory.\n");
return -ENOMEM;
}
}

ctx_entry = kmalloc(sizeof(*ctx_entry), GFP_KERNEL);
if (!ctx_entry) {
DRM_DEBUG("out of memory\n");
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/gpu/drm/sis/sis_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ static struct drm_driver driver = {
.driver_features = DRIVER_USE_AGP | DRIVER_USE_MTRR,
.load = sis_driver_load,
.unload = sis_driver_unload,
.context_dtor = NULL,
.dma_quiescent = sis_idle,
.reclaim_buffers = NULL,
.reclaim_buffers_idlelocked = sis_reclaim_buffers_locked,
Expand Down
1 change: 0 additions & 1 deletion trunk/include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,6 @@ struct drm_driver {
int (*resume) (struct drm_device *);
int (*dma_ioctl) (struct drm_device *dev, void *data, struct drm_file *file_priv);
int (*dma_quiescent) (struct drm_device *);
int (*context_ctor) (struct drm_device *dev, int context);
int (*context_dtor) (struct drm_device *dev, int context);

/**
Expand Down

0 comments on commit da99f31

Please sign in to comment.