]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: default to 2048 MB GART size on SI+
authorGrigori Goronzy <greg@chown.ath.cx>
Thu, 2 Jul 2015 23:54:12 +0000 (01:54 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jul 2015 16:41:41 +0000 (12:41 -0400)
commit98678bc30bc64bea99d3e0091f458c943ab743b8
tree3f134f0924481a9e8ab425051055aececce9e91b
parent4466262c0d71ea36f0b3923804ede43347064ea8
drm/radeon: default to 2048 MB GART size on SI+

Newer ASICs have more VRAM on average and allocating more GART as
well can have advantages. Also see commit e135001d.

Ideally, we should scale GART size based on actual VRAM size, but
that requires significant restructuring of initialization.

v2: extract small helper, apply to error paths

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Grigori Goronzy <greg@chown.ath.cx>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_device.c