OSDN Git Service

drm/amdgpu: access stolen VRAM directly on KV/KB (v2)
authorChristian König <christian.koenig@amd.com>
Fri, 4 Nov 2016 12:23:41 +0000 (13:23 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 17:20:44 +0000 (12:20 -0500)
commitf39093059b2f2998198ab1f7a4e0a92e177f0d66
treec72ed4475ea1c35709c83417c0bf8615c6d424eb
parent8485b5e1876b46d7c4f63a2cfcec2ee30362a207
drm/amdgpu: access stolen VRAM directly on KV/KB (v2)

We don't need to use the PCI BAR on APUs. This allows us to access
the full VRAM directly without being limited by the BAR size.

v2: squash in 64bit shift fix

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c