r520.c (51c8b4071d84d46cc100baa5931ad06b2a823c95) | r520.c (f779b3e513478218cbaaaa0a506d7801cab6fd14) |
---|---|
1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * Copyright 2008 Red Hat Inc. 4 * Copyright 2009 Jerome Glisse. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation --- 163 unchanged lines hidden (view full) --- 172 * FG_SFIFO_SIZE_MASK 0x000000030 173 * ZB_MFIFO_SIZE_SHIFT 6 174 * ZB_MFIFO_SIZE_MASK 0x0000000C0 175 * GA_ENHANCE 0x4274 176 * SU_REG_DEST 0x42C8 177 */ 178 /* workaround for RV530 */ 179 if (rdev->family == CHIP_RV530) { | 1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * Copyright 2008 Red Hat Inc. 4 * Copyright 2009 Jerome Glisse. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation --- 163 unchanged lines hidden (view full) --- 172 * FG_SFIFO_SIZE_MASK 0x000000030 173 * ZB_MFIFO_SIZE_SHIFT 6 174 * ZB_MFIFO_SIZE_MASK 0x0000000C0 175 * GA_ENHANCE 0x4274 176 * SU_REG_DEST 0x42C8 177 */ 178 /* workaround for RV530 */ 179 if (rdev->family == CHIP_RV530) { |
180 WREG32(0x4124, 1); | |
181 WREG32(0x4128, 0xFF); 182 } 183 r420_pipes_init(rdev); 184 gb_pipe_select = RREG32(0x402C); 185 tmp = RREG32(0x170C); 186 pipe_select_current = (tmp >> 2) & 3; 187 tmp = (1 << pipe_select_current) | 188 (((gb_pipe_select >> 8) & 0xF) << 4); --- 58 unchanged lines hidden --- | 180 WREG32(0x4128, 0xFF); 181 } 182 r420_pipes_init(rdev); 183 gb_pipe_select = RREG32(0x402C); 184 tmp = RREG32(0x170C); 185 pipe_select_current = (tmp >> 2) & 3; 186 tmp = (1 << pipe_select_current) | 187 (((gb_pipe_select >> 8) & 0xF) << 4); --- 58 unchanged lines hidden --- |