From patchwork Wed May 10 17:50:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 9720307 Return-Path: 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 21E176035D for ; Wed, 10 May 2017 17:50:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 448F32074F for ; Wed, 10 May 2017 17:50:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 390B528623; Wed, 10 May 2017 17:50:52 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 ED8092074F for ; Wed, 10 May 2017 17:50:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A9FC26E3C3; Wed, 10 May 2017 17:50:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001:c06::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7B36D6E3BF; Wed, 10 May 2017 17:50:43 +0000 (UTC) Received: by mail-io0-x243.google.com with SMTP id m4so851283ioe.0; Wed, 10 May 2017 10:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zNKaDWfOCvhgtNULCuBhsB/QAtoZ93f2dZbz4tIh+hU=; b=REAHuGrvPUY+MeS278tSlpTh/FugaGvqnzeDwAkXaperh0ruFXm6VYeQ/mFpY3G2aV wexS+1vzj6osP93WxIxi1oOh/Q3K4p/9ONx6SJ3gmgLFMYWeU9XBgsU1zfALYA7VegJn +e47BeCKfsgsUebkX6tTtggP50aOSDfB/G5G+p/Dr57z8SKaYTNmfbgkoRldTNplGtt8 MxTKmXxRWL/fv8Ov9G9PUIgVz0M5S7kp++jVuykHSWNN1SEFT9JKfJ/acFvI7v6SU3Cs nNSP0xRb8qW4GPVOps7nrDcsqZAxhORueyslnjl/2KkALVlO94FIMZcjH4+9FVSBZO/W NjKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zNKaDWfOCvhgtNULCuBhsB/QAtoZ93f2dZbz4tIh+hU=; b=NyOgUHqms9RPFxcnKeNof3aeErAwJ8ob/Y8SH9hMgEwFY0Nxz8hsvVGbsgX3Gl8FcD 6zlCiDa0k5yOAkb99Qa69euRh7ZQEbsi+sSxPrGqmT1cR4QiW2gp8v3G3RRXGGDu0sdx EFUCeMNCje16VV3qISBK6aGmrRNz4z9Rj9l8rbh/4iQUCRRK0uX/ntZpxCFCHAVIc30p Tfzc07bYHDIuXNy5EN/HLG6yiW/gI35KiMqSMPRXmtuKi3S2g8XTqBTbiWfmZKyCrg4o PMMpFRqHzTSYV48RgsxibedhZ2T19i6BErc4tWb1F1kkYA+t/EigAvkQQ1BtGIHOxBR6 9NTw== X-Gm-Message-State: AODbwcD/Q3SE11tE2BemcTCUJI3FU5LuDJU6HLl1P6alBHaOfNYLdbP/ fFSvKsLIA8bKRnzZ X-Received: by 10.107.25.3 with SMTP id 3mr4500271ioz.62.1494438642701; Wed, 10 May 2017 10:50:42 -0700 (PDT) Received: from cm.amd.com ([165.204.55.251]) by smtp.gmail.com with ESMTPSA id 141sm1957305itz.4.2017.05.10.10.50.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 May 2017 10:50:42 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 3/3] amdgpu/drm: add AMDGPU_HW_IP_VCN_ENC Date: Wed, 10 May 2017 13:50:31 -0400 Message-Id: <1494438631-16747-3-git-send-email-alexander.deucher@amd.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1494438631-16747-1-git-send-email-alexander.deucher@amd.com> References: <1494438631-16747-1-git-send-email-alexander.deucher@amd.com> Cc: Alex Deucher , Leo Liu X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Leo Liu Signed-off-by: Leo Liu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- include/drm/amdgpu_drm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index add5163..8cfe68c 100644 --- a/include/drm/amdgpu_drm.h +++ b/include/drm/amdgpu_drm.h @@ -407,7 +407,8 @@ struct drm_amdgpu_gem_va { #define AMDGPU_HW_IP_VCE 4 #define AMDGPU_HW_IP_UVD_ENC 5 #define AMDGPU_HW_IP_VCN_DEC 6 -#define AMDGPU_HW_IP_NUM 7 +#define AMDGPU_HW_IP_VCN_ENC 7 +#define AMDGPU_HW_IP_NUM 8 #define AMDGPU_HW_IP_INSTANCE_MAX_COUNT 1