Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp625820pxv; Thu, 15 Jul 2021 11:52:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyDaHB/iwrMWzBpE0bUfHVBS2KxZcWBsZYP8wKtULKOY9A0NMMHFB77oqIi7ZCI4+ok+sg X-Received: by 2002:a05:6638:248d:: with SMTP id x13mr5305540jat.78.1626375149873; Thu, 15 Jul 2021 11:52:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626375149; cv=none; d=google.com; s=arc-20160816; b=SnQKmp8XjC/ZwNIanVfto7vSVT447CwUpj4Yi5RIh8k1Kzby0uWLmGbKkwmVRZgOcy e/Crk7JXWJO/YnAe+0Li6PUQN5unD0vr5uSXr8Ll8niWD96cQq+Er076CRbFpNnGpgvD 2UH4vwgcyA1IgZWlawsDAkjV0PfFoIhMpOBqE36WHfE/gButUgYA4dVMeW0eTevi2+wK WEysHic+qsZ/gSLg5QxAmQ70VhCADmg804cDHhqag/JpoW+U+VTHz5RQQchL/Btv3QnB ls3EbaHAaaW9L/aREEGfatDKolsI0RavPYiPft52m863kxjirEO8rTgDQntHVtNlS+Ex 7ubw== 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=JMzkpKuG690d2K/CjEx+sSt6k31H9XhGshWIA1Sq+z8=; b=l26c+t+iRdeM1LRUpriqn4rN+rKrrdkM88Yxg582g9MbE7Jp/0UJZdj4nYfWFDeG96 NBBDVBnKgptvVgaCVXjX4CUX8vIEKeVi67yXxIR6zcODn1ejWReO+HoL+AmBvP+YihYU xOCzJ03c2sGKY7vKz2w07tq9h8GuNrpFSG8iVkZolEAjEZGJ6g0px6XJEMNHS9u6VQve cTEhjgSRgLfKQlngfzHhGzvZAlLkd20an2UV7bTHz3xRPEuz4tl5fgyF4q8yDhS9KBir dEq2qEXgJKPbDCoW/iBoBcLoP6t/GnD6MM93HXs64lDFfV33VYPzXsZsl6HyiVsGSrvo LhrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ub0lWyuI; 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 u11si9991539jau.121.2021.07.15.11.52.17; Thu, 15 Jul 2021 11:52:29 -0700 (PDT) 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=Ub0lWyuI; 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 S239750AbhGOSwq (ORCPT + 99 others); Thu, 15 Jul 2021 14:52:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:50488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240220AbhGOStW (ORCPT ); Thu, 15 Jul 2021 14:49:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A8DAA613E7; Thu, 15 Jul 2021 18:46:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626374789; bh=jO5Fj70J6WChwvRJpFbt2jPnAaDfe3lQtKl/fuYcpQw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ub0lWyuIZyQKKbOgNxxYVQUwo8H+x3bIW9WBO73Hh2IX5oNLM6TByo+L/dkV8iucP WEXCehTFmM2Ik0DWT0NrabgrP3CVIj10y3JOXEDddDtHG+g5U5paZ8nRWVq0EFDiWJ mygyH1aSYpiQOR8hv46rAnsVc/BEsVFEWIOpn4Cw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mateusz Kwiatkowski , Maxime Ripard , Dave Stevenson , Sasha Levin Subject: [PATCH 5.10 027/215] drm/vc4: Fix clock source for VEC PixelValve on BCM2711 Date: Thu, 15 Jul 2021 20:36:39 +0200 Message-Id: <20210715182603.747555360@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182558.381078833@linuxfoundation.org> References: <20210715182558.381078833@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: Mateusz Kwiatkowski [ Upstream commit fc7a8abcee2225d6279ff785d33e24d70c738c6e ] On the BCM2711 (Raspberry Pi 4), the VEC is actually connected to output 2 of pixelvalve3. NOTE: This contradicts the Broadcom docs, but has been empirically tested and confirmed by Raspberry Pi firmware devs. Signed-off-by: Mateusz Kwiatkowski Signed-off-by: Maxime Ripard Reviewed-by: Dave Stevenson Link: https://patchwork.freedesktop.org/patch/msgid/20210520150344.273900-2-maxime@cerno.tech Signed-off-by: Sasha Levin --- drivers/gpu/drm/vc4/vc4_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_crtc.c b/drivers/gpu/drm/vc4/vc4_crtc.c index 1d2416d466a3..7062d0e6fe76 100644 --- a/drivers/gpu/drm/vc4/vc4_crtc.c +++ b/drivers/gpu/drm/vc4/vc4_crtc.c @@ -1001,7 +1001,7 @@ static const struct vc4_pv_data bcm2711_pv3_data = { .fifo_depth = 64, .pixels_per_clock = 1, .encoder_types = { - [0] = VC4_ENCODER_TYPE_VEC, + [PV_CONTROL_CLK_SELECT_VEC] = VC4_ENCODER_TYPE_VEC, }, }; -- 2.30.2