Re: (subset) [PATCH v7 0/6] HDMI TX support in msm8998

2024-10-05 Thread Bjorn Andersson
On Wed, 24 Jul 2024 17:01:33 +0200, Marc Gonzalez wrote: > DT bits required for HDMI TX support in qcom APQ8098 (MSM8998 cousin) > Applied, thanks! [5/6] arm64: dts: qcom: msm8998: add HDMI GPIOs commit: 1b97f00d1b11ed6e349816ba7e60fa76e477fcbb [6/6] arm64: dts: qcom: add HDMI nodes for

Re: [PATCH 1/2] drm/msm/dsi: improve/fix dsc pclk calculation

2024-10-05 Thread Jonathan Marek
On 10/5/24 12:31 PM, Konrad Dybcio wrote: On 5.10.2024 4:38 PM, Jonathan Marek wrote: drm_mode_vrefresh() can introduce a large rounding error, avoid it. Signed-off-by: Jonathan Marek --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

Re: [RFC PATCH 1/2] drm/drm_file: Add display of driver's internal memory size

2024-10-05 Thread Tvrtko Ursulin
Hi Adrian, On 03/10/2024 00:45, Adrián Larumbe wrote: Some drivers must allocate a considerable amount of memory for bookkeeping structures and GPU's MCU-kernel shared communication regions. These are often created as a result of the invocation of the driver's ioctl() interface functions, so i

[PATCH 2/2] drm/msm/dsi: fix 32-bit signed integer extension in pclk_rate calculation

2024-10-05 Thread Jonathan Marek
When (mode->clock * 1000) is larger than (1<<31), int to unsigned long conversion will sign extend the int to 64 bits and the pclk_rate value will be incorrect. Fix this by making the result of the multiplication unsigned. Note that above (1<<32) would still be broken and require more changes, bu

[PATCH 1/2] drm/msm/dsi: improve/fix dsc pclk calculation

2024-10-05 Thread Jonathan Marek
drm_mode_vrefresh() can introduce a large rounding error, avoid it. Signed-off-by: Jonathan Marek --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_host.c index 185d7de0bf37