OSDN Git Service

Add name/open ioctls, separate handle and pointer ref counts.
authorKeith Packard <keithp@keithp.com>
Fri, 2 May 2008 19:28:49 +0000 (12:28 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 2 May 2008 19:29:17 +0000 (12:29 -0700)
commit39e20bcd5f4bf9fedac80188fda2e9fcab2f0360
tree7349a479090d3fd8917ec775610fc304834e1b4b
parent49e8e3372afcf5fab9ffef5691d87ad8bc19599a
Add name/open ioctls, separate handle and pointer ref counts.

Names are just another unique integer set (from another idr object).
Names are removed when the user refernces (handles) are all destroyed --
this required that handles for objects be counted separately from
internal kernel references (so that we can tell when the handles are all
gone).
linux-core/drmP.h
linux-core/drm_drv.c
linux-core/drm_gem.c
linux-core/i915_gem.c
shared-core/drm.h