diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-08-20 11:08:52 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-10-17 17:10:12 -0400 |
commit | ed4c9c4acf948b42b138747fcb8843ecb1a24ce4 (patch) | |
tree | 62c84a1557b8af36ba0d532925089bcc7ff4c5ff /drivers/gpu/drm | |
parent | 673a394b1e3b69be886ff24abfd6df97c52e8d08 (diff) |
i915: Add chip set ID param.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index f167ff68a4bf..ea85d71cab04 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c | |||
@@ -689,6 +689,9 @@ static int i915_getparam(struct drm_device *dev, void *data, | |||
689 | case I915_PARAM_LAST_DISPATCH: | 689 | case I915_PARAM_LAST_DISPATCH: |
690 | value = READ_BREADCRUMB(dev_priv); | 690 | value = READ_BREADCRUMB(dev_priv); |
691 | break; | 691 | break; |
692 | case I915_PARAM_CHIPSET_ID: | ||
693 | value = dev->pci_device; | ||
694 | break; | ||
692 | case I915_PARAM_HAS_GEM: | 695 | case I915_PARAM_HAS_GEM: |
693 | value = 1; | 696 | value = 1; |
694 | break; | 697 | break; |