]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use 256 bit buffers for all wb allocations (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Jul 2017 16:14:15 +0000 (12:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:46:08 +0000 (14:46 -0400)
commit64d652b67d642142a1ff10c0b4acae2864b03a9d
treebc917a5af723a143eb3e98b5655d3423e9e390f0
parent1ae61257ddc684958bf8b58f4b71522d294e0503
drm/amdgpu: use 256 bit buffers for all wb allocations (v2)

May waste a bit of memory, but simplifies the interface
significantly.

v2: convert internal accounting to use 256bit slots

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c