radeon_hd: Ensure vramBase is at 0.

* This value is card internal framebuffer offset
* 0 is the proper value, however it was causing issues for me
* The mode setting issues I saw before are now gone, and this
  seems to make mode setting more stable now.
This commit is contained in:
Alexander von Gluck IV 2012-03-02 16:03:35 -06:00
parent 7dd182106a
commit 7c89d968b5

View File

@ -457,9 +457,8 @@ radeon_gpu_mc_init()
if (gInfo->shared_info->frame_buffer_size > 0)
gInfo->fb.valid = true;
// TODO: 0 should be correct here... but it gets me vertical stripes
//uint64 vramBase = 0;
uint64 vramBase = gInfo->shared_info->frame_buffer_phys;
// This is the card internal location.
uint64 vramBase = 0;
if ((info.chipsetFlags & CHIP_IGP) != 0) {
vramBase = Read32(OUT, fbVMLocationReg) & 0xFFFF;