[PATCH] radeon: fix r600/agp when vram is after AGP (v2)

2012-04-17 Thread Dave Airlie
From: Dave Airlie If AGP is placed in the middle, the size_af is off-by-one, it results in VRAM being placed at 0x7fff instead of 0x800. v2: fix the vram_start setup. Reported-by: russiane39 on #radeon Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/r600.c |4 ++-- 1 files

[PATCH] radeon: fix r600/agp when vram is after AGP (v2)

2012-04-17 Thread Dave Airlie
From: Dave Airlie If AGP is placed in the middle, the size_af is off-by-one, it results in VRAM being placed at 0x7fff instead of 0x800. v2: fix the vram_start setup. Reported-by: russiane39 on #radeon Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/r600.c |4 ++-- 1 files