Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3983311pxb; Tue, 25 Jan 2022 00:38:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4AT+iI6VcRF4scQDxgUGykAiirU8XNMr8bxxGaFlCSx9HDhN134i/mjdnqIS8qzmZ6PH7 X-Received: by 2002:a05:6402:11ca:: with SMTP id j10mr19698925edw.169.1643099935576; Tue, 25 Jan 2022 00:38:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643099935; cv=none; d=google.com; s=arc-20160816; b=0619Ob+vUyUQL3B7Dpfq0+F3D6thq+OJQZEJJLhvPseRv05nXpWrYXDfc8jxwUmOm2 VpfvXx+WWHgsfRk6d1lxrs/etgNeqesLHDKmPQxyp8//b7fFrU1E9baXMr8fiFUdUwP4 TM/ppsMiayP3wQ0o6NnacgDaVpQqQTJANLAnJt1/oDCFG3KW6cgSPwYjcFDEpdAcmUpD VBAEwieX5DiBU7VXaYwqTXHAlJ5UTKXy24g2/cT1+zhlbNnRSl1UpkqQmPlKEvSncD1L iGG96NJyvqW/uN6jthNUFwRHCXBNiNRP2e/f70ikrkwnNzErqhKej2wZvpZ3vObxiJZK Owew== 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=1+FBCb1WN2caxsXvoG7y+96QX26U/j/MlV6+HaKBtos=; b=akXDB4LF+qdKMFiUYgNmXLCK9AQzfugcW3qc7NLF3vbgHvYKN0HTxUfJ9YA/maD9+b w87FS+j+uIuQUJ6bWfy7uiHsy0JGMh+evWpkwF0NVp0n+X8KDOFCaS6+hTT8pQBi65tm a59fKjWpHK15zP0ELzhGx1qDEJX6wuuF3BO8mqNs8aLv3z55G3PeSOQbss6bpDK+LrQ5 8miqUHceg9UOeqeeu5GPtrjcppwQZSwNCobZ05CMr9q98SuRQCUWuYS4iPden5PSrko6 cFYAp3nCUXTD7T3LCPSRi3Jso77HkIKVFB8V1OxlkPcuuinSXX0FcDiRtjuklP5y2RJl 3eCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zF3hqJql; 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 p12si8727609ejy.837.2022.01.25.00.38.30; Tue, 25 Jan 2022 00:38:55 -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=zF3hqJql; 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 S1315015AbiAYCwR (ORCPT + 99 others); Mon, 24 Jan 2022 21:52:17 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:58586 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1446041AbiAXVGO (ORCPT ); Mon, 24 Jan 2022 16:06:14 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0AD5FB80CCF; Mon, 24 Jan 2022 21:06:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35949C340E5; Mon, 24 Jan 2022 21:06:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643058370; bh=mMOviML6d2B2nz9G6cNtiKt2sKzaa74z8yvSpCvSpoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zF3hqJqleIZ6GWftlyCX+7QQI7xcy4AI6xy6AzT0QasZ+9cRCLsxNpwpowlf4G5gB bLNR9XXftDjap79J31GaKkk9ZxwFzB5N3wQO4ZcuM3BkH4VsRtFJkbcgW6mqtn2AYz AwvWEh2etZevkjk58fRIlyIPrRZiP38PuqUlF+bU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Biju Das , Kieran Bingham , Laurent Pinchart , Laurent Pinchart , Sasha Levin Subject: [PATCH 5.16 0235/1039] drm: rcar-du: Add DSI support to rcar_du_output_name Date: Mon, 24 Jan 2022 19:33:44 +0100 Message-Id: <20220124184133.216456115@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@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: Kieran Bingham [ Upstream commit e0e4c64a64780a8672480618142776de8bf98d07 ] The DSI output names were not added when the DSI pipeline support was introduced. Add the correct labels for these outputs, and fix the sort order to match 'enum rcar_du_output' while we are here. Fixes: b291fdcf5114 ("drm: rcar-du: Add r8a779a0 device support") Suggested-by: Biju Das Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Sasha Levin --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c index 5612a9e7a9056..5a8131ef81d5a 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c @@ -544,10 +544,12 @@ const char *rcar_du_output_name(enum rcar_du_output output) static const char * const names[] = { [RCAR_DU_OUTPUT_DPAD0] = "DPAD0", [RCAR_DU_OUTPUT_DPAD1] = "DPAD1", - [RCAR_DU_OUTPUT_LVDS0] = "LVDS0", - [RCAR_DU_OUTPUT_LVDS1] = "LVDS1", + [RCAR_DU_OUTPUT_DSI0] = "DSI0", + [RCAR_DU_OUTPUT_DSI1] = "DSI1", [RCAR_DU_OUTPUT_HDMI0] = "HDMI0", [RCAR_DU_OUTPUT_HDMI1] = "HDMI1", + [RCAR_DU_OUTPUT_LVDS0] = "LVDS0", + [RCAR_DU_OUTPUT_LVDS1] = "LVDS1", [RCAR_DU_OUTPUT_TCON] = "TCON", }; -- 2.34.1