Message ID | 20200311135158.3310-4-christian.koenig@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=X1q9=44=lists.freedesktop.org=intel-gfx-bounces@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C9FB513B1 for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 11 Mar 2020 15:04:38 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 08E54206C0 for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 11 Mar 2020 15:04:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="uyovfVmH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08E54206C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E333F6E9A5; Wed, 11 Mar 2020 15:04:38 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3D4876E461; Wed, 11 Mar 2020 13:52:05 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id a25so2739481wrd.0; Wed, 11 Mar 2020 06:52:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=EdSiddoWJSbLr+HoD/rzQuDxDnh96tXalnlSTnjDyNk=; b=uyovfVmHoUpJGca3KPR3hEuZGZPkjcpdS+oPRNeqe3FtcmEkco8RfEZ2xTLTtEi8lS RYds8e20jUlD9+jclVVXCmCVJf73noEot1YssBGGUbb3i0ZsythHwvkjU1NXZopwyfOG vQ5jVXhjU5H2EFzJyOVvhLg1Y1z7SrBPaE2buNnnixU6mjAwqmTITAodgyukgpqZdQ0A MA3IhakWtrS2dIRD4VGSQxVa5Rr0uO3TnQBt5s1rK8wP9KPcq/+uYQ+XKRo1Y6M8LoG6 jAfv6lYa/nz2nfKB5zqIMiHnLdyovUdsYNF5zGcZqdYwav3UyaX8/g8BO19BzmJ5QI1b spFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EdSiddoWJSbLr+HoD/rzQuDxDnh96tXalnlSTnjDyNk=; b=iEQOVVPUbSK1nYAY2TVqJR0Iz+lqQc7aYZfXWoyPwDey9KOIy/RCEunyHgSV5k/nQl e+Bm5GxRkslT5rFyD/rSEwoh/l+zopV5StCgx6sdmJidSjCjdL/VUVVdfNPIY/K6pSMS UnIqsgGwz/UMFtivaiv4gNJ3exD5iYgQQHMcfVMjTRZCwHTY6x1goEPCb5S4WPZHa5rn SP54h8b/d7xwPB/oE1V6tFUE+dT6NjR/C47VoRCQzv2GOuGLaGFY1mcnIMKdnC00yHts SPvUgd6JJwXYP0Olkzq0oPfKLMXosq83f00+rMsJkasrsVRVOOcLLRXVV0HIizb+EIvf kioQ== X-Gm-Message-State: ANhLgQ1ejqpSdBR/yrvFaIb9dyxoIDAV+xr0O2UH6qELi/03bkrhsphk L5pC2mC7XS+L4lD0FFYcpqA= X-Google-Smtp-Source: ADFU+vvDQZoAP5t9Kngx119jPf9FnMzZ0/34dIRh4GcUnTweoHDleFgPZOnhX6aF+GPkB1qrkgUMDg== X-Received: by 2002:a5d:410a:: with SMTP id l10mr4361775wrp.380.1583934723968; Wed, 11 Mar 2020 06:52:03 -0700 (PDT) Received: from abel.fritz.box ([2a02:908:1252:fb60:8dc:e796:e7da:a319]) by smtp.gmail.com with ESMTPSA id 138sm3183811wmb.21.2020.03.11.06.52.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 06:52:03 -0700 (PDT) From: " =?utf-8?q?Christian_K=C3=B6nig?= " <ckoenig.leichtzumerken@gmail.com> X-Google-Original-From: =?utf-8?q?Christian_K=C3=B6nig?= <christian.koenig@amd.com> To: David1.Zhou@amd.com, hch@infradead.org, jgg@ziepe.ca, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-media@vger.kernel.org, intel-gfx@lists.freedesktop.org Date: Wed, 11 Mar 2020 14:51:55 +0100 Message-Id: <20200311135158.3310-4-christian.koenig@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200311135158.3310-1-christian.koenig@amd.com> References: <20200311135158.3310-1-christian.koenig@amd.com> MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 11 Mar 2020 15:04:30 +0000 Subject: [Intel-gfx] [PATCH 3/6] drm/amdgpu: note that we can handle peer2peer DMA-buf X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> |
Series |
[1/6] lib/scatterlist: add sg_set_dma_addr() function
|
expand
|
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c index ffeb20f11c07..aef12ee2f1e3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c @@ -514,6 +514,7 @@ amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach) } static const struct dma_buf_attach_ops amdgpu_dma_buf_attach_ops = { + .allow_peer2peer = true, .move_notify = amdgpu_dma_buf_move_notify };
Importing should work out of the box. Signed-off-by: Christian König <christian.koenig@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 1 + 1 file changed, 1 insertion(+)