[Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h v4

2013-07-26 Thread Jesse Barnes
For use by userspace (at some point in the future) and other kernel code. v2: move PCI IDs to uabi (Chris) move PCI IDs to drm/ (Dave) v3: fixup Quanta detection - needs to come first (Daniel) v4: fix up PCI match structure init for easier use by userspace (Chris) Signed-off-by: Jesse Barnes

[Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h v3

2013-07-25 Thread Jesse Barnes
For use by userspace (at some point in the future) and other kernel code. v2: move PCI IDs to uabi (Chris) move PCI IDs to drm/ (Dave) v3: fixup Quanta detection - needs to come first (Daniel) Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org --- drivers/gpu/drm/i915/i915_drv.c | 164

Re: [Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h v3

2013-07-25 Thread Chad Versace
On 07/24/2013 05:04 PM, Jesse Barnes wrote: For use by userspace (at some point in the future) and other kernel code. v2: move PCI IDs to uabi (Chris) move PCI IDs to drm/ (Dave) v3: fixup Quanta detection - needs to come first (Daniel) Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org

Re: [Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h v3

2013-07-25 Thread Chris Wilson
On Thu, Jul 25, 2013 at 09:37:48AM -0700, Jesse Barnes wrote: For use by userspace (at some point in the future) and other kernel code. v2: move PCI IDs to uabi (Chris) move PCI IDs to drm/ (Dave) v3: fixup Quanta detection - needs to come first (Daniel) One last comment! +#define

[Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h

2013-07-24 Thread Jesse Barnes
For use by userspace (at some point in the future) and other kernel code. Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org --- drivers/gpu/drm/i915/i915_drv.c | 158 ++ include/drm/i915_drm.h | 180 +++ 2 files

Re: [Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h

2013-07-24 Thread Chris Wilson
On Wed, Jul 24, 2013 at 10:22:48AM -0700, Jesse Barnes wrote: For use by userspace (at some point in the future) and other kernel code. Deal. Move it to include/uapi/drm/i915_chipsets.h or i915_pciids.h and we'll start using them. There are too many people with OCD around here to let you get

Re: [Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h

2013-07-24 Thread Daniel Vetter
On Wed, Jul 24, 2013 at 10:22:48AM -0700, Jesse Barnes wrote: For use by userspace (at some point in the future) and other kernel code. Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org Note that this split isn't too useful for userspace in newer generations. We still have the

Re: [Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h

2013-07-24 Thread Chris Wilson
On Thu, Jul 25, 2013 at 12:14:14AM +0200, Daniel Vetter wrote: On Wed, Jul 24, 2013 at 10:22:48AM -0700, Jesse Barnes wrote: For use by userspace (at some point in the future) and other kernel code. Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org Note that this split isn't too

[Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h v2

2013-07-24 Thread Jesse Barnes
For use by userspace (at some point in the future) and other kernel code. v2: move PCI IDs to uabi (Chris) move PCI IDs to drm/ (Dave) Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org --- drivers/gpu/drm/i915/i915_drv.c | 158 ++--- include/drm/i915_drm.h

[Intel-gfx] [PATCH 1/2] drm/i915: split PCI IDs out into i915_drm.h v3

2013-07-24 Thread Jesse Barnes
For use by userspace (at some point in the future) and other kernel code. v2: move PCI IDs to uabi (Chris) move PCI IDs to drm/ (Dave) v3: fixup Quanta detection - needs to come first (Daniel) Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org --- drivers/gpu/drm/i915/i915_drv.c | 164