[PATCH] drm: fix fbs in DRM_IOCTL_MODE_GETRESOURCES ioctl

2011-06-09 Thread Dave Airlie
On Fri, 2011-06-03 at 12:54 +0200, Sascha Hauer wrote: > The DRM_IOCTL_MODE_GETRESOURCES ioctl just returns bogus framebuffers. > That is because the framebuffers for each file are in the filp_head > member of struct drm_framebuffer, not in the head member. > > Signed-off-by: Sascha Hauer > ---

Re: [PATCH] drm: fix fbs in DRM_IOCTL_MODE_GETRESOURCES ioctl

2011-06-08 Thread Dave Airlie
On Fri, 2011-06-03 at 12:54 +0200, Sascha Hauer wrote: > The DRM_IOCTL_MODE_GETRESOURCES ioctl just returns bogus framebuffers. > That is because the framebuffers for each file are in the filp_head > member of struct drm_framebuffer, not in the head member. > > Signed-off-by: Sascha Hauer > ---

[PATCH] drm: fix fbs in DRM_IOCTL_MODE_GETRESOURCES ioctl

2011-06-07 Thread Sascha Hauer
Hi David, Somehow my Cc got lost. Maybe you missed this. Any comments? Thanks Sascha On Fri, Jun 03, 2011 at 12:54:14PM +0200, Sascha Hauer wrote: > > The DRM_IOCTL_MODE_GETRESOURCES ioctl just returns bogus framebuffers. > That is because the framebuffers for each file are in the filp_head >

Re: [PATCH] drm: fix fbs in DRM_IOCTL_MODE_GETRESOURCES ioctl

2011-06-06 Thread Sascha Hauer
Hi David, Somehow my Cc got lost. Maybe you missed this. Any comments? Thanks Sascha On Fri, Jun 03, 2011 at 12:54:14PM +0200, Sascha Hauer wrote: > > The DRM_IOCTL_MODE_GETRESOURCES ioctl just returns bogus framebuffers. > That is because the framebuffers for each file are in the filp_head >

[PATCH] drm: fix fbs in DRM_IOCTL_MODE_GETRESOURCES ioctl

2011-06-03 Thread Sascha Hauer
The DRM_IOCTL_MODE_GETRESOURCES ioctl just returns bogus framebuffers. That is because the framebuffers for each file are in the filp_head member of struct drm_framebuffer, not in the head member. Signed-off-by: Sascha Hauer --- drivers/gpu/drm/drm_crtc.c |2 +- 1 files changed, 1 insertion

[PATCH] drm: fix fbs in DRM_IOCTL_MODE_GETRESOURCES ioctl

2011-06-03 Thread Sascha Hauer
The DRM_IOCTL_MODE_GETRESOURCES ioctl just returns bogus framebuffers. That is because the framebuffers for each file are in the filp_head member of struct drm_framebuffer, not in the head member. Signed-off-by: Sascha Hauer --- drivers/gpu/drm/drm_crtc.c |2 +- 1 files changed, 1 insertion