From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.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 9E0EA345CC9 for ; Thu, 6 Aug 2026 12:29:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786019352; cv=none; b=e46RI6HOGyQ/WayfF+xDCxeZ9MZIwauRsqkWwfXU+7vjWQ/6HbuQuV0VPSfHX7dUNhZIXcu9TQ1MXyUpd8Mt8zi9apFiiKtibjauZIaIBk/vU6tJMXntAYXCHhQRxLuyEYkVyO2qDkFVaKl1VEHG8pNLpcQQ6ZznlI8JezAxUok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786019352; c=relaxed/simple; bh=0GPU2RDOo1K4GDlwMUbDeW7qfULfQqQrIuFbppi2FFs=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=dfVJDAkFzDVlgdHwyIsvO1cFwYzpnLDzhXyiiT36GTXeyTcOxLqztXDMxXrqFygLqBl+HRMkq/DYAlWQdEmLrR1706CYjbwoqwUinT8xi8mVkqpGunFZUxddnPqCJg5SJRrFGgtzFb1Fnxh+NcvtoyDXgEGTe8NnrhtLYtsLHaQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Bc4jIHxw; arc=none smtp.client-ip=209.85.216.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Bc4jIHxw" Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-38e3617ba36so2155473a91.3 for ; Thu, 06 Aug 2026 05:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786019350; x=1786624150; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=PATN1j5zjfMqry81Ubt1Txf86+h6fghF2+e0J3o9yzQ=; b=Bc4jIHxwzowZitE6LlTn/VrOc3gM+fz53MSrnr70m6zvABezajz0uAxgEsU902Y/Yw 9Jmi+lnlZl6oo42vxf6XX3mArWT9AF1eWSeyujkYi3LUSpJGUgXrAhhgF5/Zs+BDbkXs jLaLNvrCyHKkSrsDNW6twVYp2UDQRNobTsSFHqiPjBfwRQM4m5hMgH2GxW9dagZBuA16 Xqgakh+856jU+CJCxeD3sy7jmR2ahCN7mK0Cm7mFYnJF4VJzhJ5lQq2HjpOVqG+nQZCe H30p5k7TxWyhYWBMkHkql3IvmSIcgKme2DC/f2O8oxbAf70zyeXoksqOlWemDPUBXuVB oV0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786019350; x=1786624150; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=PATN1j5zjfMqry81Ubt1Txf86+h6fghF2+e0J3o9yzQ=; b=mkAYRkSqUEThq4sOdZPI6CEuac7Q/EUCcADegKRMz9T3pVGBBgo1uwDJ3rqq7od0d4 czo5O02JfZ5OBC2Oo0WeBIJtK2P+OutsrAmMnit5eRPOFlYTwBkCye6EYxDnxGPAP6C4 ojJ6yBuIg7w3Ps8tj4Te5PQuufwlNxhXWCRlurM/Dfad2ER0ZWfy3kH1UskbyiQa3dfp 78bm8UzYeff3sucDGkX241gna7utumZLuv75Lo9f/XSPZaZLpB4+iipSGupAySZ10z+u H3Bq4EoIxo9MCxjuNEgBQSMUXhgj52HAHigf5QzgzJ5g0aCEWeEOGD3au8qzsiMSzymr uCjw== X-Forwarded-Encrypted: i=1; AHgh+RoHQDyT2puPzR2mySLYJFRuqNwdHqxTljjiV2B8d5sF1DrKedqV5NWIxPFIXxIC45vhqdj+2HKBgjCGz3E=@vger.kernel.org X-Gm-Message-State: AOJu0Ywv0lIhjEA2zzOg7eEkezbYIm4rMDuip+5P0Sv3p8VwmiI99aqi rdQ+DS2Wuj2k4vufeQdDHmq3FaEG1yuOTcvABVBflruVztxthxIGqw0= X-Gm-Gg: AR+sD12rQS00zcWWGcMN3lMwBhPIPR9uEfDupAJC/1PO71GSv6niizys4N2cuok3vF+ xwyAniaTeMqmEbJ27wLa5Qpe906nk9NKhjEcXKsMAQt5vo/Tr4E2IdcybGdMRSUXxS5xn9+FI1b tndoM1gbVj3nsaaPEDoShDGyDIMpunRsBjWjaDnqIoLLMAM5IVpAUGfj6SW8ZyCry+RUD5OjDma GnDIlyrKc7ryV8n1DzvwX1pw8dSGDJv82yFdei0stWXlwkNESKWe0aMgrK6/ZRK4xgf/dmZL0uM MwhnSgPHhlPcRGCczh8ukd8TOC1Uveo/BcPwrRWEdi+yHuFyAJv5DxUzCa173gxCZaJB9yynN29 fXPUz8XQfG574uOaFFn83JbnHUC49sL8D6i3p+LHJ8ilTFFyrUnBjVj6XW1v9Tdza1cRdapA6vV uVqcgA/lC260I2SQ8g2LjwQl4Yk9CS5fz2rTbwj5sPvk+I/RG3d/efVf8djxyWKGHV2iGOAua05 4zZLdQKKfb6t7h3LnIMvbnN X-Received: by 2002:a17:90a:da83:b0:38e:2c8f:a01a with SMTP id 98e67ed59e1d1-3903c5d2f8bmr14496686a91.11.1786019349803; Thu, 06 Aug 2026 05:29:09 -0700 (PDT) Received: from localhost ([186.158.238.108]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-39085dbf82csm1463292a91.1.2026.08.06.05.29.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Aug 2026 05:29:08 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 06 Aug 2026 09:29:04 -0300 Message-Id: Cc: "Brigham Campbell" , "David Airlie" , "Simona Vetter" , "Shuah Khan" , "Thomas Zimmermann" , , , Subject: Re: [PATCH] drm/mipi-dsi: docs: Mark mipi_dsi_compression_mode() as deprecated From: =?utf-8?q?Nicol=C3=A1s_Antinori?= To: =?utf-8?q?Nicol=C3=A1s_Antinori?= , "Maarten Lankhorst" , "Maxime Ripard" X-Mailer: aerc 0.20.0 References: <20260702194223.290763-1-nico.antinori.7@gmail.com> In-Reply-To: <20260702194223.290763-1-nico.antinori.7@gmail.com> Hello, On Thu Jul 2, 2026 at 4:42 PM -03, Nicol=C3=A1s Antinori wrote: > The mipi_dsi_compression_mode() function is a thin wrapper around > mipi_dsi_compression_mode_ext(), which is already marked as deprecated. > Additionally, the non-deprecated mipi_dsi_compression_mode_multi() > alternative exists. > > Document this deprecation to encourage developers to use the multi varian= t. > > Signed-off-by: Nicol=C3=A1s Antinori > --- > drivers/gpu/drm/drm_mipi_dsi.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_ds= i.c > index 3ac1dd5ad640..9e20818f2de0 100644 > --- a/drivers/gpu/drm/drm_mipi_dsi.c > +++ b/drivers/gpu/drm/drm_mipi_dsi.c > @@ -699,6 +699,8 @@ EXPORT_SYMBOL(mipi_dsi_compression_mode_ext); > * Enable or disable Display Stream Compression on the peripheral using = the > * default Picture Parameter Set and VESA DSC 1.1 algorithm. > * > + * This function is deprecated. Use mipi_dsi_compression_mode_multi() in= stead. > + * > * Return: 0 on success or a negative error code on failure. > */ > int mipi_dsi_compression_mode(struct mipi_dsi_device *dsi, bool enable) > -- > 2.47.3 Is there any feedback on this patch? Regards, Nicol=C3=A1s