|
@@ -4313,8 +4313,8 @@ static int cik_cp_gfx_start(struct radeon_device *rdev)
|
|
/* init the CE partitions. CE only used for gfx on CIK */
|
|
/* init the CE partitions. CE only used for gfx on CIK */
|
|
radeon_ring_write(ring, PACKET3(PACKET3_SET_BASE, 2));
|
|
radeon_ring_write(ring, PACKET3(PACKET3_SET_BASE, 2));
|
|
radeon_ring_write(ring, PACKET3_BASE_INDEX(CE_PARTITION_BASE));
|
|
radeon_ring_write(ring, PACKET3_BASE_INDEX(CE_PARTITION_BASE));
|
|
- radeon_ring_write(ring, 0xc000);
|
|
|
|
- radeon_ring_write(ring, 0xc000);
|
|
|
|
|
|
+ radeon_ring_write(ring, 0x8000);
|
|
|
|
+ radeon_ring_write(ring, 0x8000);
|
|
|
|
|
|
/* setup clear context state */
|
|
/* setup clear context state */
|
|
radeon_ring_write(ring, PACKET3(PACKET3_PREAMBLE_CNTL, 0));
|
|
radeon_ring_write(ring, PACKET3(PACKET3_PREAMBLE_CNTL, 0));
|
|
@@ -9447,6 +9447,9 @@ void dce8_bandwidth_update(struct radeon_device *rdev)
|
|
u32 num_heads = 0, lb_size;
|
|
u32 num_heads = 0, lb_size;
|
|
int i;
|
|
int i;
|
|
|
|
|
|
|
|
+ if (!rdev->mode_info.mode_config_initialized)
|
|
|
|
+ return;
|
|
|
|
+
|
|
radeon_update_display_priority(rdev);
|
|
radeon_update_display_priority(rdev);
|
|
|
|
|
|
for (i = 0; i < rdev->num_crtc; i++) {
|
|
for (i = 0; i < rdev->num_crtc; i++) {
|