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: 13791646 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0A471422D4 for ; Thu, 5 Sep 2024 03:08:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725505708; cv=none; b=bOo74cjsZxgG0IXj5vm7W0NHyRGdc1hvlMVGOzki1I9zQws1QWOm3Y1rg1d2okyvqyCVsOwh8JLxWxSwq4aQTDkfJMecNKhj5WYG+o3vQF4Gka5IRqXajUc2JWmesf/gW4hhGyrgiH//lQss4AUfooetmH8E53VlJtl+eqeFEx4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725505708; c=relaxed/simple; bh=/uc/spJSdC+Q0uOvIRVDDGVfhgEPfChpAlvRBCMAkJQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jZAUkRwYACRvgpfpDs3AUrSj/sMuk4fAom89CYwkha+oaQFp9AkgiOLRxegd5L845mYviSmHL9NWFDFbEjJS4CcRimcwtNxazvGRmBj+qeyLPfqidFqpdusA8VijLQIK5iFxx/X6NHDq5BGykTumOLdJOqNxWtlfbvoLuKjXpfs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=aBYe0GCo; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aBYe0GCo" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-5334c4cc17fso229485e87.2 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=vger.kernel.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=aBYe0GCo7NICxWqfVblVqsbMYUI9GOMQzTwz+trBlzc1OK4z+skkAtcVyei33UEuqW PYxV7/FyR8h4QIXN2xdPHVQZE8t9O/bPv2HugXPw0mUwdhVSG/dIUXbOoZNeQjG8XszH kWHTyTG23HeZSjDG4XXjj1+TS7tYKalRum4AA4/R8aftFM6oTzN6cUIxwjAvsDJ0JZwb MLEuW7AFCuydRR2+RpId/8HsiBIlxb3+OYYwYOyAzZDy78ttTgULIhi7q4Hbp2g7OmqS 7XTQBu/tBiU/1X85fHgwZftcwZ7aUkZFECfzHktLqhpiq+syDEp5NVEpX1/U+0+kww2r ViFA== 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=bhJHFlubosRlVhG3tOONiopVfWdEmaaUWurjzdjnawru1FuWg1NMVnrQ9F8k82T3sJ qvcdo2Ps79Qbuj1LkDtC2Uaa53O0PWtalyW9jQVfx7zW1medp2gP5FGL4HXdassAiLTw LmOr6Uy89EFLAGjZ2BCnE0QCrQM2EiOGESFx5F+LY0hkRzBYBIHmL6hw03hTCDaNq0FB z0hqOoENlZe/cwRNhQUQCUbn7o1rcZINvmv+bJlnUmRGEK085YVa2lK9PwCD/AanmFbo WPOK2pFlZS0qiGmBdgROfdq97/6/gShh+IFEnfFdoA/AHDokDmaA5iQqSM8+Tbz9BJKC P1TA== X-Forwarded-Encrypted: i=1; AJvYcCWWQUa60YxHuZbIEyX7KpbLSnzitgWeASL2m/5eecV5x2aZ0hEE8TUHKNwucZ9gqBxbe1/q2RWv1e0svvBB@vger.kernel.org X-Gm-Message-State: AOJu0YxdL/9P3zxGXRlKobITx1ninI6Ca9hbiUF+q34X0YF/4Powkoww WPxzegucaM8TZAlQwLbUpLgI26nbxo2QfHxigEYRV2n00t7Acx+hde9a2ezRGUI= 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 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 13791648 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A201C143C72 for ; Thu, 5 Sep 2024 03:08:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725505709; cv=none; b=bR4zZJacck59hFCS791N5zh4ACO5BNDTwTcOtGg/Y2wbyExt+C7VqcHWhlVgoT71tOMbWDEHOWAmUkNS8aMNzJQlNipK+X/m+903UromDM079rBID2Sm02uPRkwhfZRCMQTGbkZMG52ZxOtzGTNr1PCRt58W02CR5IwiCsIs9es= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725505709; c=relaxed/simple; bh=BCbsERjKTr7ofnF9wFZIPROtJSJ8qvwLvP3xHx0S1jE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cmt1rAVW7mt7Y1nN5j+/thItXLTJ+etCzX4Om4afUbCO4hpIW/HqKVzXfa3kMJTpXTVvnMhurY24mqnTwFfMBuhfsLw6VKxL8M41QH9hjre7Lab6xPMePCSOuS210Imq34XHR8Ef+NGSpuzEMeN5XgxiKW5JS9sxtOmzVoVLxk0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=KfsoBZyB; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KfsoBZyB" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-535dc4ec181so181907e87.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=vger.kernel.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=KfsoBZyBq/CiTnaaOCCyfUJsgGHRWUHdSdzuFcqmjaihJneXb9ejDiU8fbY3SpYzO7 osxj7AKWATzaWuzgmWub+E1d689Et/g9JtB2IEvVUc59VbN/LOoBswEGM/tSUYOSVVVh X8ZQMwafrTrlMD5PT7ujYAluvHar6lKrEjYNzzsJ8vgaZJDM7CekfCMvhWDIju0bq5Wa 2iSD4HwDYUdTAYx0oNWHzHH3fWzWIyljPcHGYegWgumdyb3WwOAqBMD059aD41iCLXJg g+KXZ90Wlu+qR5vt8M4silbGBxU6v/EPy53jKMMGGt6mRHjMW9PtMtIkot37gXnkyQjE aPEQ== 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=fdUATdGeCrjBpiOaCVqtzbdqvuiD6YsWKzgWTNJ6GTrJSPdwTwXcpP2sk1sHUv65ZA X8SRUoCDJLXqNJn8FrzVOCTJTAEwAOmnn0sL+na41eVefHu0fabIYraE/QuXFoKOJO2g g8PFsPGFrKh8zDKcKpiAk/iysmGiEb3QJCsSq8CS3OBHMWMmdXUDr+kV4VaBR9xbGrQa 98ZtyEW/wrg8Gs/tcdvuq1ZE3HW3neg6WHMAWs6n0Fcx2Czz0L9kRvX3OJwyXrFGpC4R eBkAebsKxlmWd90hsAAfio9aWRBK38cHa1odgCo+vMQRQijMXPKOaNnQgIjw7CzNzUoP 7/Ug== X-Forwarded-Encrypted: i=1; AJvYcCVNS2mS0N99luZgXXkLKSCtxIfWQ1P7DLSHET5DjZ9gCK2x35UqR6CKGnF8LdZpRVTRjdpn95Pv0w2Mgb6f@vger.kernel.org X-Gm-Message-State: AOJu0Yx9etz+5i083Pw06jO2mNtyFNlIYsRdAtG/cOBF9eucULjTbjGk 2D0TVK7rVEFhmZLKBUxyDWxrkmLIcARpuRPHXGp8nKNWTLZw6JaSwUHTz9pb9Hs= 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 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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