aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-04-08 11:13:01 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-04-09 10:23:50 -0400
commit9ed8b1f93ca3a274079cb36826af1331f83cd118 (patch)
treee993a18bf16c041da976e16871cd3fb5eeadf6c2 /drivers/gpu/drm/radeon/radeon.h
parent367cbe2fec9b57b72605e2ac4cfd4f2fa823a256 (diff)
drm/radeon: clean up vram/gtt location handling
Add a per-asic MC (memory controller) mask which holds the mak address mask the asic is capable of. Use this when calculating the vram and gtt locations rather using asic specific functions or limiting everything to 32 bits. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 8263af3fd832..8bd875304441 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -517,6 +517,7 @@ struct radeon_mc {
517 bool vram_is_ddr; 517 bool vram_is_ddr;
518 bool igp_sideport_enabled; 518 bool igp_sideport_enabled;
519 u64 gtt_base_align; 519 u64 gtt_base_align;
520 u64 mc_mask;
520}; 521};
521 522
522bool radeon_combios_sideport_present(struct radeon_device *rdev); 523bool radeon_combios_sideport_present(struct radeon_device *rdev);