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:
parent
7dd182106a
commit
7c89d968b5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user