Message ID | 1376517769-7171-12-git-send-email-daniel.vetter@ffwll.ch (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Aug 15, 2013 at 9:24 AM, Chris Wilson <chris@chris-wilson.co.uk> wrote: > On Thu, Aug 15, 2013 at 12:02:40AM +0200, Daniel Vetter wrote: >> All the gem based kms drivers really want the same function to >> destroy a dumb framebuffer backing storage object. >> >> So give it to them and roll it out in all drivers. >> >> This still leaves the option open for kms drivers which don't use GEM >> for backing storage, but it does decently simplify matters for gem >> drivers. > > You only add a header here, is there a chunk missing from the code or > was it exported already and just not declared? The patch is merged already, but somehow rebase thought that chunk is missing. This patch can be savely ignored ;-) -Daniel
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 0eb4a37..f08bbcf 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1619,6 +1619,9 @@ int drm_gem_handle_create(struct drm_file *file_priv, u32 *handlep); int drm_gem_handle_delete(struct drm_file *filp, u32 handle); +int drm_gem_dumb_destroy(struct drm_file *file, + struct drm_device *dev, + uint32_t handle); void drm_gem_free_mmap_offset(struct drm_gem_object *obj); int drm_gem_create_mmap_offset(struct drm_gem_object *obj);