From patchwork Thu Sep 5 03:08:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13791651 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 17D50CD4F50 for ; Thu, 5 Sep 2024 03:08:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A741B10E3DA; Thu, 5 Sep 2024 03:08:28 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="cdpg7Wjg"; dkim-atps=neutral Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id CC9E210E418 for ; Thu, 5 Sep 2024 03:08:26 +0000 (UTC) Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-533488ffaf7so245599e87.0 for ; Wed, 04 Sep 2024 20:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725505705; x=1726110505; 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=aCUd9z1LcLMx6hSjP2k+xgb3eFs9dKtX8QI9QhSVFF0=; b=cdpg7WjgDJcQdcrxi4kzuJnfOu/80ccBvVwbZXpHfO2yhiEhe2tnO/7WGaJWg5QrR/ HKQ8e5/6ZU27jGK6kIV7qe2/vNXinXUFEurrGs1Rxsh7e0wt7jsQ2NWf08zRgMvy7B5F PWxui8URicETlZtZFRcrxj42jCdn8HdKo/bYToXzyI4YunOii13Mp+UlgC/KWEtqyQRu JRRuEUifP6EIXMJzSMfSWxXMumPgSmh9f84Yz8juX45agHbwEwkoUSpM4Ag7GPukKUxk ygA9CnTqOOmSB8hFIDfnUOhdPfjVcVedDdctG8NiSm26K6kRulue5scT7VdEHFnnHwWo gILQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725505705; x=1726110505; 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=aCUd9z1LcLMx6hSjP2k+xgb3eFs9dKtX8QI9QhSVFF0=; b=udnOBI6l9mgA8RC+bLqzPWvVlGUYLl5lqEdeRHbNFtj5GjYgw0i1Atx60fZo8q1ruL +L7kIWQVlH8IGqlYr91f8N0kH6q6EwGfMgL2mk+c1CFmboSRK1qy2lLXMmH1cVZI044E hoqPQixgNt7hqGPD7btGI2rKEvYuGsev4H84nFXmUQ/0xpymr2DtukTCpNHYPmiF+AJY C1SW/vJOXXg29vIUPOdyrNnKiLI9qyQJZqgErLQ3K1t+S15U2BHZ1HUbsCStX/uvkdFf +qNc6laP8RaEJAjFro9njQ2sQ8hwe58ERDupI1UZM30nynKWeGsCFdaarYfNuWf5tIz+ zNNg== X-Forwarded-Encrypted: i=1; AJvYcCUqZ+anKasNeHeDW5mtXiz76PEWE6xDqd5wzWjwkCIQaCRqBwH4cRQDYPahPz1Qh8WMX9UMmWPlkqY=@lists.freedesktop.org X-Gm-Message-State: AOJu0YxsC1ai/UG+QxeSlqyA/YjnAyzwVsetCo/arn1j++bZi2zHLZDU Oe0ra73/LRXkowTLuY+GPpxr8nRUMFkBd4YSKwCDRlWstOfN0zB+0WKPUmmTfFKEJcY89Wp+83f 1 X-Google-Smtp-Source: AGHT+IE/2jE3CvFlvvIXHzJupYuHbi2/1IhdOJoiEbZkzmE63Jt8Mh6dMcluwOLczC02VOgLi+O/ew== X-Received: by 2002:a05:6512:b82:b0:530:ae22:a6ea with SMTP id 2adb3069b0e04-53546b91ef2mr14631592e87.40.1725505704199; Wed, 04 Sep 2024 20:08:24 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-535407ac190sm2485277e87.96.2024.09.04.20.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2024 20:08:23 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 05 Sep 2024 06:08:21 +0300 Subject: [PATCH 1/2] drm/xe: select DRM_DISPLAY_DSC_HELPER MIME-Version: 1.0 Message-Id: <20240905-fix-dsc-helpers-v1-1-3ae4b5900f89@linaro.org> References: <20240905-fix-dsc-helpers-v1-0-3ae4b5900f89@linaro.org> In-Reply-To: <20240905-fix-dsc-helpers-v1-0-3ae4b5900f89@linaro.org> To: Lucas De Marchi , =?utf-8?q?Thomas_Hellstr?= =?utf-8?q?=C3=B6m?= , Rodrigo Vivi , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Marijn Suijten , Jessica Zhang , Rob Clark , Abhinav Kumar , Sean Paul Cc: intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, Dmitry Baryshkov , kernel test robot X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1005; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=/uc/spJSdC+Q0uOvIRVDDGVfhgEPfChpAlvRBCMAkJQ=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm2SClH3jAjsQwXueRbupby/Qyxo1pNCBRE+FYy TrQumjDJhWJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtkgpQAKCRCLPIo+Aiko 1WUdB/4mLKT7toID+4EsvnWOp5TQO7a7GiChrUuI653sWs0XNN89QO+aQlpsdo+wgVvTcrvWvBO C6i8x2AwjrHm9cSIn5uu66DDhCRRCiCelWh8vwvtQNgwDP30tOt38PSkFuLdZhEQfeJZvBPBC/u JS/Y5Npl49z2KqrYk9QbimEg9oy0KI9Aj0nva6UW5rNWFw0ZBy1d2taaUr/KBPdp1F2VkUtoWtx ecBErdsaSdt5CHrTfB4FXFE8eVr083nB6qqd2UQNsHA2SdUD3IFLJCk0zqUkbyZ0UCXzgizmuf7 vixPcb25txPAUaZD+YKZIsHQ2gGnzMPV7x1YmszSmdjXVpUA 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" The Xe driver shares display code with the i915 driver, pulling in the dependency on the DSC helpers this way. However when working on separating DRM_DISPLAY_DSC_HELPER this was left unnoticed. Add missing dependency. Fixes: ca097d4d94d8 ("drm/display: split DSC helpers from DP helpers") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202409032226.x6f4SWQl-lkp@intel.com/ Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/xe/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig index 7bbe46a98ff1..ebd0879e04d4 100644 --- a/drivers/gpu/drm/xe/Kconfig +++ b/drivers/gpu/drm/xe/Kconfig @@ -14,6 +14,7 @@ config DRM_XE select DRM_PANEL select DRM_SUBALLOC_HELPER select DRM_DISPLAY_DP_HELPER + select DRM_DISPLAY_DSC_HELPER select DRM_DISPLAY_HDCP_HELPER select DRM_DISPLAY_HDMI_HELPER select DRM_DISPLAY_HELPER From patchwork Thu Sep 5 03:08:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13791650 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 B7CC6CD4F4F for ; Thu, 5 Sep 2024 03:08:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8935D10E297; Thu, 5 Sep 2024 03:08:28 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="VF6SXK5u"; dkim-atps=neutral Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id A7B8B10E023 for ; Thu, 5 Sep 2024 03:08:27 +0000 (UTC) Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-535dc4ec181so181904e87.3 for ; Wed, 04 Sep 2024 20:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725505706; x=1726110506; 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=wg90eho1NN5KHQOILS8jppGY/NSDMd/xispQJ9CCEd8=; b=VF6SXK5u5cTf7jpvZII0FuDmCw5vKFY5wCyNs0yLzAIcCjFYC7CXVbO6aGtd6Qw04N LFxhtV9yUinWRar6GpELZE1itB23px06pmiR+bPep5S95wnIPNvc9JwHJ3B9iN/Pr6nD /NFoiOrpQKjQUn59+2o8f4EBnJ5XTSG6cAE72UtKf6e4iWHbl4K8M/9lWDu47nWIY/qp gmRADF1OVgXfgZd/1K5jajzZpLib7iC6z7tPpQLg/nb0nKmZ3fr36d52HLsYYuNdVKt2 PO7k+QAjCZvrgg7riY5LxWeMscd3RtrPqSti6HlP1VvuYIa4k/f3drPHWNbNO2scv1mo 3ClQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725505706; x=1726110506; 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=wg90eho1NN5KHQOILS8jppGY/NSDMd/xispQJ9CCEd8=; b=Mlvq5rxTXYfUSh+/yhYxaM+ynwykb2F90zmnahvnXvz+atPD43OmE2sOphwpeudLiD +W09hBrWJBVtGCMHN22nuVZnCxmIaPZxNOGqd9TnIFrzErI0UCKNp76HZXWsyZPzh1PD KKAPWXGxljp2ZIGDnTAcjWkg56CFjLnkEqlhzC3mMHZUSJK4R97gPOcRg3FFaVrPC78f 912N4wxJhR6skcE4zLvRwkbkr1NRtxlwiWko4fyXT0Pu+IyvbCaZhuS1pQv5uvQp0dk7 3cGfwAhBR3rmSC2DuHCbtjDbMB3kR327D7fOisio42xxRhHd5prCgLbpkagwJ8N55dv6 ehPg== X-Forwarded-Encrypted: i=1; AJvYcCUNqyXv/srOdPfTzmTkrr7xpQ1kCsKGCRnRz9h0IfZ7wxrA2G3sVZILYwSFGUdA28XutW5aMcDnuBQ=@lists.freedesktop.org X-Gm-Message-State: AOJu0YyGbA2BljTQDc+nd/mIg96wxPlRpmhlpUIJokCpGFth3F6/Gi0I PfjAKlBQebI1uHEXVckvbB+Cr8GRPQsqIZXjZOVjXIr6eTs7H5FGpqcfXWDaRiM= X-Google-Smtp-Source: AGHT+IFS2SH8V6BfMue9a/tZMnJv31NuvpbvMZDdc2zfWEvaj2lRGOa8zyeQpUNMbYTS6CvNIU5M1A== X-Received: by 2002:a05:6512:3e26:b0:533:43bf:565d with SMTP id 2adb3069b0e04-53546b45292mr13195276e87.27.1725505705252; Wed, 04 Sep 2024 20:08:25 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-535407ac190sm2485277e87.96.2024.09.04.20.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2024 20:08:24 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 05 Sep 2024 06:08:22 +0300 Subject: [PATCH 2/2] drm/msm: add another DRM_DISPLAY_DSC_HELPER selection MIME-Version: 1.0 Message-Id: <20240905-fix-dsc-helpers-v1-2-3ae4b5900f89@linaro.org> References: <20240905-fix-dsc-helpers-v1-0-3ae4b5900f89@linaro.org> In-Reply-To: <20240905-fix-dsc-helpers-v1-0-3ae4b5900f89@linaro.org> To: Lucas De Marchi , =?utf-8?q?Thomas_Hellstr?= =?utf-8?q?=C3=B6m?= , Rodrigo Vivi , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Marijn Suijten , Jessica Zhang , Rob Clark , Abhinav Kumar , Sean Paul Cc: intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, Dmitry Baryshkov , kernel test robot X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=961; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=BCbsERjKTr7ofnF9wFZIPROtJSJ8qvwLvP3xHx0S1jE=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBm2SCmybu00XFAc9fujRRSrrHOHRKtSvgq5E7u+ 0ErMTKGuXaJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZtkgpgAKCRCLPIo+Aiko 1Sl9B/4zozy7yVS6RWpddXd9g6pE9XQMwgmW3D/LAFsWvdrVOcU5BdpMBXwAQ+3gnaRYYaRPGGR PQUnF4sf1JHAdvX7eftAQDwZqm1zS8sVpf0fkr+UKSF7wHKEozTwFKwUmHkMmeFnteiAz6D/DRf wB+GPvicWfQLGpW3QiXxv+7da8MRnB06s/P0d8N5G5I6ivuROWVNAQVrg0auvA5blTVz71UKafL pnPLsSrxE0BSdm1EIJRWgbIMcyr+X5tuhR4pQlQTSJonqC0i2MymA+Qxq2tF3DK5lTU9lXDK4uT wRua1p5tZQAvJqJTsLuK/5Jbd1JhWE09gePQQPwqeJh+hXUK 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" In the drm/msm driver both DSI and DPU subdrivers use drm_dsc_* functions, but only DSI selects DRM_DISPLAY_DSC_HELPER symbol. Add missing select to the DPU subdriver too. Fixes: ca097d4d94d8 ("drm/display: split DSC helpers from DP helpers") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202409040129.rqhtRTeC-lkp@intel.com/ Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig index 94d3ed4f7761..c8dda0ebd043 100644 --- a/drivers/gpu/drm/msm/Kconfig +++ b/drivers/gpu/drm/msm/Kconfig @@ -92,6 +92,7 @@ config DRM_MSM_DPU bool "Enable DPU support in MSM DRM driver" depends on DRM_MSM select DRM_MSM_MDSS + select DRM_DISPLAY_DSC_HELPER default y help Compile in support for the Display Processing Unit in