diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-23 08:59:32 -0800 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-23 08:59:32 -0800 | 
| commit | f42ecb2808db5386f983d593a7c08d3ea3b94a27 (patch) | |
| tree | 3b5584f4e5e73f5f01807e5176cbe29e1db69868 /drivers/gpu/drm/radeon/r300_cmdbuf.c | |
| parent | 119eecc831a42bd090543568932e440c6831f1bb (diff) | |
| parent | d94a5108f716bbd524358eb5a440d63991744a62 (diff) | |
| download | olio-linux-3.10-f42ecb2808db5386f983d593a7c08d3ea3b94a27.tar.xz olio-linux-3.10-f42ecb2808db5386f983d593a7c08d3ea3b94a27.zip  | |
Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (35 commits)
  drm/radeon/kms: add definitions for v4 power tables
  drm/radeon/kms: never combine LVDS with another encoder
  drm/radeon/kms: Check module arguments to be valid V2
  drm/radeon/kms: Avoid crash when trying to cleanup uninitialized structure
  drm/radeon/kms: add cvt mode if we only have lvds w/h and no edid (v4)
  drm/radeon/kms: add 3DC compression support
  drm/radeon/kms: allow rendering while no colorbuffer is set on r300
  drm/radeon/kms: enable memory clock reading on legacy (V2)
  drm/radeon/kms: prevent parallel AtomBIOS calls
  drm/radeon/kms: set proper default tv standard
  drm/radeon/kms: fix legacy rmx
  drm/radeon/kms/atom: fill in proper defines for digital setup
  drm/kms: silencing a false positive warning.
  drm/mm: fix logic for selection of best fit block
  drm/vmwgfx: Use TTM handles instead of SIDs as user-space surface handles.
  drm/vmwgfx: Return -ERESTARTSYS when interrupted by a signal.
  drm/vmwgfx: Fix unlocked ioctl and add proper access control
  drm/radeon: fix build on 64-bit with some compilers.
  drivers/gpu: Use kzalloc for allocating only one thing
  DRM: Rename clamp variable
  ...
Diffstat (limited to 'drivers/gpu/drm/radeon/r300_cmdbuf.c')
| -rw-r--r-- | drivers/gpu/drm/radeon/r300_cmdbuf.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/r300_cmdbuf.c b/drivers/gpu/drm/radeon/r300_cmdbuf.c index cb2e470f97d..34bffa0e4b7 100644 --- a/drivers/gpu/drm/radeon/r300_cmdbuf.c +++ b/drivers/gpu/drm/radeon/r300_cmdbuf.c @@ -990,7 +990,7 @@ static inline int r300_emit_r500fp(drm_radeon_private_t *dev_priv,  	int sz;  	int addr;  	int type; -	int clamp; +	int isclamp;  	int stride;  	RING_LOCALS; @@ -999,10 +999,10 @@ static inline int r300_emit_r500fp(drm_radeon_private_t *dev_priv,  	addr = ((header.r500fp.adrhi_flags & 1) << 8) | header.r500fp.adrlo;  	type = !!(header.r500fp.adrhi_flags & R500FP_CONSTANT_TYPE); -	clamp = !!(header.r500fp.adrhi_flags & R500FP_CONSTANT_CLAMP); +	isclamp = !!(header.r500fp.adrhi_flags & R500FP_CONSTANT_CLAMP);  	addr |= (type << 16); -	addr |= (clamp << 17); +	addr |= (isclamp << 17);  	stride = type ? 4 : 6;  |