All of lore.kernel.org
 help / color / mirror / Atom feed
From: Monk Liu <Monk.Liu-5C7GfCeVMHo@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Monk Liu <Monk.Liu-5C7GfCeVMHo@public.gmane.org>
Subject: [PATCH 1/7] drm/amdgpu:add new file for SRIOV
Date: Mon, 9 Jan 2017 16:02:56 +0800	[thread overview]
Message-ID: <1483948982-27056-2-git-send-email-Monk.Liu@amd.com> (raw)
In-Reply-To: <1483948982-27056-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>

Change-Id: I7e21c52e5b0c7ef39a706a3191293f3d7b5a7e08
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/Makefile      |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c

diff --git a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile
index 4185b03..0b8e470 100644
--- a/drivers/gpu/drm/amd/amdgpu/Makefile
+++ b/drivers/gpu/drm/amd/amdgpu/Makefile
@@ -30,7 +30,7 @@ amdgpu-y += amdgpu_device.o amdgpu_kms.o \
 	atombios_encoders.o amdgpu_sa.o atombios_i2c.o \
 	amdgpu_prime.o amdgpu_vm.o amdgpu_ib.o amdgpu_pll.o \
 	amdgpu_ucode.o amdgpu_bo_list.o amdgpu_ctx.o amdgpu_sync.o \
-	amdgpu_gtt_mgr.o amdgpu_vram_mgr.o
+	amdgpu_gtt_mgr.o amdgpu_vram_mgr.o amdgpu_virt.o
 
 # add asic specific block
 amdgpu-$(CONFIG_DRM_AMDGPU_CIK)+= cik.o cik_ih.o kv_smc.o kv_dpm.o \
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
new file mode 100644
index 0000000..0bfec66
--- /dev/null
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
@@ -0,0 +1,23 @@
+/*
+ * Copyright 2016 Advanced Micro Devices, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ *
+ */
+#include "amdgpu.h"
\ No newline at end of file
-- 
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2017-01-09  8:02 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-09  8:02 [PATCH 0/7] static CSA for SRIOV serials Monk Liu
     [not found] ` <1483948982-27056-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-01-09  8:02   ` Monk Liu [this message]
     [not found]     ` <1483948982-27056-2-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-01-09 10:57       ` [PATCH 1/7] drm/amdgpu:add new file for SRIOV Christian König
2017-01-09  8:02   ` [PATCH 2/7] drm/amdgpu:new field members " Monk Liu
     [not found]     ` <1483948982-27056-3-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-01-09 10:57       ` Christian König
     [not found]         ` <9f6b9ab8-3bb1-7a57-75d9-70d23d5dd74b-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-01-10  3:03           ` 答复: " Liu, Monk
     [not found]             ` <BY2PR1201MB11106E7ABC5FF87AF1F6F67A84670-O28G1zQ8oGliQkyLPkmea2rFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-01-10  9:51               ` Christian König
     [not found]                 ` <aec66a0f-0fd7-1e02-f160-999fc76de4a6-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-01-10  9:57                   ` 答复: " Liu, Monk
     [not found]                     ` <BY2PR1201MB1110F2B6E7FB093F369ACA2884670-O28G1zQ8oGliQkyLPkmea2rFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-01-10 12:25                       ` Christian König
2017-01-10  3:05           ` Liu, Monk
     [not found]             ` <BY2PR1201MB1110963B2DE72B2892D4AC1F84670-O28G1zQ8oGliQkyLPkmea2rFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-01-10  9:48               ` Christian König
2017-01-09  8:02   ` [PATCH 3/7] drm/amdgpu:impl static CSA alloc/dealloc Monk Liu
     [not found]     ` <1483948982-27056-4-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-01-09 10:59       ` Christian König
2017-01-09  8:02   ` [PATCH 4/7] drm/amdgpu:impl static CSA map/unmap routines Monk Liu
     [not found]     ` <1483948982-27056-5-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-01-09 11:01       ` Christian König
2017-01-09  8:03   ` [PATCH 5/7] drm/amdgpu:set static csa function Monk Liu
     [not found]     ` <1483948982-27056-6-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-01-09 11:02       ` Christian König
2017-01-09  8:03   ` [PATCH 6/7] drm/amdgpu:alloc/dealloc csa accordingly Monk Liu
     [not found]     ` <1483948982-27056-7-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-01-10  7:56       ` Nils Wallménius
     [not found]         ` <CA+nq7DuCviSbC7ty46j7YqYM83c5=oZF19eAfZLT1_ehYNqu+A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-10  9:59           ` 答复: " Liu, Monk
2017-01-09  8:03   ` [PATCH 7/7] drm/amdgpu:map/unmap static " Monk Liu
     [not found]     ` <1483948982-27056-8-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2017-01-09 11:04       ` Christian König
     [not found]         ` <4f78e5dd-f7e8-0976-5abf-305e0b793ba1-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-01-10  2:40           ` 答复: " Liu, Monk
     [not found]             ` <BY2PR1201MB11108A5E8A3EF7F10C0392AE84670-O28G1zQ8oGliQkyLPkmea2rFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-01-10  9:44               ` Christian König
     [not found]                 ` <cd95519f-f45b-6865-0fab-e75a970a48b0-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-01-10  9:53                   ` 答复: " Liu, Monk
     [not found]                     ` <BY2PR1201MB1110632E66A596FA820250E584670-O28G1zQ8oGliQkyLPkmea2rFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-01-10 12:19                       ` Christian König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1483948982-27056-2-git-send-email-Monk.Liu@amd.com \
    --to=monk.liu-5c7gfcevmho@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.