Commit d07f5c4c authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: remove VM workaround for Fiji

The bug is fixed in fiji.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 188a9bcd
...@@ -227,7 +227,7 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev, ...@@ -227,7 +227,7 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev,
* do this as a temporary workaround * do this as a temporary workaround
*/ */
if (!(domain & (AMDGPU_GEM_DOMAIN_GDS | AMDGPU_GEM_DOMAIN_GWS | AMDGPU_GEM_DOMAIN_OA))) { if (!(domain & (AMDGPU_GEM_DOMAIN_GDS | AMDGPU_GEM_DOMAIN_GWS | AMDGPU_GEM_DOMAIN_OA))) {
if (adev->asic_type >= CHIP_TOPAZ) { if ((adev->asic_type >= CHIP_TOPAZ) && (adev->asic_type != CHIP_FIJI)) {
if (byte_align & 0x7fff) if (byte_align & 0x7fff)
byte_align = ALIGN(byte_align, 0x8000); byte_align = ALIGN(byte_align, 0x8000);
if (size & 0x7fff) if (size & 0x7fff)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment