From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED80915853B; Thu, 30 Apr 2026 09:05:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777539941; cv=none; b=RvrD+g2R5g3RxY6p9jpftIcYtvwylDBrxKYrsz71w7HvYCNnMMgf3p8vK8GOm0ymKCa8dOYDIM/J9L0QhzFcNEsv94p9LwKG18TYkeNSRyJ7/2RwaamrdNxHvxghKVPrsBx8N3Cj5meaOe5XtzorZgBdkWBg5QMqFKWuIX7zv1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777539941; c=relaxed/simple; bh=PD/RBvG0tika4WQOlK7lbn7RBjWTyLutXnF4l1j9Jzo=; h=Mime-Version:Content-Type:Date:Message-Id:To:From:Subject:Cc: References:In-Reply-To; b=tec2hIqre5Q75H3LI057m83PrcodPU4MBHQocSCBpK51YqytAAeqXrtGpIjtKReyCoTG8oPJL/rac3vRTc2/hcZCa9qITscTIEak308rvicHvLy2BE7APy0rk6LMD7cKe872k8lH/krgst0wxmHWTD+401jK37fGBQd0x/5kYwg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=UxvRzmOD; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="UxvRzmOD" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id BA943C5EF3A; Thu, 30 Apr 2026 09:06:21 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 3BF9660495; Thu, 30 Apr 2026 09:05:37 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 95AA710729FBD; Thu, 30 Apr 2026 11:05:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1777539936; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=PD/RBvG0tika4WQOlK7lbn7RBjWTyLutXnF4l1j9Jzo=; b=UxvRzmODfHMo12B0XNI9V/YNYvaJ2APi/IS+VypBrK1o2YYm6ZFeM+ylGBSh9PuYRtwJCZ XrTcbdErN1ec2QNmnQ+Ww2PtqdkwpY+aJFeUv5wow8sTV8Y4m2K0S1NWZHHx8JR+YXYrZ9 UCkKQbdIwmb4s8C5GU5Pg8gG5kaokfPZC55i9wcQ8auyGaOeRnEQJH4TM9k3+DAFwW1tMx WnZws7T+iby3lYJW0KytEiR4mntj7K1ykbSZwMRcxOYYbUr4Ii/gTTt2/bI20e1s4X7FMd p0Jw/kjLJ5crw829mIECy5orWM+17rThwhC6jOsG2fvG8dRJb/boLa/fvQvKww== 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, 30 Apr 2026 11:05:30 +0200 Message-Id: To: "Vitor Soares" , "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Laurent Pinchart" , "Jonas Karlman" , "Jernej Skrabec" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" From: "Luca Ceresoli" Subject: Re: [PATCH v4] drm/bridge: cdns-dsi: Replace deprecated UNIVERSAL_DEV_PM_OPS() Cc: "Vitor Soares" , , , , "Tomi Valkeinen" X-Mailer: aerc 0.20.1 References: <20260407144142.1420354-2-ivitro@gmail.com> <19d0a0b1d33061a0421edf883acaaa7e366646c2.camel@gmail.com> In-Reply-To: <19d0a0b1d33061a0421edf883acaaa7e366646c2.camel@gmail.com> X-Last-TLS-Session-Version: TLSv1.3 Hello Vitor, On Thu Apr 30, 2026 at 10:52 AM CEST, Vitor Soares wrote: >> > -static UNIVERSAL_DEV_PM_OPS(cdns_dsi_pm_ops, cdns_dsi_suspend, >> > cdns_dsi_resume, >> > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 NULL); >> > +static const struct dev_pm_ops cdns_dsi_pm_ops =3D { >> > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0RUNTIME_PM_OPS(cdns_dsi_sus= pend, cdns_dsi_resume, NULL) >> > +}; >> >> Not an expert here, but the docs [0] suggest using >> DEFINE_RUNTIME_DEV_PM_OPS(). Is there a good reason to not do so? >> >> [0] >> https://elixir.bootlin.com/linux/v7.0.1/source/include/linux/pm.h#L455-L= 456 >> >> Luca >> > > In an earlier discussion [0], we concluded that bridges/panels should onl= y deal > with runtime PM: Ah, good. Then please mention this in the commit message in v5. It can help others doing the right thing in future similar cases. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com