Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp741918imm; Thu, 13 Sep 2018 07:06:40 -0700 (PDT) X-Google-Smtp-Source: ANB0VdavSsz7oaBvjfii7BoEkMmSbM2Di/w5a/fAf/NJGJj/uN7Aa0RK67ULMz2jpvGrnDmfIFqB X-Received: by 2002:a65:4384:: with SMTP id m4-v6mr7311401pgp.265.1536847600512; Thu, 13 Sep 2018 07:06:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536847600; cv=none; d=google.com; s=arc-20160816; b=BqNgx6F0CsP5CIo2qD+jlir44BeBi2FwWJQ0UUJXA+x11mCzbUlL8SzqIDE1O5Sy6k 3YAOsSGx0k4/oF/EvkqvlvIYPfQ3V1dhzAcDVO+WRh55IZ5zlNqpqF4dvAarx68c+E5q KSNesu5qolBCFHV8SaSoVKQXsmhw2GVFTb0g7+cdAL/Zpeb4CryDqjrvhgOfdsxk3A9a fgoHn7QUc5bFcHTlSxsy8XRvFolrzPBecCV/IAP6BVUp+P4/dmPCG3KpONenWaHqdq9J elJZinfUKtSTGwu1dTcmUzjajEch+dm/7LLcM9Gh4ObNnid5e6rfvZtNJZRW972qSu4B 3B1A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=6OWKTvitMBtyErRcUHjs7DzMUIEYmHDpmA1C83QTUiE=; b=kGYwdrmgPxkZBBKxXyQmj2f67T8KIbFNOs6JALM7+pkUsIStaj6jIEiRt4YntTqZk5 Tkmp80SAMTz+6GzbDL2bY8DMwADxW4ChKHb/ScRjzuu5vxRvwp07eLfYzAGV0TbrxU7p KYaG9ab+09Ytg8DiFAXc7yinxajmpZ7ZqpPcdA6uW8RbNZN2fXqDn1B4lguGrfPdAUFP SOHoTMQJDzGHPOwwhlCXy+L98BPOMux6BLY5kdnOmb+/pd61Os2KprbreuTFztN/yAJO uACgUmkVQMdQtfsGoB0gpFCHHMMsTPmVvAKG2bKwMk9qYUZYMkyAjb4UaO6vbFlP02/b a0kw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3-v6si3734819pgu.248.2018.09.13.07.06.18; Thu, 13 Sep 2018 07:06:40 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729738AbeIMTPp (ORCPT + 99 others); Thu, 13 Sep 2018 15:15:45 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35560 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727995AbeIMTPo (ORCPT ); Thu, 13 Sep 2018 15:15:44 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 1495ED36; Thu, 13 Sep 2018 14:06:04 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Leo Liu , Alex Deucher Subject: [PATCH 4.18 156/197] drm/amdgpu: update uvd_v6_0_ring_vm_funcs to use new nop packet Date: Thu, 13 Sep 2018 15:31:45 +0200 Message-Id: <20180913131847.796884988@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alex Deucher commit afb1436c7b44ab928e6369a4d48e3abb8215241e upstream. Was missed when updating the uvd 6 module. Fixes: 1aac3c9180 (drm/amdgpu: fix insert nop for UVD6 ring) Reviewed-by: Leo Liu Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c @@ -1569,7 +1569,6 @@ static const struct amdgpu_ring_funcs uv static const struct amdgpu_ring_funcs uvd_v6_0_ring_vm_funcs = { .type = AMDGPU_RING_TYPE_UVD, .align_mask = 0xf, - .nop = PACKET0(mmUVD_NO_OP, 0), .support_64bit_ptrs = false, .get_rptr = uvd_v6_0_ring_get_rptr, .get_wptr = uvd_v6_0_ring_get_wptr, @@ -1587,7 +1586,7 @@ static const struct amdgpu_ring_funcs uv .emit_hdp_flush = uvd_v6_0_ring_emit_hdp_flush, .test_ring = uvd_v6_0_ring_test_ring, .test_ib = amdgpu_uvd_ring_test_ib, - .insert_nop = amdgpu_ring_insert_nop, + .insert_nop = uvd_v6_0_ring_insert_nop, .pad_ib = amdgpu_ring_generic_pad_ib, .begin_use = amdgpu_uvd_ring_begin_use, .end_use = amdgpu_uvd_ring_end_use,