diff options
author | Adam Jackson <ajax@redhat.com> | 2009-12-03 17:14:42 -0500 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-12-07 17:55:56 -0500 |
commit | f2b115e69d46344ae7afcaad5823496d2a0d8650 (patch) | |
tree | 8bf56f7d43e3462a26088317bad04f04b676d26c /drivers/gpu/drm/i915/i915_gem_tiling.c | |
parent | 107f517b8f2a9d5858e640bc046606b1cff14bb5 (diff) |
drm/i915: Fix product names and #defines
IGD* isn't a useful name. Replace with the codenames, as sourced from
pci.ids.
Signed-off-by: Adam Jackson <ajax@redhat.com>
[anholt: Fixed up for merge with pineview/ironlake changes]
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_tiling.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_tiling.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c b/drivers/gpu/drm/i915/i915_gem_tiling.c index 0c8df96a1ef8..30d6af6c09bb 100644 --- a/drivers/gpu/drm/i915/i915_gem_tiling.c +++ b/drivers/gpu/drm/i915/i915_gem_tiling.c | |||
@@ -209,8 +209,8 @@ i915_gem_detect_bit_6_swizzle(struct drm_device *dev) | |||
209 | uint32_t swizzle_y = I915_BIT_6_SWIZZLE_UNKNOWN; | 209 | uint32_t swizzle_y = I915_BIT_6_SWIZZLE_UNKNOWN; |
210 | bool need_disable; | 210 | bool need_disable; |
211 | 211 | ||
212 | if (IS_IGDNG(dev)) { | 212 | if (IS_IRONLAKE(dev)) { |
213 | /* On IGDNG whatever DRAM config, GPU always do | 213 | /* On Ironlake whatever DRAM config, GPU always do |
214 | * same swizzling setup. | 214 | * same swizzling setup. |
215 | */ | 215 | */ |
216 | swizzle_x = I915_BIT_6_SWIZZLE_9_10; | 216 | swizzle_x = I915_BIT_6_SWIZZLE_9_10; |