diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-02-10 01:05:08 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-02-10 01:05:08 +0000 |
commit | a6055c2b5b11395ce7a41d9ac5cc5de4534e328d (patch) | |
tree | ebb0237c4dea064d50f136314f5692d98650ad0e /sys/dev/pci/drm/radeon/evergreend.h | |
parent | 0b07c3ff5e38e6cac47a4eb0cce038d9b4fd708a (diff) |
drm/radeon: fix typo in CP DMA register headers
From Alex Deucher
1f549c8c9e500848ac4d79b6069baed001adfd18 in ubuntu 3.8
aa3e146d04b6ae37939daeebaec060562b3db559 in mainline linux
Diffstat (limited to 'sys/dev/pci/drm/radeon/evergreend.h')
-rw-r--r-- | sys/dev/pci/drm/radeon/evergreend.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/radeon/evergreend.h b/sys/dev/pci/drm/radeon/evergreend.h index 659f36ca5a4..f4865ba49de 100644 --- a/sys/dev/pci/drm/radeon/evergreend.h +++ b/sys/dev/pci/drm/radeon/evergreend.h @@ -1,4 +1,4 @@ -/* $OpenBSD: evergreend.h,v 1.2 2013/09/01 10:36:31 jsg Exp $ */ +/* $OpenBSD: evergreend.h,v 1.3 2014/02/10 01:05:07 jsg Exp $ */ /* * Copyright 2010 Advanced Micro Devices, Inc. * @@ -1051,7 +1051,7 @@ * 6. COMMAND [29:22] | BYTE_COUNT [20:0] */ # define PACKET3_CP_DMA_DST_SEL(x) ((x) << 20) - /* 0 - SRC_ADDR + /* 0 - DST_ADDR * 1 - GDS */ # define PACKET3_CP_DMA_ENGINE(x) ((x) << 27) @@ -1066,7 +1066,7 @@ # define PACKET3_CP_DMA_CP_SYNC (1 << 31) /* COMMAND */ # define PACKET3_CP_DMA_DIS_WC (1 << 21) -# define PACKET3_CP_DMA_CMD_SRC_SWAP(x) ((x) << 23) +# define PACKET3_CP_DMA_CMD_SRC_SWAP(x) ((x) << 22) /* 0 - none * 1 - 8 in 16 * 2 - 8 in 32 |