Message ID | 1499837367-8368-3-git-send-email-Felix.Kuehling@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 87FA8602A0 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 12 Jul 2017 07:03:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 756222074F for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 12 Jul 2017 07:03:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6502128550; Wed, 12 Jul 2017 07:03:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_WEB, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EECBA2074F for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 12 Jul 2017 07:03:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 57F756E09C; Wed, 12 Jul 2017 07:03:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0080.outbound.protection.outlook.com [104.47.38.80]) by gabe.freedesktop.org (Postfix) with ESMTPS id D4DD16E09C for <dri-devel@lists.freedesktop.org>; Wed, 12 Jul 2017 07:03:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=f6+oylPCztqXxGXySYZzEoe2G+31IAikDIEydcp8XrM=; b=CIcBuKKe7e9SDZ230GFcmk29U+uvS/YIME5nVQO6pCFe/2dWkSBL5ue8u7Wt+gYpniGvhyflZ42+XLRCf9ymLXa7sEyQ89O/4J4CL+o8SBC7J7XtxW3mqzpTG7UjDHdGvDkr7UZsF+pe+tkfo5wmmi/IXuTC0+p2wOFrMD9BfSg= Authentication-Results: lists.freedesktop.org; dkim=none (message not signed) header.d=none; lists.freedesktop.org; dmarc=none action=none header.from=amd.com; Received: from Harpoon.amd.com (165.204.55.251) by BN6PR1201MB0225.namprd12.prod.outlook.com (10.174.115.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Wed, 12 Jul 2017 05:30:12 +0000 From: Felix Kuehling <Felix.Kuehling@amd.com> To: amd-gfx@lists.freedesktop.org Subject: [PATCH 2/6] drm/amdgpu: disallow foreign BOs for CS w/o GPUVM mapping Date: Wed, 12 Jul 2017 01:29:23 -0400 Message-Id: <1499837367-8368-3-git-send-email-Felix.Kuehling@amd.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499837367-8368-1-git-send-email-Felix.Kuehling@amd.com> References: <1499837367-8368-1-git-send-email-Felix.Kuehling@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.55.251] X-ClientProxiedBy: BN6PR19CA0083.namprd19.prod.outlook.com (10.175.197.21) To BN6PR1201MB0225.namprd12.prod.outlook.com (10.174.115.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 998090a3-66c6-41a5-1cd6-08d4c8e71189 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR1201MB0225; X-Microsoft-Exchange-Diagnostics: 1; BN6PR1201MB0225; 3:1BZWLHyBgnEvkHL3lGshSUmgPXB06GS0PgSdtk6sMmcEVHnFY/uzrf/ASQRfILTaaBKskWX+PMGiDxkTWTn5R+UzwNJue71mh/4z1C4iLwMXIFGA4360ucGPCUcb5ZsklMZ7oPzvcK56A4jVif/BQQqDCagqRzOS8OYs/VneOoGNjyle7J7n+KPE+lBu0JtvZGhxNGkzvE1NRBHLBLavB6j7OqOLMicWbMNNKFSDCeAA6VmxeE28FkZpElxMGtm/aTLRne55+NLWXy2vDoALlYi2uv4Tmy/YS8/s9izCq0Bkd9PGSoQ0QOuCKUuf9ODZjWYqzwizNW10WSy1U/8CNPLsjkeVUSFmeKNwaE07ZjSdC//hgkMbtUIhZZOno4JlLRllZa/b3dN94GQHFLuTPg8SLEFy7DoSw/12FAD62irXUXrWbIxuYG4R0aCragWoTnxxf5OOicchwDQCMTZwFOtfreTbuqT2IAvIYJYl2gENyzrV9waIqwoX88ayUe/njMNXCjmOsbw7W4jCfGfXGKtGAunwu225dCfOx9WyHcHJwug6osCVcMdgJ2Ef8SJsS1UOkAlREjpzYgm1eFzy9gpCbHSvA9EOMuFRjQfhKttouGwU4idZF2zD3o3ZqaULmKWTrVWfP7MwpdqWP5PEMU3mtCfzp29Mq4E6wmzgGurt9tnKr5YSvBmB1D5er9Xu0ty6V5lKSDH7iz+bTcsbkLa6ZkC4Xk0/EgviidOGf+dJLzv1u1jUvoAXKdozuCGjdWa66CMF03YgUhoR+o4/PA== X-MS-TrafficTypeDiagnostic: BN6PR1201MB0225: X-Microsoft-Exchange-Diagnostics: 1; BN6PR1201MB0225; 25:sBir50oh63MHDJpxtVYER0VBt707J01NL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Zb+nbz24HXCqGG6TUrPwkuC//1fvATXzCt X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Microsoft-Antispam-PRVS: <BN6PR1201MB02256C39808DB00C95AFFA5D92AF0@BN6PR1201MB0225.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123560025)(20161123558100)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR1201MB0225; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR1201MB0225; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjEyMDFNQjAyMjU7NDphSklMNmUxM3Z4c2xRclQ4UmNrbCtOd0hy?= =?utf-8?B?YTJqS2hwanYyQWI5aFRTNm1VK0tmekxoT0xCWGJrb3E4QlRCblhaNWtrT1NG?= =?utf-8?B?ZnpkUStETTVLQlZxR2QzNDlYc2I5a1BDckpLWmRtdlFLaUpoOUFoNDhwZU56?= =?utf-8?B?U0k5U1FKQ2I4WTAxNmlMVy9xR09KQ21wUFZwQnhKTSs2aXl6eGpwREkwdXdP?= =?utf-8?B?MlhUWktHVUx4bFl3VmN2VnhyV20wQXdpWllETjNkZEZXZzVsS05WSGpIQ3Y3?= =?utf-8?B?ckU3U0JnTXZSVW5RMVRDZEJ2MERjNGR6MDlUZW8yY2wvWStiOGk5QWo5WnFO?= =?utf-8?B?dWdtTnRYbHY2NXB6WE91a1M3cGlIRFN5V0doVWRLOThxVHRaWWp4MkU3MUFv?= =?utf-8?B?Z1J6VW9URU5Ya0ZoZG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aK1JMb3EySU0wOWlwUFJwTVVDaW1SNyt3SDFzMndoazhWWWhRdWFr?= =?utf-8?B?bkREOTlHb0tOSUJpUTFtNzlHSlpJeUptbmVyekRmOGpYVE5FMU12cDFDRUwz?= =?utf-8?B?NUVEMm9kdmQvdStYSElaREN4N0loRFFielA3c3h6MXhZeTRzMkZuWktId2VY?= =?utf-8?B?cUlLcVFnNzd1ZktvaHpJTHJrQzh4WnNyb2ZSeVdPQjNwcXI0V0drK3dHTWkr?= =?utf-8?B?M29EZ3J4a0o3ZU5BcEtxOUk3M2RjcGVtRTZoV09xQ0FsZm5ZcmpWb1JZb3hv?= =?utf-8?Q?L4cmZr+9BfrYYLj9LVUWe?= X-Forefront-PRVS: 036614DD9C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39400400002)(39860400002)(39850400002)(39410400002)(39840400002)(39450400003)(50986999)(50466002)(50226002)(6486002)(8676002)(2906002)(2870700001)(110136004)(38730400002)(81166006)(76176999)(2351001)(66066001)(2361001)(47776003)(7350300001)(23676002)(189998001)(53416004)(42186005)(36756003)(6116002)(3846002)(305945005)(450100002)(4326008)(86362001)(7736002)(25786009)(53936002)(5660300001)(2950100002)(72206003)(6916009)(6666003)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR1201MB0225; H:Harpoon.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjEyMDFNQjAyMjU7MjM6bDc5VHBjaS91Nnd1RURlb09nRmJiWlB0?= =?utf-8?B?dE5xUjZvdmt0YkltRUZvUTE1Z1dDc2xRaGJ0ay9VY3VwSHFKUGlvK1FmeHVu?= =?utf-8?B?bUNmSHRqWW5CNW1oeGtJZzB6RmQzWEZ0ZUlhSVlPUnpFQVRieVNlcVJ0b0Z5?= =?utf-8?B?UGdhekVza0pJVFBtUTJYeWlCdFNvNFpKbG1mbWpac1VIZHdONEdMajhVSlli?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GyvTelP9PLfIr+RIzg+akS9yoO2DnyFvrAt/SN8QZ+NvPuWPWVP3M11oWNcX9maewFu5hb5kYICmFbLuNE5JBle5TrtQ6Y0/qkswufgBdMvT6C2J5IxTBcGNYztb5lOMof9YC7RP2+f55YOyKmK1dNFku4X1uUPBmxVeh4ITzMqzACFuO3QX12D1w0l+peFUkyBSPC6acfW5nJXO4SZHMUNjgMu/UOAWX1uqDpuF82pXl9kOQBSBMAOQ7m7lqX0tlahvpsE4uuCV2hnwF1qKexftq8id8z0ZhWpdcrDQ4+Xov9Q2CWnKXQui6sUCuUZvBkYSARDxr2scLhMgWz2vmfQ71cpoihdye+t+4/vMBksOjBLewc8NDOG8iBn4080etY1xoURuWeTeJUHXgVRImC2AjBwOu0lZ9agsNWC4In+g8sOzA4vqQoAZUbgMKdhreQCRRgGP3pwzIodOmUAhM9T3RIkCufQdzoTBWk+QMCHP+LGQZpMY/hK7B9uP2kZPti5RK94s4WjYfOjKWzXGSonpYG725CD7Oyu7s2jGp2Amvbmgwfu+28BliadE0= X-Microsoft-Exchange-Diagnostics: 1; BN6PR1201MB0225; 20:wrU41TgN1ClS9PSo26m7zP8NnVR+DJf9PwvS6L5iQNsWshh2WLwY5KutDyDXD5jYo0RV+bUmfoPIsZWGeVb8SG887QK72zXuO1mafzu0vULcznHLEoMgvJrIoUgJSEbF+wvytTRJwK9UqC3dUBEVsrRVRRrGHUJEVqY0/Lhg/HTRgFbWLTc1ssU4b3ROkHbJ0Q588vQd23lppcZq17lZZ0MquNFONm0qfPVvo7Nw9uLpqZ5vmUzw7XSHlYFfQs/P X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2017 05:30:12.1875 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1201MB0225 Cc: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 44ec11d..aef0389 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -1397,7 +1397,8 @@ struct amdgpu_bo_va_mapping * struct amdgpu_bo_list_entry *lobj; lobj = &parser->bo_list->array[i]; - if (!lobj->bo_va) + if (!lobj->bo_va || + amdgpu_ttm_adev(lobj->bo_va->bo->tbo.bdev) != parser->adev) continue; list_for_each_entry(mapping, &lobj->bo_va->valids, list) {