Re: What's the story with drmGetBufInfo?

2004-06-02 Thread Keith Whitwell
Dave Airlie wrote: BUT nothing uses it. Since it's broken, I'd like to remove all traces of it (from both user mode and kernel mode). Is there any reason not to? If we need that functionality later, we can design a better interface for it that will less fragile. http://dri.sourceforge.net/doc/

Re: What's the story with drmGetBufInfo?

2004-06-01 Thread Eric Anholt
On Tue, 2004-06-01 at 16:40, Ian Romanick wrote: > Nothing appears to call drmGetBufInfo. The drmBufInfo and drmBufDesc > structures aren't used anywhere except in that function. The problem is > (surprise!) the definition for drmBufDesc is different in drm.h from > what's in xf86drm.h. This

Re: What's the story with drmGetBufInfo?

2004-06-01 Thread Jon Smirl
drm/tests/drmstat.c uses it. --- Dave Airlie <[EMAIL PROTECTED]> wrote: > > > > BUT nothing uses it. Since it's broken, I'd like to remove all traces of it > > (from both user mode and kernel mode). Is there any reason not to? If we > > need that functionality later, we can design a better in

Re: What's the story with drmGetBufInfo?

2004-06-01 Thread Dave Airlie
> BUT nothing uses it. Since it's broken, I'd like to remove all traces of it > (from both user mode and kernel mode). Is there any reason not to? If we > need that functionality later, we can design a better interface for it that > will less fragile. http://dri.sourceforge.net/doc/drm_low_le

What's the story with drmGetBufInfo?

2004-06-01 Thread Ian Romanick
Nothing appears to call drmGetBufInfo. The drmBufInfo and drmBufDesc structures aren't used anywhere except in that function. The problem is (surprise!) the definition for drmBufDesc is different in drm.h from what's in xf86drm.h. This is only a problem because drmBufInfo has a pointer to an