Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp828532pxu; Mon, 23 Nov 2020 05:21:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoH2BVuuIbjiC3XG4GkByMfGHE6DELmVpGoWAjbcUS/vYYVnVz2TkJhp/IbD3q6HYs51I0 X-Received: by 2002:a17:906:138c:: with SMTP id f12mr46497946ejc.108.1606137693643; Mon, 23 Nov 2020 05:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606137693; cv=none; d=google.com; s=arc-20160816; b=qd1Ka6CnRwB+ZDeqFauxgL+mTuXXuTDQ2jfDWdY5XgUNQjM1NE4HLKJkzDRmoVpRND nmYRoFgPdxTTB7w93iHlaQZKMUN+K0CFVnQfMT4XOYITltyZDkWHhuNuAgeHc50a4a2q LloveWF5qLo4NnGW0scxrZxwDWMnmhpC3OVgcvbgs6FNRPyBLs/2tj0cYbExQN1isSVH OTSn/jdWb12l0LwaPeqIEXFQ4rAXyXHlup04k6yoLDcVY/nsHFoTkzvmsItMkaPCkHJX LiznhppzLGFWijQeee6zUebt0ychfMSnZdZ8mE26nDSI8OmUz4Ihi3WTrtyBLql66r+l SF6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zgsyvRla6PJ6816YDtm7m8Q7ZUOJSDpaRWudol2juII=; b=Hxj2Xq4sM6AWbobNHlvaZ2ldovCKUhjzTtHxR15gO+uOL5rl0bYRTgMbNXSwJ14ZjE AfBL07JbB9Tdjqnwm6whi8/wwILVcP9myFfq/Lj155sPfOtsdTu4t8YLLXqog3PCRQEw Gf8+vu4g43volDEpQoWR+LHKTgFdRlTouoAa8Bw7+bNLPJDzZthl2LPqpq/Wts+uAkV0 Jqp6xRvshMW3M+dNQMIW9BjWxjDafDE65YLVKtU7YX5Qb1KpdS+gTlDLwohHd1LpgmEA wxQ456xillc/GZ44hu/CtU7MGMC5KNx4iXyZ5q1nlSfE/7cnSq/sRdDgxfjD/WoMagEV 7VCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Fs78AfmB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qt23si1913342ejb.4.2020.11.23.05.21.10; Mon, 23 Nov 2020 05:21:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Fs78AfmB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732482AbgKWMk2 (ORCPT + 99 others); Mon, 23 Nov 2020 07:40:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:53384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732468AbgKWMk0 (ORCPT ); Mon, 23 Nov 2020 07:40:26 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DC27320732; Mon, 23 Nov 2020 12:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135225; bh=R4wn6gK7iOkfdvgrwosRHQCHwNMuK+yF+5QHXGk5ato=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fs78AfmBQlcqcqcZwA8KW4OSEdAGNFntGkqCRhGJBb3tUxCulXfnpcxfQdpj1ZNFE NzChja0P3tsbyGVc27WNBb6NkEvaoiuv2b81VQOn1NtqqX/YkiaKDSozmuwA1O5lZi CidkKU/d8xzHxI5er90SJVTRmcLMDJYV5DOeXZUY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nicholas Kazlauskas , Alex Deucher Subject: [PATCH 5.4 149/158] drm/amd/display: Add missing pflip irq for dcn2.0 Date: Mon, 23 Nov 2020 13:22:57 +0100 Message-Id: <20201123121827.120913844@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121819.943135899@linuxfoundation.org> References: <20201123121819.943135899@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alex Deucher commit 728321e53045d2668bf2b8627a8d61bc2c480d3b upstream. If we have more than 4 displays we will run into dummy irq calls or flip timout issues. Reviewed-by: Nicholas Kazlauskas Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/dc/irq/dcn20/irq_service_dcn20.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/gpu/drm/amd/display/dc/irq/dcn20/irq_service_dcn20.c +++ b/drivers/gpu/drm/amd/display/dc/irq/dcn20/irq_service_dcn20.c @@ -299,8 +299,8 @@ irq_source_info_dcn20[DAL_IRQ_SOURCES_NU pflip_int_entry(1), pflip_int_entry(2), pflip_int_entry(3), - [DC_IRQ_SOURCE_PFLIP5] = dummy_irq_entry(), - [DC_IRQ_SOURCE_PFLIP6] = dummy_irq_entry(), + pflip_int_entry(4), + pflip_int_entry(5), [DC_IRQ_SOURCE_PFLIP_UNDERLAY0] = dummy_irq_entry(), gpio_pad_int_entry(0), gpio_pad_int_entry(1),