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