r600d.h (bb51eeee5a947f61eeefaa55221c26460542654d) | r600d.h (134b480f4b92654b9590fad6c9374c7dc6722375) |
---|---|
1/* 2 * Copyright 2009 Advanced Micro Devices, Inc. 3 * Copyright 2009 Red Hat Inc. 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the "Software"), 7 * to deal in the Software without restriction, including without limitation 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, --- 1185 unchanged lines hidden (view full) --- 1194# define AFMT_AUDIO_TEST_EN (1 << 12) 1195# define AFMT_AUDIO_CHANNEL_SWAP (1 << 24) 1196# define AFMT_60958_CS_UPDATE (1 << 26) 1197# define AFMT_AZ_AUDIO_ENABLE_CHG_MASK (1 << 27) 1198# define AFMT_AZ_FORMAT_WTRIG_MASK (1 << 28) 1199# define AFMT_AZ_FORMAT_WTRIG_ACK (1 << 29) 1200# define AFMT_AZ_AUDIO_ENABLE_CHG_ACK (1 << 30) 1201 | 1/* 2 * Copyright 2009 Advanced Micro Devices, Inc. 3 * Copyright 2009 Red Hat Inc. 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the "Software"), 7 * to deal in the Software without restriction, including without limitation 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, --- 1185 unchanged lines hidden (view full) --- 1194# define AFMT_AUDIO_TEST_EN (1 << 12) 1195# define AFMT_AUDIO_CHANNEL_SWAP (1 << 24) 1196# define AFMT_60958_CS_UPDATE (1 << 26) 1197# define AFMT_AZ_AUDIO_ENABLE_CHG_MASK (1 << 27) 1198# define AFMT_AZ_FORMAT_WTRIG_MASK (1 << 28) 1199# define AFMT_AZ_FORMAT_WTRIG_ACK (1 << 29) 1200# define AFMT_AZ_AUDIO_ENABLE_CHG_ACK (1 << 30) 1201 |
1202/* DCE3 FMT blocks */ 1203#define FMT_CONTROL 0x6700 1204# define FMT_PIXEL_ENCODING (1 << 16) 1205 /* 0 = RGB 4:4:4 or YCbCr 4:4:4, 1 = YCbCr 4:2:2 */ 1206#define FMT_BIT_DEPTH_CONTROL 0x6710 1207# define FMT_TRUNCATE_EN (1 << 0) 1208# define FMT_TRUNCATE_DEPTH (1 << 4) 1209# define FMT_SPATIAL_DITHER_EN (1 << 8) 1210# define FMT_SPATIAL_DITHER_MODE(x) ((x) << 9) 1211# define FMT_SPATIAL_DITHER_DEPTH (1 << 12) 1212# define FMT_FRAME_RANDOM_ENABLE (1 << 13) 1213# define FMT_RGB_RANDOM_ENABLE (1 << 14) 1214# define FMT_HIGHPASS_RANDOM_ENABLE (1 << 15) 1215# define FMT_TEMPORAL_DITHER_EN (1 << 16) 1216# define FMT_TEMPORAL_DITHER_DEPTH (1 << 20) 1217# define FMT_TEMPORAL_DITHER_OFFSET(x) ((x) << 21) 1218# define FMT_TEMPORAL_LEVEL (1 << 24) 1219# define FMT_TEMPORAL_DITHER_RESET (1 << 25) 1220# define FMT_25FRC_SEL(x) ((x) << 26) 1221# define FMT_50FRC_SEL(x) ((x) << 28) 1222# define FMT_75FRC_SEL(x) ((x) << 30) 1223#define FMT_CLAMP_CONTROL 0x672c 1224# define FMT_CLAMP_DATA_EN (1 << 0) 1225# define FMT_CLAMP_COLOR_FORMAT(x) ((x) << 16) 1226# define FMT_CLAMP_6BPC 0 1227# define FMT_CLAMP_8BPC 1 1228# define FMT_CLAMP_10BPC 2 1229 |
|
1202/* Power management */ 1203#define CG_SPLL_FUNC_CNTL 0x600 1204# define SPLL_RESET (1 << 0) 1205# define SPLL_SLEEP (1 << 1) 1206# define SPLL_REF_DIV(x) ((x) << 2) 1207# define SPLL_REF_DIV_MASK (7 << 2) 1208# define SPLL_FB_DIV(x) ((x) << 5) 1209# define SPLL_FB_DIV_MASK (0xff << 5) --- 308 unchanged lines hidden (view full) --- 1518 * 2. SRC_ADDR_LO [31:0] 1519 * 3. CP_SYNC [31] | SRC_ADDR_HI [7:0] 1520 * 4. DST_ADDR_LO [31:0] 1521 * 5. DST_ADDR_HI [7:0] 1522 * 6. COMMAND [29:22] | BYTE_COUNT [20:0] 1523 */ 1524# define PACKET3_CP_DMA_CP_SYNC (1 << 31) 1525/* COMMAND */ | 1230/* Power management */ 1231#define CG_SPLL_FUNC_CNTL 0x600 1232# define SPLL_RESET (1 << 0) 1233# define SPLL_SLEEP (1 << 1) 1234# define SPLL_REF_DIV(x) ((x) << 2) 1235# define SPLL_REF_DIV_MASK (7 << 2) 1236# define SPLL_FB_DIV(x) ((x) << 5) 1237# define SPLL_FB_DIV_MASK (0xff << 5) --- 308 unchanged lines hidden (view full) --- 1546 * 2. SRC_ADDR_LO [31:0] 1547 * 3. CP_SYNC [31] | SRC_ADDR_HI [7:0] 1548 * 4. DST_ADDR_LO [31:0] 1549 * 5. DST_ADDR_HI [7:0] 1550 * 6. COMMAND [29:22] | BYTE_COUNT [20:0] 1551 */ 1552# define PACKET3_CP_DMA_CP_SYNC (1 << 31) 1553/* COMMAND */ |
1526# define PACKET3_CP_DMA_CMD_SRC_SWAP(x) ((x) << 22) | 1554# define PACKET3_CP_DMA_CMD_SRC_SWAP(x) ((x) << 23) |
1527 /* 0 - none 1528 * 1 - 8 in 16 1529 * 2 - 8 in 32 1530 * 3 - 8 in 64 1531 */ 1532# define PACKET3_CP_DMA_CMD_DST_SWAP(x) ((x) << 24) 1533 /* 0 - none 1534 * 1 - 8 in 16 --- 732 unchanged lines hidden --- | 1555 /* 0 - none 1556 * 1 - 8 in 16 1557 * 2 - 8 in 32 1558 * 3 - 8 in 64 1559 */ 1560# define PACKET3_CP_DMA_CMD_DST_SWAP(x) ((x) << 24) 1561 /* 0 - none 1562 * 1 - 8 in 16 --- 732 unchanged lines hidden --- |