Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376455
b: refs/heads/master
c: 2cf3a4f
h: refs/heads/master
i:
  376453: a9f0073
  376451: 4f551aa
  376447: 8407caa
v: v3
  • Loading branch information
Alex Deucher committed May 29, 2013
1 parent 409cb9a commit e727b78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 09fb8bd1a63b0f9f15e655c4fe8d047e5d2bf67a
refs/heads/master: 2cf3a4fcc64e5b54a8a3cd793c6c0024b5d8da6c
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/radeon/radeon_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,9 @@ bool radeon_card_posted(struct radeon_device *rdev)
rdev->pdev->subsystem_vendor == PCI_VENDOR_ID_APPLE)
return false;

if (ASIC_IS_NODCE(rdev))
goto check_memsize;

/* first check CRTCs */
if (ASIC_IS_DCE4(rdev)) {
reg = RREG32(EVERGREEN_CRTC_CONTROL + EVERGREEN_CRTC0_REGISTER_OFFSET) |
Expand Down Expand Up @@ -499,6 +502,7 @@ bool radeon_card_posted(struct radeon_device *rdev)
}
}

check_memsize:
/* then check MEM_SIZE, in case the crtcs are off */
if (rdev->family >= CHIP_R600)
reg = RREG32(R600_CONFIG_MEMSIZE);
Expand Down

0 comments on commit e727b78

Please sign in to comment.