Re: [PATCH v2 0/9] drm: convert from clk round_rate() to determine_rate()

2025-09-14 Thread Brian Masney
Hi all, On Mon, Aug 11, 2025 at 06:56:04AM -0400, Brian Masney wrote: > The round_rate() clk ops is deprecated in the clk framework in favor > of the determine_rate() clk ops, so let's go ahead and convert the > drivers in the drm subsystem using the Coccinelle semantic patch >

Re: [PATCH v2 2/9] phy: mediatek: phy-mtk-hdmi-mt2701: convert from round_rate() to determine_rate()

2025-09-09 Thread Brian Masney
Hi Vinod, On Wed, Aug 20, 2025 at 01:27:35PM -0400, Brian Masney wrote: > On Wed, Aug 20, 2025 at 09:59:25PM +0530, Vinod Koul wrote: > > On 10-08-25, 18:45, Brian Masney wrote: > > > The round_rate() clk ops is deprecated, so migrate this driver from > > > round_rate(

Re: [PATCH v2 2/9] phy: mediatek: phy-mtk-hdmi-mt2701: convert from round_rate() to determine_rate()

2025-08-20 Thread Brian Masney
Hi Vinod, On Wed, Aug 20, 2025 at 09:59:25PM +0530, Vinod Koul wrote: > On 10-08-25, 18:45, Brian Masney wrote: > > The round_rate() clk ops is deprecated, so migrate this driver from > > round_rate() to determine_rate() using the Coccinelle semantic patch > > on the cover

[PATCH v2 9/9] drm/sun4i/sun4i_tcon_dclk: convert from round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Acked-by: Maxime Ripard Signed-off-by: Brian Masney --- drivers/gpu/drm/sun4i/sun4i_tcon_dclk.c | 18

[PATCH v2 8/9] drm/sun4i/sun4i_hdmi_ddc_clk: convert from round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Acked-by: Maxime Ripard Signed-off-by: Brian Masney --- drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c | 12 +++- 1

[PATCH v2 4/9] drm/msm/hdmi_pll_8960: convert from round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Acked-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/hdmi

[PATCH v2 2/9] drm/mcde/mcde_clk_div: convert from round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Reviewed-by: Linus Walleij Signed-off-by: Brian Masney --- drivers/gpu/drm/mcde/mcde_clk_div.c | 13 - 1 file

[PATCH v2 7/9] drm/stm/lvds: convert from round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Acked-by: Raphael Gallais-Pou Signed-off-by: Brian Masney --- drivers/gpu/drm/stm/lvds.c | 12 +++- 1 file

[PATCH v2 1/9] drm/imx/ipuv3/imx-tve: convert from round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/imx/ipuv3/imx-tve.c | 17 ++--- 1 file changed, 10 insertions

[PATCH v2 6/9] drm/stm/dw_mipi_dsi-stm: convert from round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Acked-by: Raphael Gallais-Pou Signed-off-by: Brian Masney --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 14

[PATCH v2 5/9] drm/pl111: convert from round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Reviewed-by: Linus Walleij Signed-off-by: Brian Masney --- drivers/gpu/drm/pl111/pl111_display.c | 13 - 1

[PATCH v2 3/9] drm/msm/disp/mdp4/mdp4_lvds_pll: convert from round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Acked-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/disp/mdp4

[PATCH v2 0/9] drm: convert from clk round_rate() to determine_rate()

2025-08-11 Thread Brian Masney
hat I used coccinelle 1.2 instead of 1.3 since the newer version adds unnecessary braces as described in this post. https://lore.kernel.org/cocci/67642477-5f3e-4b2a-914d-579a54f48...@intel.com/ Signed-off-by: Brian Masney --- Brian Masney (9): drm/imx/ipuv3/imx-tve: convert from round_rate()

[PATCH v2 7/7] drm/msm/hdmi_phy_8998: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. The change to use clamp_t() was done manually. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c

[PATCH v2 5/7] drm/msm/dsi_phy_7nm: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. The change to use clamp_t() was done manually. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c

[PATCH v2 6/7] drm/msm/hdmi_phy_8996: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. The change to use clamp_t() was done manually. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c

[PATCH v2 2/7] drm/msm/dsi_phy_14nm: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. The change to use clamp_t() was done manually. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c

[PATCH v2 1/7] drm/msm/dsi_phy_10nm: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. The change to use clamp_t() was done manually. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c

[PATCH v2 4/7] drm/msm/dsi_phy_28nm: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. The change to use clamp_t() was done manually. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c

[PATCH v2 3/7] drm/msm/dsi_phy_28nm_8960: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. The change to use clamp_t() was done manually. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy

[PATCH v2 0/7] drm/msm/dsi/phy: convert from clk round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
elle 1.2 instead of 1.3 since the newer version adds unnecessary braces as described in this post. https://lore.kernel.org/cocci/67642477-5f3e-4b2a-914d-579a54f48...@intel.com/ Signed-off-by: Brian Masney --- Brian Masney (7): drm/msm/dsi_phy_10nm: convert from round_rate() to determine_rate() drm/

[PATCH v2 9/9] phy: ti: phy-j721e-wiz: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/ti/phy-j721e-wiz.c | 11 +++ 1 file changed, 7 insertions(+), 4

[PATCH v2 8/9] phy: rockchip: phy-rockchip-samsung-hdptx: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c | 14 -- 1 file changed, 8

[PATCH v2 7/9] phy: rockchip: phy-rockchip-inno-hdmi: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 30 ++- 1 file

[PATCH v2 6/9] phy: mediatek: phy-mtk-mipi-dsi-mt8183: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-mipi-dsi-mt8183.c | 10 ++ 1 file changed, 6

[PATCH v2 5/9] phy: mediatek: phy-mtk-mipi-dsi-mt8173: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-mipi-dsi-mt8173.c | 10 ++ 1 file changed, 6

[PATCH v2 4/9] phy: mediatek: phy-mtk-hdmi-mt8195: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c | 10 +- 1 file changed, 5 insertions

[PATCH v2 3/9] phy: mediatek: phy-mtk-hdmi-mt8173: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-hdmi-mt8173.c | 16 1 file changed, 8

[PATCH v2 2/9] phy: mediatek: phy-mtk-hdmi-mt2701: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-hdmi-mt2701.c | 8 1 file changed, 4 insertions

[PATCH v2 1/9] phy: freescale: phy-fsl-samsung-hdmi: convert from round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/freescale/phy-fsl-samsung-hdmi.c | 13 - 1 file changed, 8

[PATCH v2 0/9] phy: convert from clk round_rate() to determine_rate()

2025-08-10 Thread Brian Masney
used coccinelle 1.2 instead of 1.3 since the newer version adds unnecessary braces as described in this post. https://lore.kernel.org/cocci/67642477-5f3e-4b2a-914d-579a54f48...@intel.com/ Signed-off-by: Brian Masney --- Brian Masney (9): phy: freescale: phy-fsl-samsung-hdmi: convert from

Re: [PATCH 9/9] drm/sun4i/sun4i_tcon_dclk: convert from round_rate() to determine_rate()

2025-07-30 Thread Brian Masney
On Fri, Jul 11, 2025 at 3:05 AM Maxime Ripard wrote: > On Thu, Jul 10, 2025 at 01:43:10PM -0400, Brian Masney wrote: > > -static long sun4i_dclk_round_rate(struct clk_hw *hw, unsigned long rate, > > - unsigned long *parent_rate)

Re: [PATCH] drm/amdgpu: Raven: don't allow mixing GTT and VRAM

2025-07-18 Thread Brian Geffon
On Thu, Jul 17, 2025 at 10:59 AM Alex Deucher wrote: > > On Wed, Jul 16, 2025 at 8:13 PM Brian Geffon wrote: > > > > On Wed, Jul 16, 2025 at 5:03 PM Alex Deucher wrote: > > > > > > On Wed, Jul 16, 2025 at 12:40 PM Brian Geffon wrote: > > > &g

Re: [PATCH] drm/amdgpu: Raven: don't allow mixing GTT and VRAM

2025-07-16 Thread Brian Geffon
On Wed, Jul 16, 2025 at 5:03 PM Alex Deucher wrote: > > On Wed, Jul 16, 2025 at 12:40 PM Brian Geffon wrote: > > > > On Wed, Jul 16, 2025 at 12:33 PM Alex Deucher wrote: > > > > > > On Wed, Jul 16, 2025 at 12:18 PM Brian Geffon wrote: > > > >

Re: [PATCH] drm/amdgpu: Raven: don't allow mixing GTT and VRAM

2025-07-16 Thread Brian Geffon
On Wed, Jul 16, 2025 at 12:33 PM Alex Deucher wrote: > > On Wed, Jul 16, 2025 at 12:18 PM Brian Geffon wrote: > > > > Commit 81d0bcf99009 ("drm/amdgpu: make display pinning more flexible (v2)") > > allowed for newer ASICs to mix GTT and VRAM, this change als

[PATCH] drm/amdgpu: Raven: don't allow mixing GTT and VRAM

2025-07-16 Thread Brian Geffon
lex Deucher Cc: sta...@vger.kernel.org # 6.1+ Tested-by: Thadeu Lima de Souza Cascardo Signed-off-by: Brian Geffon --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/driver

[PATCH 9/9] drm/sun4i/sun4i_tcon_dclk: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/sun4i/sun4i_tcon_dclk.c | 18 ++ 1 file changed, 10

[PATCH 8/9] drm/sun4i/sun4i_hdmi_ddc_clk: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c | 12 +++- 1 file changed, 7 insertions

[PATCH 7/9] drm/stm/lvds: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/stm/lvds.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions

[PATCH 4/9] drm/msm/hdmi_pll_8960: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c | 12 +++- 1 file changed, 7 insertions

[PATCH 6/9] drm/stm/dw_mipi_dsi-stm: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 14 -- 1 file changed, 8 insertions

[PATCH 5/9] drm/pl111: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/pl111/pl111_display.c | 13 - 1 file changed, 8 insertions

[PATCH 3/9] drm/msm/disp/mdp4/mdp4_lvds_pll: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_pll.c | 13 - 1 file changed, 8

[PATCH 2/9] drm/mcde/mcde_clk_div: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/mcde/mcde_clk_div.c | 13 - 1 file changed, 8 insertions(+), 5

[PATCH 1/9] drm/imx/ipuv3/imx-tve: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/imx/ipuv3/imx-tve.c | 17 ++--- 1 file changed, 10 insertions

[PATCH 0/9] drm: convert from clk round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
this post. https://lore.kernel.org/cocci/67642477-5f3e-4b2a-914d-579a54f48...@intel.com/ Signed-off-by: Brian Masney --- Brian Masney (9): drm/imx/ipuv3/imx-tve: convert from round_rate() to determine_rate() drm/mcde/mcde_clk_div: convert from round_rate() to determine_ra

[PATCH 7/7] drm/msm/hdmi_phy_8998: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 19 +-- 1 file changed, 9

[PATCH 6/7] drm/msm/hdmi_phy_8996: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 19 +-- 1 file changed, 9

[PATCH 5/7] drm/msm/dsi_phy_7nm: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 18 +- 1 file changed, 9

[PATCH 4/7] drm/msm/dsi_phy_28nm: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c | 22 +++--- 1 file changed, 11

[PATCH 3/7] drm/msm/dsi_phy_28nm_8960: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c | 34 + 1 file

[PATCH 2/7] drm/msm/dsi_phy_14nm: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 36 -- 1 file

[PATCH 0/7] drm/msm/dsi/phy: convert from clk round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
as described in this post. https://lore.kernel.org/cocci/67642477-5f3e-4b2a-914d-579a54f48...@intel.com/ Signed-off-by: Brian Masney --- Brian Masney (7): drm/msm/dsi_phy_10nm: convert from round_rate() to determine_rate() drm/msm/dsi_phy_14nm: convert from round_rate() to deter

[PATCH 1/7] drm/msm/dsi_phy_10nm: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c | 18 +- 1 file changed, 9

[PATCH 3/9] phy: mediatek: phy-mtk-hdmi-mt8173: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-hdmi-mt8173.c | 16 1 file changed, 8

[PATCH 7/9] phy: rockchip: phy-rockchip-inno-hdmi: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 30 ++- 1 file

[PATCH 2/9] phy: mediatek: phy-mtk-hdmi-mt2701: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-hdmi-mt2701.c | 8 1 file changed, 4 insertions

[PATCH 9/9] phy: ti: phy-j721e-wiz: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/ti/phy-j721e-wiz.c | 11 +++ 1 file changed, 7 insertions(+), 4

[PATCH 8/9] phy: rockchip: phy-rockchip-samsung-hdptx: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c | 21 + 1 file

[PATCH 0/9] phy: convert from clk round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
this post. https://lore.kernel.org/cocci/67642477-5f3e-4b2a-914d-579a54f48...@intel.com/ Signed-off-by: Brian Masney --- Brian Masney (9): phy: freescale: phy-fsl-samsung-hdmi: convert from round_rate() to determine_rate() phy: mediatek: phy-mtk-hdmi-mt2701: convert from

[PATCH 5/9] phy: mediatek: phy-mtk-mipi-dsi-mt8173: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-mipi-dsi-mt8173.c | 10 ++ 1 file changed, 6

[PATCH 4/9] phy: mediatek: phy-mtk-hdmi-mt8195: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c | 10 +- 1 file changed, 5 insertions

[PATCH 6/9] phy: mediatek: phy-mtk-mipi-dsi-mt8183: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/mediatek/phy-mtk-mipi-dsi-mt8183.c | 10 ++ 1 file changed, 6

[PATCH 1/9] phy: freescale: phy-fsl-samsung-hdmi: convert from round_rate() to determine_rate()

2025-07-10 Thread Brian Masney
The round_rate() clk ops is deprecated, so migrate this driver from round_rate() to determine_rate() using the Coccinelle semantic patch on the cover letter of this series. Signed-off-by: Brian Masney --- drivers/phy/freescale/phy-fsl-samsung-hdmi.c | 13 - 1 file changed, 8

[PATCH v3] drm/i915: Fix page cleanup on DMA remap failure

2025-01-27 Thread Brian Geffon
t shmem_sg_free_table() to use a folio_batch") Signed-off-by: Brian Geffon Suggested-by: Tomasz Figa --- drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_shmem.c b/drivers/gpu/drm/i915/

Re: [PATCH v2] drm/i915: Fix page cleanup on DMA remap failure

2025-01-27 Thread Brian Geffon
On Mon, Jan 27, 2025 at 1:47 PM Ville Syrjälä wrote: > > On Thu, Jan 16, 2025 at 10:53:40AM -0500, Brian Geffon wrote: > > When converting to folios the cleanup path of shmem_get_pages() was > > missed. When a DMA remap fails and the max segment size is greater than > > P

Re: [PATCH v2] drm/i915: Fix page cleanup on DMA remap failure

2025-01-24 Thread Brian Geffon
On Wed, Jan 22, 2025 at 10:07 PM Srinivas, Vidya wrote: > > Hello Brian, Many thanks for the fix. I am adding my tested-by. > Tested-by: Vidya Srinivas Thanks for testing Vidya. Can we get a maintainer to take a look? > > > > -Original Message- > > From:

[PATCH v2] drm/i915: Fix page cleanup on DMA remap failure

2025-01-16 Thread Brian Geffon
rnel.org/lkml/20250116135636.410164-1-bgef...@google.com/ Fixes: 0b62af28f249 ("i915: convert shmem_sg_free_table() to use a folio_batch") Signed-off-by: Brian Geffon Suggested-by: Tomasz Figa --- drivers/gpu/drm/i915/gem/i915_gem_object.h | 3 +-- drivers/gpu/drm/i915/gem

Re: [PATCH] drm/i915: Fix page cleanup on DMA remap failure

2025-01-16 Thread Brian Geffon
On Thu, Jan 16, 2025 at 9:38 AM Ville Syrjälä wrote: > > On Thu, Jan 16, 2025 at 04:24:26PM +0200, Ville Syrjälä wrote: > > On Thu, Jan 16, 2025 at 08:56:36AM -0500, Brian Geffon wrote: > > > When converting to folios the cleanup path of shmem_get_pages() was > > >

Re: [PATCH] drm/i915: Fix page cleanup on DMA remap failure

2025-01-16 Thread Brian Geffon
On Thu, Jan 16, 2025 at 9:24 AM Ville Syrjälä wrote: > > On Thu, Jan 16, 2025 at 08:56:36AM -0500, Brian Geffon wrote: > > When converting to folios the cleanup path of shmem_get_pages() was > > missed. When a DMA remap fails and the max segment size is greater than > > P

Re: [PATCH] drm/i915: Fix page cleanup on DMA remap failure

2025-01-16 Thread Brian Geffon
On Thu, Jan 16, 2025 at 9:24 AM Ville Syrjälä wrote: > > On Thu, Jan 16, 2025 at 08:56:36AM -0500, Brian Geffon wrote: > > When converting to folios the cleanup path of shmem_get_pages() was > > missed. When a DMA remap fails and the max segment size is greater than > > P

[PATCH] drm/i915: Fix page cleanup on DMA remap failure

2025-01-16 Thread Brian Geffon
isn't handling compound pages correctly. Link: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13487 Fixes: 0b62af28f249 ("i915: convert shmem_sg_free_table() to use a folio_batch") Signed-off-by: Brian Geffon Suggested-by: Tomasz Figa --- drivers/gpu/drm/i915/gem/i

Re: [PATCH] drm/fourcc: add LINEAR modifiers with an exact pitch alignment

2024-12-20 Thread Brian Starkey
el raised. That needs addressing. On Thu, Dec 19, 2024 at 07:33:07PM +, Marek Olšák wrote: > On Thu, Dec 19, 2024 at 5:32 AM Brian Starkey wrote: > > > On Wed, Dec 18, 2024 at 09:53:56PM +, Marek Olšák wrote: > > The pitch doesn't always describe the layout. In prac

Re: [PATCH] drm/fourcc: add LINEAR modifiers with an exact pitch alignment

2024-12-19 Thread Brian Starkey
On Wed, Dec 18, 2024 at 09:53:56PM +, Marek Olšák wrote: > On Wed, Dec 18, 2024 at 5:32 AM Brian Starkey wrote: > > > On Wed, Dec 18, 2024 at 11:24:58AM +, Simona Vetter wrote: > > > > > > For that reason I think linear modifiers with explicit pitch/size &g

Re: [PATCH] drm/fourcc: add LINEAR modifiers with an exact pitch alignment

2024-12-18 Thread Brian Starkey
t is a "special" constraint (in that it's really a description of the buffer layout), and that constraints in-general shouldn't be exposed via modifiers? Cheers, -Brian

Re: [PATCH] drm/fourcc: add LINEAR modifiers with an exact pitch alignment

2024-12-17 Thread Brian Starkey
On Tue, Dec 17, 2024 at 11:13:05AM +, Michel Dänzer wrote: > On 2024-12-17 10:14, Brian Starkey wrote: > > On Sun, Dec 15, 2024 at 03:53:14PM +, Marek Olšák wrote: > >> The comment explains the problem with DRM_FORMAT_MOD_LINEAR. > >> > >> Signed-off-by:

Re: [PATCH] drm/fourcc: add LINEAR modifiers with an exact pitch alignment

2024-12-17 Thread Brian Starkey
y - it's a device constraint. It feels out of place to overload modifiers with it. I'm not saying we don't need a way to describe constraints to allocators, but I question if modifiers the right mechanism to communicate them? Cheers, -Brian

Re: [NOT A REGRESSION] firmware: framebuffer-coreboot: duplicate device name "simple-framebuffer.0"

2024-09-13 Thread Brian Norris
o prevent the issue, make the framebuffer_core driver to not register a > platform device if the global struct screen_info data has been filled. > > Reported-by: Brian Norris > Link: > https://lore.kernel.org/all/ZuCG-DggNThuF4pj@b20ea791c01f/T/#ma7fb65acbc1a56042258adac910992bb225a2

[NOT A REGRESSION] firmware: framebuffer-coreboot: duplicate device name "simple-framebuffer.0"

2024-09-10 Thread Brian Norris
rs should be switched to use PLATFORM_DEVID_AUTO? Or at least one of them. Or they should use different base names. I'm not really sure what the best option is (does anyone rely on or care about the device naming?), and I don't actually use this driver. But here's an untested dif

Re: Correct sequencing of usage of DRM writeback connector

2024-06-18 Thread Brian Starkey
ngle frames for static-screen and testing purposes, and there wasn't a consensus on how to make a streaming API, so we didn't do it. > Note, in my humble opinion, it should be perfectly possible to setup > writeback as a clone to the existing connector (if a clone mode is > su

Re: Correct sequencing of usage of DRM writeback connector

2024-06-17 Thread Brian Starkey
ew writeback every frame. It drains out the last of the data during vblank, before starting on the next frame. That doesn't help the "general case" though. > >If we already have devices where you can use writeback together with real >outputs, then I guess that counts as an oopsie :-/ Well "works fine" fits into the "undefined behaviour" bucket, just as well as "corrupts your fb" does :-) -Brian > >Cheers, Sima >-- >Daniel Vetter >Software Engineer, Intel Corporation >http://blog.ffwll.ch

Re: [PATCH 21/23] drm/xe/svm: GPU page fault support

2024-01-22 Thread Welty, Brian
Vishwanathapura Cc: Matthew Brost Cc: Thomas Hellström Cc: Brian Welty --- drivers/gpu/drm/xe/xe_gt_pagefault.c | 7 ++ drivers/gpu/drm/xe/xe_svm.c | 116 +++ drivers/gpu/drm/xe/xe_svm.h | 6 ++ drivers/gpu/drm/xe/xe_svm_range.c| 43 ++ 4

[PATCH] fbdev/simplefb: change loglevel when the power domains cannot be parsed

2023-12-12 Thread Brian Masney
When the power domains cannot be parsed, the message is incorrectly logged as an info message. Let's change this to an error since an error is returned. Fixes: 92a511a568e4 ("fbdev/simplefb: Add support for generic power-domains") Signed-off-by: Brian Masney --- drivers/video/f

Re: [Intel-xe] ttm_bo and multiple backing store segments

2023-08-03 Thread Welty, Brian
-0700, Welty, Brian wrote: Hi Christian / Thomas, Wanted to ask if you have explored or thought about adding support in TTM such that a ttm_bo could have more than one underlying backing store segment (that is, to have a tree of ttm_resources)? We already use something similar on amdgpu where

ttm_bo and multiple backing store segments

2023-06-29 Thread Welty, Brian
BO Or is the thinking that workloads should use SVM/HMM instead of GEM_CREATE if they want above benefits? Is this something you are open to seeing an RFC series that starts perhaps with just extending ttm_bo_validate() to see how this might shape up? -Brian

Re: [PATCH] drm/msm/adreno: Update MODULE_FIRMWARE macros

2023-06-16 Thread Brian Masney
/a650_zap.mdt"); > +MODULE_FIRMWARE("qcom/a660_gmu.bin"); > +MODULE_FIRMWARE("qcom/a660_sqe.fw"); > +MODULE_FIRMWARE("qcom/a660_zap.mdt"); > +MODULE_FIRMWARE("qcom/leia_pfp_470.fw"); > +MODULE_FIRMWARE("qcom/leia_pm4_470.fw"); > +MODULE_FIRMWARE("qcom/yamato_pfp.fw"); > +MODULE_FIRMWARE("qcom/yamato_pm4.fw"); You should rebase this on top of the latest -next since the a690 needs to be added as well. Brian

Re: [PATCH 1/1] drm/bridge: analogix_dp: add a quirk for Bob panel

2023-02-14 Thread Brian Norris
PSR enabled state. > + */ > + if (status == DP_PSR_SINK_ACTIVE_RFB) { > + if ((reg == DP_PSR_SINK_ACTIVE_RFB) && > + ((store == DP_PSR_SINK_ACTIVE_SINK_SYNCED) || > + (store == DP_PSR_SINK_AC

Re: [PATCH] drm: bridge: Use devm_platform_get_and_ioremap_resource()

2023-01-19 Thread Brian Norris
> clk_prepare_enable(dp->clock); > > - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > - > - dp->reg_base = devm_ioremap_resource(&pdev->dev, res); > + dp->reg_base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL); Rather than a NULL 3rd

[PATCH v3 2/2] drm/rockchip: vop: Leave vblank enabled in self-refresh

2023-01-09 Thread Brian Norris
f course. v3: * no update v2: * skip unnecessary lock/unlock Fixes: 6c836d965bad ("drm/rockchip: Use the helpers for PSR") Cc: Link: https://lore.kernel.org/dri-devel/y5itf0+yniqa6...@sirena.org.uk/ Reported-by: "kernelci.org bot" Signed-off-by: Brian Norris --- drivers/gpu/

[PATCH v3 1/2] drm/atomic: Allow vblank-enabled + self-refresh "disable"

2023-01-09 Thread Brian Norris
lf-refresh * describe failing test case and relation to drm/rockchip patch better Cc: # dependency for "drm/rockchip: vop: Leave # vblank enabled in self-refresh" Signed-off-by: Brian Norris --- drivers/gpu/drm/drm_atomic_helper.c | 11 ++- 1 file chang

Re: [PATCH v2 1/2] drm/atomic: Allow vblank-enabled + self-refresh "disable"

2023-01-06 Thread Brian Norris
On Fri, Jan 6, 2023 at 5:23 PM Brian Norris wrote: > v2: > * add 'ret != 0' warning case for self-refresh > * describe failing test case and relation to drm/rockchip patch better Ugh, there's always something you remember right after you hit send: I forgot to better sum

[PATCH v2 2/2] drm/rockchip: vop: Leave vblank enabled in self-refresh

2023-01-06 Thread Brian Norris
"drm/rockchip: Use the helpers for PSR") Cc: Link: https://lore.kernel.org/dri-devel/y5itf0+yniqa6...@sirena.org.uk/ Reported-by: "kernelci.org bot" Signed-off-by: Brian Norris --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 8 1 file changed, 4 insertions

[PATCH v2 1/2] drm/atomic: Allow vblank-enabled + self-refresh "disable"

2023-01-06 Thread Brian Norris
add 'ret != 0' warning case for self-refresh * describe failing test case and relation to drm/rockchip patch better Cc: # dependency for "drm/rockchip: vop: Leave # vblank enabled in self-refresh" Signed-off-by: Brian Norris --- drivers/gpu/drm/dr

Re: [PATCH 2/2] drm/rockchip: vop: Leave vblank enabled in self-refresh

2023-01-06 Thread Brian Norris
On Fri, Jan 06, 2023 at 12:42:54PM +0100, Michel Dänzer wrote: > On 1/6/23 02:40, Brian Norris wrote: > > --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c > > +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c > > @@ -719,11 +719,11 @@ static void vop_crtc_atomic_disable(struc

Re: [PATCH 1/2] drm/atomic: Allow vblank-enabled + self-refresh "disable"

2023-01-06 Thread Brian Norris
On Fri, Jan 06, 2023 at 09:30:56PM +0100, Daniel Vetter wrote: > On Fri, Jan 06, 2023 at 11:33:06AM -0800, Brian Norris wrote: > > On Fri, Jan 06, 2023 at 07:17:53PM +0100, Daniel Vetter wrote: > > > - check that drivers which use self_ref

Re: [PATCH 1/2] drm/atomic: Allow vblank-enabled + self-refresh "disable"

2023-01-06 Thread Brian Norris
y notice that this is "broken". I suppose it would only be IGT tests that notice. 5. I fixed up various upstream PSR bugs are part of #3 [0], along the way I unborked PSR enough that KernelCI finally caught the bug. See my explanation in [1] for why the vblank bug was masked, and

Re: [PATCH 1/2] drm/atomic: Allow vblank-enabled + self-refresh "disable"

2023-01-06 Thread Brian Norris
On Fri, Jan 06, 2023 at 07:20:40PM +0100, Daniel Vetter wrote: > On Fri, Jan 06, 2023 at 10:08:53AM -0800, Brian Norris wrote: > > OK! Then that sounds like it at least ACKs my general idea for this > > series. (Michel and I poked at a few ideas in the thread at [1] and > > l

Re: [PATCH 1/2] drm/atomic: Allow vblank-enabled + self-refresh "disable"

2023-01-06 Thread Brian Norris
Hi Daniel, On Fri, Jan 06, 2023 at 06:53:49PM +0100, Daniel Vetter wrote: > On Thu, Jan 05, 2023 at 05:40:17PM -0800, Brian Norris wrote: > > The self-refresh helper framework overloads "disable" to sometimes mean > > "go into self-refresh mode," and this mo

Re: renesas/master bisection: igt-kms-rockchip.kms_vblank.pipe-A-wait-forked on rk3399-gru-kevin

2023-01-05 Thread Brian Norris
On Thu, Jan 05, 2023 at 04:59:55PM -0800, Brian Norris wrote: > On Wed, Jan 04, 2023 at 10:11:46AM +0100, Michel Dänzer wrote: > > On 1/4/23 03:11, Brian Norris wrote: > > > On Tue, Jan 03, 2023 at 07:04:00PM +0100, Michel Dänzer wrote: > > >> On 12/21/22 23:02,

[PATCH 2/2] drm/rockchip: vop: Leave vblank enabled in self-refresh

2023-01-05 Thread Brian Norris
p on self refresh") as well. We also need the previous patch ("drm/atomic: Allow vblank-enabled + self-refresh "disable""), of course. Fixes: 6c836d965bad ("drm/rockchip: Use the helpers for PSR") Cc: Link: https://lore.kernel.org/dri-devel/y5itf0+yniqa6...@sire

  1   2   3   4   5   6   7   8   9   10   >