gma500: Fix clashes with DRM updates
PATCH 1/1 gma500: Fix clashes with DRM updates
From: Alan Cox <[email protected]>
The private object support has migrated from gma500 into the DRM core, remove our now clashing copy so -next can build.
---
drivers/staging/gma500/gem_glue.c | 23 +---------------------- drivers/staging/gma500/gem_glue.h | 2 -- 2 files changed, 1 insertions(+), 24 deletions(-)
drivers/staging/gma500/gem_glue.c +1 -22
@@ -20,26 +20,6 @@#include <drm/drmP.h> #include <drm/drm.h> -/** -* Initialize an already allocated GEM object of the specified size with -* no GEM provided backing store. Instead the caller is responsible for -* backing the object and handling it. -*/ -int drm_gem_private_object_init (struct drm_device *dev, -struct drm_gem_object *obj,size_t size) -{ -BUG_ON ((size & (PAGE_SIZE -1 )) !=0 ); - - obj->dev = dev; - obj->filp =NULL ; - -kref_init (&obj->refcount); -atomic_set (&obj->handle_count,0 ); - obj->size = size; - -return 0 ; -} -void drm_gem_object_release_wrap (struct drm_gem_object *obj) {/* Remove the list map if one is present */
@@ -51,8 +31,7 @@ void drm_gem_object_release_wrap(struct drm_gem_object *obj)kfree (list->map); list->map =NULL ; } -if (obj->filp) -drm_gem_object_release (obj); +drm_gem_object_release (obj); }/**
drivers/staging/gma500/gem_glue.h +0 -2
@@ -1,4 +1,2 @@extern void drm_gem_object_release_wrap (struct drm_gem_object *obj); -extern int drm_gem_private_object_init (struct drm_device *dev, -struct drm_gem_object *obj,size_t size);extern int gem_create_mmap_offset (struct drm_gem_object *obj);
Quoted 6 lines · Alan Cox
From: Alan Cox <[email protected]>
The private object support has migrated from gma500 into the DRM core, remove our now clashing copy so -next can build.
Signed-off-by Alan Cox <[email protected]>
This patch is needed in Linus' tree, as it is currently causing a build failure for either i386 or x86_64 allyesconfig.
-hpa
Quoted 10 lines · H. Peter Anvin
Quoted 6 lines · Alan Cox
From: Alan Cox <[email protected]>
The private object support has migrated from gma500 into the DRM core, remove our now clashing copy so -next can build.
Signed-off-by Alan Cox <[email protected]>This patch is needed in Linus' tree, as it is currently causing a build failure for either i386 or
x86_64allyesconfig.
Ick, it is? I don't see that here on my builds, what am I doing wrong?
confused,
greg k-h
Quoted 7 lines · Greg KH
Quoted 6 lines · H. Peter Anvin
Quoted 5 lines · Alan Cox
From: Alan Cox <[email protected]>
The private object support has migrated from gma500 into the DRM core, remove our now clashing copy so -next can build.
Quoted 9 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Alan Cox <[email protected]>This patch is needed in Linus' tree, as it is currently causing a build failure for either i386 or
x86_64allyesconfig.Ick, it is? I don't see that here on my builds, what am I doing wrong?
confused,
No idea, but do a "make allyesconfig" on Linus' tree and you'll see it.
-hpa
Quoted 13 lines · H. Peter Anvin
Quoted 12 lines · Greg KH
Quoted 10 lines · H. Peter Anvin
Quoted 6 lines · Alan Cox
From: Alan Cox <[email protected]>
The private object support has migrated from gma500 into the DRM core, remove our now clashing copy so -next can build.
Signed-off-by Alan Cox <[email protected]>This patch is needed in Linus' tree, as it is currently causing a build failure for either i386 or
x86_64allyesconfig.
Quoted 6 lines
Quoted 4 lines
Ick, it is? I don't see that here on my builds, what am I doing wrong?
confused,
No idea, but do a "make allyesconfig" on Linus' tree and you'll see it.
Ah, it's a link error, now I see it. I'll queue it up, and some other staging tree fixes and get them to Linus very soon now.
thanks,
greg k-h