Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329301
b: refs/heads/master
c: 4d46259
h: refs/heads/master
i:
  329299: aa63c1e
v: v3
  • Loading branch information
Laurent Pinchart authored and Dave Airlie committed Aug 23, 2012
1 parent 68ba6e5 commit 64044ce
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 97 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: 9a9f5786fcccda3cc61eaa8f537690327eff6853
refs/heads/master: 4d46259f00c6dd04d53e74cdfa8f8b6ec35c0140
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/gma500/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
ccflags-y += -I$(srctree)/include/drm

gma500_gfx-y += gem_glue.o \
gma500_gfx-y += \
accel_2d.o \
backlight.o \
framebuffer.o \
Expand Down
9 changes: 7 additions & 2 deletions trunk/drivers/gpu/drm/gma500/gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ int psb_gem_init_object(struct drm_gem_object *obj)
void psb_gem_free_object(struct drm_gem_object *obj)
{
struct gtt_range *gtt = container_of(obj, struct gtt_range, gem);
drm_gem_object_release_wrap(obj);

/* Remove the list map if one is present */
if (obj->map_list.map)
drm_gem_free_mmap_offset(obj);
drm_gem_object_release(obj);

/* This must occur last as it frees up the memory of the GEM object */
psb_gtt_free_range(obj->dev, gtt);
}
Expand Down Expand Up @@ -77,7 +82,7 @@ int psb_gem_dumb_map_gtt(struct drm_file *file, struct drm_device *dev,

/* Make it mmapable */
if (!obj->map_list.map) {
ret = gem_create_mmap_offset(obj);
ret = drm_gem_create_mmap_offset(obj);
if (ret)
goto out;
}
Expand Down
90 changes: 0 additions & 90 deletions trunk/drivers/gpu/drm/gma500/gem_glue.c

This file was deleted.

2 changes: 0 additions & 2 deletions trunk/drivers/gpu/drm/gma500/gem_glue.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/drivers/gpu/drm/gma500/psb_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

#include <drm/drmP.h>
#include "drm_global.h"
#include "gem_glue.h"
#include "gma_drm.h"
#include "psb_reg.h"
#include "psb_intel_drv.h"
Expand Down

0 comments on commit 64044ce

Please sign in to comment.