diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-08-24 22:46:13 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-25 10:09:30 -0400 |
commit | 52293c67f1e7542a6dc61037d83c266e216bef27 (patch) | |
tree | 51af2a9e0c5cbd678d74373082683f43995a767d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | a887adadb7b9ef9eb4ee48e4ad575aefcfd1db14 (diff) |
drm/amdgpu: fix IH ring allocation for bus addresses (v2)
Use pci_alloc_consistent rather than kzalloc since we
need 256 byte aligned memory for the ring buffer.
v2: fix copy paste typo in free function noticed
by Jammy.
bug:
https://bugs.freedesktop.org/show_bug.cgi?id=91749
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions