summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-08-24 22:46:13 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-08-25 10:09:30 -0400
commit52293c67f1e7542a6dc61037d83c266e216bef27 (patch)
tree51af2a9e0c5cbd678d74373082683f43995a767d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parenta887adadb7b9ef9eb4ee48e4ad575aefcfd1db14 (diff)
downloadop-kernel-dev-52293c67f1e7542a6dc61037d83c266e216bef27.zip
op-kernel-dev-52293c67f1e7542a6dc61037d83c266e216bef27.tar.gz
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.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud