Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 0/2] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant
@ 2026-03-11 18:44 David Heidelberg via B4 Relay
  2026-03-11 18:44 ` [PATCH 1/2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer David Heidelberg via B4 Relay
  2026-03-11 18:44 ` [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS David Heidelberg via B4 Relay
  0 siblings, 2 replies; 10+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-03-11 18:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, David Heidelberg
  Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina

Enable framebuffer for early console output.

Due to broken panel driver on tianma and no visual output it's better
to disable the MDSS so the framebuffer stays on. 

In case second patch gets rejected, please apply the first one standalone

Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
---
Petr Hodina (2):
      arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer
      arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS

 .../boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi    | 16 ++++++++++++++++
 .../boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts     | 10 ++++++++++
 2 files changed, 26 insertions(+)
---
base-commit: f90aadf1c67c8b4969d1e5e6d4fd7227adb6e4d7
change-id: 20260107-beryllium-fb-d3e87bc20be0

Best regards,
-- 
David Heidelberg <david@ixit.cz>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer
  2026-03-11 18:44 [PATCH 0/2] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant David Heidelberg via B4 Relay
@ 2026-03-11 18:44 ` David Heidelberg via B4 Relay
  2026-03-13 12:36   ` Konrad Dybcio
  2026-03-11 18:44 ` [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS David Heidelberg via B4 Relay
  1 sibling, 1 reply; 10+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-03-11 18:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, David Heidelberg
  Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina

From: Petr Hodina <petr.hodina@protonmail.com>

Add framebuffer for early console and u-boot support.

Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
 .../boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
index 01b570d0880d6..bd6d7a3cfc0ac 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
@@ -39,6 +39,22 @@ aliases {
 		serial1 = &uart6;
 	};
 
+	chosen {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		framebuffer: framebuffer@9d400000 {
+			compatible = "simple-framebuffer";
+			memory-region = <&cont_splash_mem>;
+
+			format = "a8r8g8b8";
+			stride = <(1080 * 4)>;
+			height = <2246>;
+			width = <1080>;
+		};
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 		autorepeat;

-- 
2.53.0



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS
  2026-03-11 18:44 [PATCH 0/2] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant David Heidelberg via B4 Relay
  2026-03-11 18:44 ` [PATCH 1/2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer David Heidelberg via B4 Relay
@ 2026-03-11 18:44 ` David Heidelberg via B4 Relay
  2026-03-12  2:46   ` Dmitry Baryshkov
  1 sibling, 1 reply; 10+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-03-11 18:44 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, David Heidelberg
  Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina

From: Petr Hodina <petr.hodina@protonmail.com>

Currently the panel driver for tianma is broken.
Disable MDSS to prevent DRM taking over the framebuffer.

Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
index b58964cde8342..d1c7bccaab500 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
@@ -36,3 +36,13 @@ touchscreen@1 {
 		touchscreen-size-y = <2246>;
 	};
 };
+
+&dispcc {
+	/* Disable for now so simple-framebuffer continues working */
+	status = "disabled";
+};
+
+&mdss {
+	/* Disable for now so simple-framebuffer continues working */
+	status = "disabled";
+};

-- 
2.53.0



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS
  2026-03-11 18:44 ` [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS David Heidelberg via B4 Relay
@ 2026-03-12  2:46   ` Dmitry Baryshkov
  2026-03-12 11:25     ` David Heidelberg
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Baryshkov @ 2026-03-12  2:46 UTC (permalink / raw)
  To: david
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
	phone-devel, Petr Hodina

On Wed, Mar 11, 2026 at 07:44:30PM +0100, David Heidelberg via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
> 
> Currently the panel driver for tianma is broken.

How broken? Can it be fixed instead?

> Disable MDSS to prevent DRM taking over the framebuffer.
> 
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
>  arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
> index b58964cde8342..d1c7bccaab500 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
> +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts
> @@ -36,3 +36,13 @@ touchscreen@1 {
>  		touchscreen-size-y = <2246>;
>  	};
>  };
> +
> +&dispcc {
> +	/* Disable for now so simple-framebuffer continues working */
> +	status = "disabled";
> +};
> +
> +&mdss {
> +	/* Disable for now so simple-framebuffer continues working */
> +	status = "disabled";
> +};
> 
> -- 
> 2.53.0
> 
> 

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS
  2026-03-12  2:46   ` Dmitry Baryshkov
@ 2026-03-12 11:25     ` David Heidelberg
  2026-03-13 12:38       ` Konrad Dybcio
  0 siblings, 1 reply; 10+ messages in thread
From: David Heidelberg @ 2026-03-12 11:25 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
	phone-devel, Petr Hodina

On 12/03/2026 03:46, Dmitry Baryshkov wrote:
> On Wed, Mar 11, 2026 at 07:44:30PM +0100, David Heidelberg via B4 Relay wrote:
>> From: Petr Hodina <petr.hodina@protonmail.com>
>>
>> Currently the panel driver for tianma is broken.
> 
> How broken? Can it be fixed instead?

No output to the panel. Definitely can be fixed, but current situation is that 
we don't have anyone who has available time or device to tackle the problem.

I know it's not optimal, but on a way to achieve working mainline phones, my 
thinking is better to mark it as broken in mainline until someone fixes 
(assuming Fixes tag and backport) then just going black display (when we have at 
least framebuffer now).

David

> 
>> Disable MDSS to prevent DRM taking over the framebuffer.
>>
>> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
>> Signed-off-by: David Heidelberg <david@ixit.cz>
>> ---
>>   arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-tianma.dts | 10 ++++++++++
>>   1 file changed, 10 insertions(+)
>>

[...]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer
  2026-03-11 18:44 ` [PATCH 1/2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer David Heidelberg via B4 Relay
@ 2026-03-13 12:36   ` Konrad Dybcio
  0 siblings, 0 replies; 10+ messages in thread
From: Konrad Dybcio @ 2026-03-13 12:36 UTC (permalink / raw)
  To: david, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel, Petr Hodina

On 3/11/26 7:44 PM, David Heidelberg via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
> 
> Add framebuffer for early console and u-boot support.
> 
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
>  .../boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi    | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
> index 01b570d0880d6..bd6d7a3cfc0ac 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
> @@ -39,6 +39,22 @@ aliases {
>  		serial1 = &uart6;
>  	};
>  
> +	chosen {
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		framebuffer: framebuffer@9d400000 {

This node has no 'reg' property, so it shouldn't have a unit address
(after '@') either

Konrad

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS
  2026-03-12 11:25     ` David Heidelberg
@ 2026-03-13 12:38       ` Konrad Dybcio
  2026-03-13 13:09         ` David Heidelberg
  0 siblings, 1 reply; 10+ messages in thread
From: Konrad Dybcio @ 2026-03-13 12:38 UTC (permalink / raw)
  To: David Heidelberg, Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
	phone-devel, Petr Hodina

On 3/12/26 12:25 PM, David Heidelberg wrote:
> On 12/03/2026 03:46, Dmitry Baryshkov wrote:
>> On Wed, Mar 11, 2026 at 07:44:30PM +0100, David Heidelberg via B4 Relay wrote:
>>> From: Petr Hodina <petr.hodina@protonmail.com>
>>>
>>> Currently the panel driver for tianma is broken.
>>
>> How broken? Can it be fixed instead?
> 
> No output to the panel. Definitely can be fixed, but current situation is that we don't have anyone who has available time or device to tackle the problem.
> 
> I know it's not optimal, but on a way to achieve working mainline phones, my thinking is better to mark it as broken in mainline until someone fixes (assuming Fixes tag and backport) then just going black display (when we have at least framebuffer now).

If you have a person with limited time, would simply copying this:

2b973ca48ff3 ("drm/panel: sony-td4353-jdi: Enable prepare_prev_first")

fix it?

Konrad

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS
  2026-03-13 12:38       ` Konrad Dybcio
@ 2026-03-13 13:09         ` David Heidelberg
  2026-03-16  9:30           ` Konrad Dybcio
  0 siblings, 1 reply; 10+ messages in thread
From: David Heidelberg @ 2026-03-13 13:09 UTC (permalink / raw)
  To: Konrad Dybcio, Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
	phone-devel, Petr Hodina

On 13/03/2026 13:38, Konrad Dybcio wrote:
> On 3/12/26 12:25 PM, David Heidelberg wrote:
>> On 12/03/2026 03:46, Dmitry Baryshkov wrote:
>>> On Wed, Mar 11, 2026 at 07:44:30PM +0100, David Heidelberg via B4 Relay wrote:
>>>> From: Petr Hodina <petr.hodina@protonmail.com>
>>>>
>>>> Currently the panel driver for tianma is broken.
>>>
>>> How broken? Can it be fixed instead?
>>
>> No output to the panel. Definitely can be fixed, but current situation is that we don't have anyone who has available time or device to tackle the problem.
>>
>> I know it's not optimal, but on a way to achieve working mainline phones, my thinking is better to mark it as broken in mainline until someone fixes (assuming Fixes tag and backport) then just going black display (when we have at least framebuffer now).
> 
> If you have a person with limited time, would simply copying this:
> 
> 2b973ca48ff3 ("drm/panel: sony-td4353-jdi: Enable prepare_prev_first")

Sorry, I don't follow. You meant introducing prepare_prev_first?

I asked if it's possible to test, but looking at the rest of the driver, it'll 
need refactor anyway.

David>
> fix it?
> 
> Konrad

-- 
David Heidelberg


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS
  2026-03-13 13:09         ` David Heidelberg
@ 2026-03-16  9:30           ` Konrad Dybcio
  2026-03-17  8:40             ` David Heidelberg
  0 siblings, 1 reply; 10+ messages in thread
From: Konrad Dybcio @ 2026-03-16  9:30 UTC (permalink / raw)
  To: David Heidelberg, Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
	phone-devel, Petr Hodina

On 3/13/26 2:09 PM, David Heidelberg wrote:
> On 13/03/2026 13:38, Konrad Dybcio wrote:
>> On 3/12/26 12:25 PM, David Heidelberg wrote:
>>> On 12/03/2026 03:46, Dmitry Baryshkov wrote:
>>>> On Wed, Mar 11, 2026 at 07:44:30PM +0100, David Heidelberg via B4 Relay wrote:
>>>>> From: Petr Hodina <petr.hodina@protonmail.com>
>>>>>
>>>>> Currently the panel driver for tianma is broken.
>>>>
>>>> How broken? Can it be fixed instead?
>>>
>>> No output to the panel. Definitely can be fixed, but current situation is that we don't have anyone who has available time or device to tackle the problem.
>>>
>>> I know it's not optimal, but on a way to achieve working mainline phones, my thinking is better to mark it as broken in mainline until someone fixes (assuming Fixes tag and backport) then just going black display (when we have at least framebuffer now).
>>
>> If you have a person with limited time, would simply copying this:
>>
>> 2b973ca48ff3 ("drm/panel: sony-td4353-jdi: Enable prepare_prev_first")
> 
> Sorry, I don't follow. You meant introducing prepare_prev_first?

Yes, just setting that single flag

> I asked if it's possible to test, but looking at the rest of the driver, it'll need refactor anyway.

Well I'dve assumed it worked at least at some point in time given it's
in mainline?

Konrad

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS
  2026-03-16  9:30           ` Konrad Dybcio
@ 2026-03-17  8:40             ` David Heidelberg
  0 siblings, 0 replies; 10+ messages in thread
From: David Heidelberg @ 2026-03-17  8:40 UTC (permalink / raw)
  To: Konrad Dybcio, Petr Hodina, Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
	phone-devel



On 16/03/2026 10:30, Konrad Dybcio wrote:
> On 3/13/26 2:09 PM, David Heidelberg wrote:
>> On 13/03/2026 13:38, Konrad Dybcio wrote:
>>> On 3/12/26 12:25 PM, David Heidelberg wrote:
>>>> On 12/03/2026 03:46, Dmitry Baryshkov wrote:
>>>>> On Wed, Mar 11, 2026 at 07:44:30PM +0100, David Heidelberg via B4 Relay wrote:
>>>>>> From: Petr Hodina <petr.hodina@protonmail.com>
>>>>>>
>>>>>> Currently the panel driver for tianma is broken.
>>>>>
>>>>> How broken? Can it be fixed instead?
>>>>
>>>> No output to the panel. Definitely can be fixed, but current situation is that we don't have anyone who has available time or device to tackle the problem.
>>>>
>>>> I know it's not optimal, but on a way to achieve working mainline phones, my thinking is better to mark it as broken in mainline until someone fixes (assuming Fixes tag and backport) then just going black display (when we have at least framebuffer now).
>>>
>>> If you have a person with limited time, would simply copying this:
>>>
>>> 2b973ca48ff3 ("drm/panel: sony-td4353-jdi: Enable prepare_prev_first")
>>
>> Sorry, I don't follow. You meant introducing prepare_prev_first?
> 
> Yes, just setting that single flag
> 
>> I asked if it's possible to test, but looking at the rest of the driver, it'll need refactor anyway.
> 
> Well I'dve assumed it worked at least at some point in time given it's
> in mainline?

That's not sure, for previous panel drivers (OP6/6T) upstreamed drivers didn't 
worked on mainline at all.

Trying prepare_prev_first could work thou. Hopefully Petr will be able to give 
it a shot.

David

> 
> Konrad

-- 
David Heidelberg


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-03-17  8:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 18:44 [PATCH 0/2] Add framebuffer on Xiaomi Poco F1 and disable the MDSS on tianma panel variant David Heidelberg via B4 Relay
2026-03-11 18:44 ` [PATCH 1/2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Introduce framebuffer David Heidelberg via B4 Relay
2026-03-13 12:36   ` Konrad Dybcio
2026-03-11 18:44 ` [PATCH 2/2] arm64: dts: qcom: sdm845-xiaomi-beryllium-tianma: Disable MDSS David Heidelberg via B4 Relay
2026-03-12  2:46   ` Dmitry Baryshkov
2026-03-12 11:25     ` David Heidelberg
2026-03-13 12:38       ` Konrad Dybcio
2026-03-13 13:09         ` David Heidelberg
2026-03-16  9:30           ` Konrad Dybcio
2026-03-17  8:40             ` David Heidelberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox