summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/radeon/sid.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/radeon/sid.h')
-rw-r--r--sys/dev/pci/drm/radeon/sid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/radeon/sid.h b/sys/dev/pci/drm/radeon/sid.h
index 52cd8d9b92f..8770f031cd9 100644
--- a/sys/dev/pci/drm/radeon/sid.h
+++ b/sys/dev/pci/drm/radeon/sid.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sid.h,v 1.3 2014/01/24 04:57:35 jsg Exp $ */
+/* $OpenBSD: sid.h,v 1.4 2014/02/10 01:05:07 jsg Exp $ */
/*
* Copyright 2011 Advanced Micro Devices, Inc.
*
@@ -882,7 +882,7 @@
* 6. COMMAND [30:21] | 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)
@@ -897,7 +897,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