Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp925574imj; Sat, 9 Feb 2019 10:57:18 -0800 (PST) X-Google-Smtp-Source: AHgI3IbicuRo1UU3JiXYz8XKradIkI+TBraXzj3NyZHCQVt7ie2dUJXl9JP59xav0kdRp0V/DGzE X-Received: by 2002:a17:902:7608:: with SMTP id k8mr23766138pll.245.1549738638384; Sat, 09 Feb 2019 10:57:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549738638; cv=none; d=google.com; s=arc-20160816; b=ZdJjSseoBmfNlGPyualzxC/JFcoxAcXA9bx5O0vdBixDhDl9/3lQO/W2AnivMyzjE5 rLhrpIXwQzh+9rKyebV5XNasSABT0Qi9jBVNeJCyRCFRozS7IuWnj36hSiM2HFwLU1Ta SllcD54SS9zWIcnji4oqr8ljmYPfzb23CpwcaBqMAFBZjiq7R8XprNm35gkjJLfGl16/ d+gOsDBt6PNFsxZUkgA7ERDYlSHLIrCXjBMwQf8d+cgO08M+yJDAJStDqhypfEfTWOor hUpnzPsoA7NrCkMick1ezD4voJhjXjFMGC1D0vyqkN/AJi+0imsYU62ehAgmvMERLnUh OvsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+nqkWZXZHH6/QUaw7buwrvvTcuJ2r4CzgYotxocY48A=; b=z9tEkhSEHRvwLH+ZMsBEvwsdYYn9Ks756AxMrNFLIEjntxceOKt0QmMFTnY+U6eCg3 4xAdZYPSslDiuc5TJJjF1Z32L41/yTNw+pP/9NUesnXJXzsS8VfYX5i2hv8XCrzp+iJU YTEujBSSLpP3YZP0SbhsyNJ7ocVXsoPkEllfEjrZolxRU62SkmnA/V3MDp4fcm59PgTm glKGM09xf8xsAkOzfq2HfLReNx0VHJqHZGWztOp0m5wwCfQY//VXlPPzs/Bb1tYpPy2O H3em20SCmRi9iDPe+Z2tJqG009hrKgb5TQQvIIiW6z6ji2GQP27p0L2F1s9fpSiUEU3A 13pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EDgXJNBm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si5899497plp.114.2019.02.09.10.57.02; Sat, 09 Feb 2019 10:57:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EDgXJNBm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727594AbfBISsP (ORCPT + 99 others); Sat, 9 Feb 2019 13:48:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:32970 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727518AbfBISsO (ORCPT ); Sat, 9 Feb 2019 13:48:14 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8238F21919; Sat, 9 Feb 2019 18:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549738093; bh=rInsUxZ/JgzRMsfhwfaXW9BE1ybDcXNaiUUhVbulyoE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EDgXJNBm33aPb5yy6M+fgKb6VgeNc7GAHUibCtu2oK8CdbPRRZhn/slBp/okHlEy+ vcS6JQHwM2CEsHebQUr3DZU4cy/lUDXO2HR/tFt6qKU5YFv7tvTDw9Hea7q/IRKllv K5qQLp+iW1y3xbs5YylBIdtQ3xyO/ZkYiOoJAIWk= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: =?UTF-8?q?Christian=20K=C3=B6nig?= , Alex Deucher , Sasha Levin , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 4.20 28/42] drm/amdgpu: disable system memory page tables for now Date: Sat, 9 Feb 2019 13:47:20 -0500 Message-Id: <20190209184734.125935-28-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190209184734.125935-1-sashal@kernel.org> References: <20190209184734.125935-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christian König [ Upstream commit 1c1eba86339c8517814863bc7dd21e2661a84e77 ] We hit a problem with IOMMU with that. Disable until we have time to debug further. Signed-off-by: Christian König Reviewed-by: Michel Dänzer Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 0877ff9a9594..8c9abaa7601a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -850,9 +850,6 @@ static void amdgpu_vm_bo_param(struct amdgpu_device *adev, struct amdgpu_vm *vm, bp->size = amdgpu_vm_bo_size(adev, level); bp->byte_align = AMDGPU_GPU_PAGE_SIZE; bp->domain = AMDGPU_GEM_DOMAIN_VRAM; - if (bp->size <= PAGE_SIZE && adev->asic_type >= CHIP_VEGA10 && - adev->flags & AMD_IS_APU) - bp->domain |= AMDGPU_GEM_DOMAIN_GTT; bp->domain = amdgpu_bo_get_preferred_pin_domain(adev, bp->domain); bp->flags = AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS | AMDGPU_GEM_CREATE_CPU_GTT_USWC; -- 2.19.1