From patchwork Sat Apr 20 02:41:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13636918 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DB3DFC4345F for ; Sat, 20 Apr 2024 02:41:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0806C10F1B8; Sat, 20 Apr 2024 02:41:10 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="sq+SYwML"; dkim-atps=neutral Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id E774710E59C for ; Sat, 20 Apr 2024 02:41:05 +0000 (UTC) Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-516d6c1e238so3307200e87.2 for ; Fri, 19 Apr 2024 19:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713580864; x=1714185664; darn=lists.freedesktop.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=92e8LaIK4EBDXuZyzLXA86cqI9J/1l0M4wqFvKPdW00=; b=sq+SYwMLQvCO+18wdniJaaw1c7T/TxqURhFPngKDDi9C4Xru/iTNyxSfmpGcv912Sc NhJOsqZtLMGJWV6smWDeVNiHiTEJrTXpnAOJbu8i+xQuFn6Z6Frhshb91D2pjfygDmiu nED/eifNFdMO2zLEtvQe92bNirWlfnnU5Pkoko5Og7T2tjz2ft4G9kCKi9RZDTCc8lxb J4eLLy4RYal61QsTzBwIQ5DXjQIA48Z+TpYPG4D7f8ihZ6D3/gRDVnPwmkpcJVIaUF82 5CuNkB01loj1T4L3Jz8qJhpolDdUcMbhcCU2IDmgaX7CuQKfjfNx0dGLKDRVXIz6wADB gWQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713580864; x=1714185664; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=92e8LaIK4EBDXuZyzLXA86cqI9J/1l0M4wqFvKPdW00=; b=Q00lPMDwWwmx8+hl4qbYw1aGq4mFXtsDaiHE8dR4pShw5v5Qkd2eIBbgieIVyAdfRa 1upaposEu8d5GLbonB7sEvY85XWAvbXKYNyDu/HATGkSY1tOUTCTJk3TJ+uiApDR0Lw1 WYQSMxWI6SsXzewU/T8nHroAUt5ntVK7XPTYIQNgqy24R4j/H/6vuMWw3MqtfthW15VQ 3dKSsRxPXGzaeKn1+gs542kXh7PFQ14/Q+DnguxTBIrcUu8C5FwArTjyL4CJGHvjuhVW +FvJSKipq3NJHahHFi9FdN5wRgfN9zB5Wsb9dXHBYkwIQVz8YRM9OgXA5PC7ry/O6jg4 QBDw== X-Gm-Message-State: AOJu0Yz6yAJ3RFgV/engy7yp42RuO9nBKxWKwH/kSmD2n9SdQUnOzYjl 5IdJrAh8eGA3O3a1zp7DGx99CYIz698Q6KNQyW14jEtJ0YDuBYB9dtBbZ5WGwTY= X-Google-Smtp-Source: AGHT+IGjO5k/naoev5sxgX4ZvZAR6tfwVgRaSDtPTeY0+NyMuKHQm96+pk1UDNu0IsOFdlNhEd5k+A== X-Received: by 2002:ac2:4a66:0:b0:518:ab73:5a85 with SMTP id q6-20020ac24a66000000b00518ab735a85mr2354237lfp.69.1713580863985; Fri, 19 Apr 2024 19:41:03 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id p1-20020a19f001000000b00518c69b3903sm956951lfc.84.2024.04.19.19.41.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 19:41:03 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 20 Apr 2024 05:41:01 +0300 Subject: [PATCH 1/2] drm/panel/lg-sw43408: depends on CONFIG_DRM_DISPLAY_DP_HELPER MIME-Version: 1.0 Message-Id: <20240420-panel-sw43408-fix-v1-1-b282ff725242@linaro.org> References: <20240420-panel-sw43408-fix-v1-0-b282ff725242@linaro.org> In-Reply-To: <20240420-panel-sw43408-fix-v1-0-b282ff725242@linaro.org> To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sumit Semwal , Caleb Connolly Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel test robot X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=910; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Q4hm4/DHNLlud3PcM0T1AblUu0zyxNmUfpUpzJ8X6JU=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ5qytp1q9qWy/M1NfwpPfmc1WdR/8Hbx05KWeetjlrm3l y9XkAjpZDRmYWDkYpAVU2TxKWiZGrMpOezDjqn1MINYmUCmMHBxCsBE8oM5GHpN0nee4/H5bMoZ ntDqPUVbm/u+TNPpfwrShdVz/ju7Rzi8yLk9S/nVzMZfvALTfx8IXPlX44K6+tdXfmkz71cE/VP bG9F754vq/fCOL3+9LFuPWe9nXZnRLy9qmKGreNjSzlxWc6/Ae9GTrt92F77z52NnCDLbP7VAQG 8Ry6JlsltuallyGRqlTbrAL/vU+Oo1vYlvjLWNOo+Yzb23vTikZ+Kyuckm0Xc07kV/Y7aJKDI4o Rz2J7xhGuPqnqs2R6VePN5hXxUip9Lcc3Ne3vlHUbObV1wR0GhsfRDSdkKK3+PQfR7ltVLndp1N PPRrU3qk5zq5FQ0OxS9fBrz2DFbzOMQx62zH34aXDtm/AQ== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This panel driver uses DSC PPS functions and as such depends on the DRM_DISPLAY_DP_HELPER. Add missing dependency Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404200800.kYsRYyli-lkp@intel.com/ Signed-off-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index ab67789e59a2..5e6692207beb 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -340,6 +340,7 @@ config DRM_PANEL_LG_SW43408 depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE + depends on DRM_DISPLAY_DP_HELPER help Say Y here if you want to enable support for LG sw43408 panel. The panel has a 1080x2160@60Hz resolution and uses 24 bit RGB per From patchwork Sat Apr 20 02:41:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13636919 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D309EC4345F for ; Sat, 20 Apr 2024 02:41:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A73010F1C9; Sat, 20 Apr 2024 02:41:14 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="KrevNnvg"; dkim-atps=neutral Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 16D0010F17F for ; Sat, 20 Apr 2024 02:41:07 +0000 (UTC) Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-51ac5923ef6so951013e87.0 for ; Fri, 19 Apr 2024 19:41:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713580865; x=1714185665; darn=lists.freedesktop.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=qSmAuCxNU1y3XahseuBRK4nFztnrZzASjwN1faGf/vg=; b=KrevNnvgvD7ANCxIRlWEzeh5ciC28DpBwRjhE5lk7RZ6NNg3fsV+do8qScfsqICLBQ eQ97eOyo4YFmC2+vAekJXW1eYaJkwz+oOKy/7v/RjGJhHi0Rjbrb5JLIbbNUCS0tfXlZ AkdqYtbYmmZx5EiyeVqBYyP6UWxLVHit4/ZdM8WdaqWC1jao4xNjflDYgi/zW3sx26XL sD+AsadA2XB37WHsX9hCpUs+HukDCJvD/MoH6Sf4SPZ3zumrYFcDaET+wyJeEd+XuFxM v67boeK5IttGd8mtC5HrQOQAnuw66+GxGry5oe7AL63mJNFaz5QnGaBX87ODv5pDg1V+ MTUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713580865; x=1714185665; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qSmAuCxNU1y3XahseuBRK4nFztnrZzASjwN1faGf/vg=; b=sK+gUV1Z9Wy/r7EnPgADcszz+YI+7EY3TXbhj5706/1EQMuPegr2WZwp8wYQcKCzwi +QYbji3CBvpj3JGKfsZqexZfNx+EAaH5/JrgDSq/0Dr3cFmi4At1ryPPiQvKa26O/fH4 XGv4JhCJd40EJE/BujSdDR1z4YXEikEhT5mzqGZXasWLaJ+ss4Yml4aHcblEeqO5V805 yCBjUZhmq1mOiYSLTVi9Q736NuYOU/aYaYeHw3oNI8qtqYHr7GwvLS51CZPBby48yl+K yLatel6YDXf9x3UFWT3Nr+oNkJifT4MqUeHm+otELJ5bTLrd+w03N/lv8teSV58NNKHs OEyQ== X-Gm-Message-State: AOJu0YwARgRunT3d7Z+Tw6u0MBKsj1ufnz7Lgo6zWY08AuJgqYN+6i7m hSxiAqwzUBKbuG32nwLAYjIAMmdLGg0wYE6HEHCVlh09eDqdI4onmYYouff89rw= X-Google-Smtp-Source: AGHT+IEgORzz5Sy7uopK88mYrNu4WR6OjysMQQsGBjGgh1ZjqLMNVs4IpmXJ343ikFhE5QjiQcON5Q== X-Received: by 2002:a05:6512:2353:b0:51a:c548:7257 with SMTP id p19-20020a056512235300b0051ac5487257mr1068099lfu.34.1713580864804; Fri, 19 Apr 2024 19:41:04 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id p1-20020a19f001000000b00518c69b3903sm956951lfc.84.2024.04.19.19.41.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 19:41:04 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 20 Apr 2024 05:41:02 +0300 Subject: [PATCH 2/2] drm/panel/lg-sw43408: mark sw43408_backlight_ops as static MIME-Version: 1.0 Message-Id: <20240420-panel-sw43408-fix-v1-2-b282ff725242@linaro.org> References: <20240420-panel-sw43408-fix-v1-0-b282ff725242@linaro.org> In-Reply-To: <20240420-panel-sw43408-fix-v1-0-b282ff725242@linaro.org> To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sumit Semwal , Caleb Connolly Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel test robot X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=982; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=9SBs1y5K2hzjnYPD9Ky3KqU2SZnDlGyGsApyJDQKsvY=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ5qyth1D4+TVMU/O7ssqkMzQcj/nXJK7mukZb+MpR3fuZ s4mlR+djMYsDIxcDLJiiiw+BS1TYzYlh33YMbUeZhArE9gULk4BmIjCd/Y/XAbVOztcDKU/WKt9 Y36w3G53REaOgtqqd2tEHE+x1O66sq9ai9u5iPNrK9OzVRWpu/6sWeu5b/qF4pKssxLn1f9bRX5 d5Sx+7cKSFx951+25U74kbHmHxJEA66SQ2gdytyMVbzY/CNnTa39Q2qLzr1JZoJ105IvT3mmOfp umLiy1NVP+yDlx8X6fnGpXRw+9HfuuHd3yaqFClt3/C+8OTmdS2jRbbmpQlPwxjmWvHn9/qPr2t JFerh+bdVIjx5dLAYL97L3fLhdaTc7aHzzZ4+zTkF1sFgdi7bMn12wPt97b3K6rwZpp9O6Wj+Ae aYvjS1Ki7jHGifGaMLww+3R1b93DN/uL1dJL3u3lNxAEAA== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix sparse warning regarding symbol 'sw43408_backlight_ops' not being declared. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404200739.hbWZvOhR-lkp@intel.com/ Signed-off-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/panel-lg-sw43408.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-lg-sw43408.c b/drivers/gpu/drm/panel/panel-lg-sw43408.c index 115f4702d59f..2b3a73696dce 100644 --- a/drivers/gpu/drm/panel/panel-lg-sw43408.c +++ b/drivers/gpu/drm/panel/panel-lg-sw43408.c @@ -182,7 +182,7 @@ static int sw43408_backlight_update_status(struct backlight_device *bl) return mipi_dsi_dcs_set_display_brightness_large(dsi, brightness); } -const struct backlight_ops sw43408_backlight_ops = { +static const struct backlight_ops sw43408_backlight_ops = { .update_status = sw43408_backlight_update_status, };