]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix and cleanup amdgpu_bo_create v2
authorChristian König <christian.koenig@amd.com>
Tue, 12 Sep 2017 08:56:17 +0000 (10:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Sep 2017 16:10:14 +0000 (12:10 -0400)
commit32a5d421cde161d4db504572537128efd8b81ede
tree76ac1c2e7915283c4870e6f9329f1009f2183737
parent97d38d3ecf06f81792223b86d6bbd2897119b430
drm/amdgpu: fix and cleanup amdgpu_bo_create v2

We adjusted the BO flags for USWC handling, but those never took effect
because the placement was passed in instead of generated inside this
function.

v2: better commit message

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