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)
commit5e3c4f907043a7fae1b48e86536dc7b9efa07e29
tree3f134f0924481a9e8ab425051055aececce9e91b
parent54e03986133468e02cb01b76215e4d53a9cf6380
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 edcd26e8.

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