Re: [PATCH 5/5] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-06 Thread Christian König
Am 06.03.2017 um 13:06 schrieb Andy Shevchenko: On Mon, Mar 6, 2017 at 1:40 PM, Christian König wrote: From: Christian König Try to resize BAR0 to let CPU access all of VRAM. --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -616,6 +616,35 @@

Re: [PATCH 5/5] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-06 Thread Andy Shevchenko
On Mon, Mar 6, 2017 at 1:40 PM, Christian König wrote: > From: Christian König > > Try to resize BAR0 to let CPU access all of VRAM. > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > @@ -616,6 +616,35 @@ void amdgpu_gtt_location(struct amdgpu

[PATCH 5/5] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-06 Thread Christian König
From: Christian König Try to resize BAR0 to let CPU access all of VRAM. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 29 + drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 8 +---