Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d07f5c4c authored by Alex Deucher's avatar Alex Deucher
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -227,7 +227,7 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev,
	 * do this as a temporary workaround
	 */
	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)
				byte_align = ALIGN(byte_align, 0x8000);
			if (size & 0x7fff)