drm: bridge: ti-sn65dsi83: Disable video burst mode for LVDS stability
Sean Nyekjaer
Tested-byHi Luca,
Quoted 7 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.
Quoted 5 lines
Testing showed improved display stability when using non-burst mode on affected panels.
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.
We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
Quoted 3 lines
Tested-by Luca Ceresoli <[email protected]>Tested-by Alexander Stein <[email protected]>Signed-off-by Sudarshan Shetty <[email protected]>
Quoted 22 lines
--- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/bridge/ti-sn65dsi83.c +2
-2@@ -976,8 +976,8 @@ static int sn65dsi83_host_attach(struct sn65dsi83 *ctx) dsi->lanes = dsi_lanes; dsi->format =MIPI_DSI_FMT_RGB888 ; - dsi->mode_flags =MIPI_DSI_MODE_VIDEO |MIPI_DSI_MODE_VIDEO_BURST | -MIPI_DSI_MODE_VIDEO_NO_HSA |MIPI_DSI_MODE_NO_EOT_PACKET ; + dsi->mode_flags =MIPI_DSI_MODE_VIDEO |MIPI_DSI_MODE_VIDEO_NO_HSA | +MIPI_DSI_MODE_NO_EOT_PACKET ; ret =devm_mipi_dsi_attach (dev, dsi);if (ret <0 ) {Signature · 1 line
2.34.1
Hello Sean,
+Cc Marek, Maxime.
Quoted 13 lines · Sean Nyekjaer
Hi Luca,
Quoted 10 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Testing showed improved display stability when using non-burst mode on affected panels.
Quoted 6 lines
Quoted 2 lines
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/
Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of now
And this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Best regards,
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Quoted 58 lines · Luca Ceresoli
Hello Sean,
+Cc Marek, Maxime.
Quoted 11 lines · Sean Nyekjaer
Quoted 10 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Testing showed improved display stability when using non-burst mode on affected panels.
Quoted 6 lines
Quoted 2 lines
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
Quoted 7 lines
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it, and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Signature · 3 lines
Regards, Laurent Pinchart
Hi Laurent,
Quoted 64 lines · Laurent Pinchart
Quoted 63 lines · Luca Ceresoli
Hello Sean,
+Cc Marek, Maxime.
Quoted 11 lines · Sean Nyekjaer
Quoted 10 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Testing showed improved display stability when using non-burst mode on affected panels.
Quoted 6 lines
Quoted 2 lines
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 7 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it,
That's the question I have, more or less. I have no answer yet, I'm mostly trying to clarify the situation in the first place, for myself and anyone interested.
Maybe it's worth pointing out that AFAICU any driver enabling burst mode is buggy because in lack of link negotiation it may work or not, based on pure luck.
Quoted 2 lines
and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Link negotiation is not just "another feature" w.r.t. burts mode. It's a prerequisite for burst mode to work reliably. So hard-enabling burst mode was building a roof without solid walls (link negotiation).
So I'm rephrasing your the question :) as: shouldn't users of burst mode be forced to implement link negotiation, since _they_ need it?
Again: AFAICU, I'm trying to understand and improve things.
Cheers,
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Quoted 83 lines · Luca Ceresoli
Quoted 63 lines · Laurent Pinchart
Quoted 62 lines · Luca Ceresoli
Hello Sean,
+Cc Marek, Maxime.
Quoted 8 lines · Sean Nyekjaer
Quoted 7 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Quoted 8 lines
Quoted 4 lines
Testing showed improved display stability when using non-burst mode on affected panels.
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 7 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it,
That's the question I have, more or less. I have no answer yet, I'm mostly trying to clarify the situation in the first place, for myself and anyone interested.
Maybe it's worth pointing out that AFAICU any driver enabling burst mode is buggy because in lack of link negotiation it may work or not, based on pure luck.
Quoted 2 lines
and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Quoted 6 lines
Link negotiation is not just "another feature" w.r.t. burts mode. It's a prerequisite for burst mode to work reliably. So hard-enabling burst mode was building a roof without solid walls (link negotiation).
So I'm rephrasing your the question :) as: shouldn't users of burst mode be forced to implement link negotiation, since _they_ need it?
It's quite annoying when both positions have compelling arguments :-)
Has anyone analyzed what work would be needed to implement the link negotiation ? Dropping burst mode without any plan to support it will be demotivating for some people. If asking for link negotiation support to support non-burst mode is too much yak shaving, would researching a technical plan be an acceptable middleground ?
Quoted 1 line
Again: AFAICU, I'm trying to understand and improve things.
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 91 lines · Laurent Pinchart
Quoted 83 lines · Luca Ceresoli
Quoted 63 lines · Laurent Pinchart
Quoted 62 lines · Luca Ceresoli
Hello Sean,
+Cc Marek, Maxime.
Quoted 8 lines · Sean Nyekjaer
Quoted 7 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Quoted 8 lines
Quoted 4 lines
Testing showed improved display stability when using non-burst mode on affected panels.
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 7 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it,
That's the question I have, more or less. I have no answer yet, I'm mostly trying to clarify the situation in the first place, for myself and anyone interested.
Maybe it's worth pointing out that AFAICU any driver enabling burst mode is buggy because in lack of link negotiation it may work or not, based on pure luck.
Quoted 2 lines
and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Quoted 6 lines
Link negotiation is not just "another feature" w.r.t. burts mode. It's a prerequisite for burst mode to work reliably. So hard-enabling burst mode was building a roof without solid walls (link negotiation).
So I'm rephrasing your the question :) as: shouldn't users of burst mode be forced to implement link negotiation, since _they_ need it?
Quoted 9 lines
It's quite annoying when both positions have compelling arguments :-)
Has anyone analyzed what work would be needed to implement the link negotiation ? Dropping burst mode without any plan to support it will be demotivating for some people. If asking for link negotiation support to support non-burst mode is too much yak shaving, would researching a technical plan be an acceptable middleground ?
Quoted 1 line
Again: AFAICU, I'm trying to understand and improve things.
I'm by no means an expert on this.
As far as I know, burst mode is a power-saving feature. I haven't heard of burst mode being used specifically for LVDS.
Since this is a DSI-to-LVDS converter, it looks like the bridge doesn't support burst mode properly, it shouldn't increase the LVDS clock by 20%.
I'm in favor of disabling this "optional" feature, to enable more display's to work out of the box.
/Sean
Hello Laurent, Marek,
Quoted 88 lines · Laurent Pinchart
Quoted 87 lines · Luca Ceresoli
Quoted 63 lines · Laurent Pinchart
Quoted 62 lines · Luca Ceresoli
Hello Sean,
+Cc Marek, Maxime.
Quoted 8 lines · Sean Nyekjaer
Quoted 7 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Quoted 8 lines
Quoted 4 lines
Testing showed improved display stability when using non-burst mode on affected panels.
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 7 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it,
That's the question I have, more or less. I have no answer yet, I'm mostly trying to clarify the situation in the first place, for myself and anyone interested.
Maybe it's worth pointing out that AFAICU any driver enabling burst mode is buggy because in lack of link negotiation it may work or not, based on pure luck.
Quoted 2 lines
and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Link negotiation is not just "another feature" w.r.t. burts mode. It's a prerequisite for burst mode to work reliably. So hard-enabling burst mode was building a roof without solid walls (link negotiation).
Quoted 7 lines
Quoted 2 lines
So I'm rephrasing your the question :) as: shouldn't users of burst mode be forced to implement link negotiation, since _they_ need it?
It's quite annoying when both positions have compelling arguments :-)
Has anyone analyzed what work would be needed to implement the link negotiation ?
Marek did multiple attempts in the past, I think it's the best analysis available in public as of now. Following the link provided by Sean Nyekjaer in this thread on May 30 leads to them:
* https://lore.kernel.org/dri-devel/[email protected]/
* https://lore.kernel.org/all/[email protected]/
Quoted 4 lines
Dropping burst mode without any plan to support it will be demotivating for some people. If asking for link negotiation support to support non-burst mode is too much yak shaving, would researching a technical plan be an acceptable middleground ?
On my side I haven't gone into the details. But I'm not sure having a plan would help: Marek had one, but it didn't fly.
Maybe Marek can comment on this?
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Quoted 106 lines · Luca Ceresoli
Hello Laurent, Marek,
Quoted 88 lines · Laurent Pinchart
Quoted 87 lines · Luca Ceresoli
Quoted 63 lines · Laurent Pinchart
Quoted 62 lines · Luca Ceresoli
Hello Sean,
+Cc Marek, Maxime.
Quoted 8 lines · Sean Nyekjaer
Quoted 7 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Quoted 8 lines
Quoted 4 lines
Testing showed improved display stability when using non-burst mode on affected panels.
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 7 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it,
That's the question I have, more or less. I have no answer yet, I'm mostly trying to clarify the situation in the first place, for myself and anyone interested.
Maybe it's worth pointing out that AFAICU any driver enabling burst mode is buggy because in lack of link negotiation it may work or not, based on pure luck.
Quoted 2 lines
and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Link negotiation is not just "another feature" w.r.t. burts mode. It's a prerequisite for burst mode to work reliably. So hard-enabling burst mode was building a roof without solid walls (link negotiation).
Quoted 7 lines
Quoted 2 lines
So I'm rephrasing your the question :) as: shouldn't users of burst mode be forced to implement link negotiation, since _they_ need it?
It's quite annoying when both positions have compelling arguments :-)
Has anyone analyzed what work would be needed to implement the link negotiation ?
Marek did multiple attempts in the past, I think it's the best analysis available in public as of now. Following the link provided by Sean Nyekjaer in this thread on May 30 leads to them:
* https://lore.kernel.org/dri-devel/[email protected]/
* https://lore.kernel.org/all/[email protected]/
Quoted 7 lines
Quoted 4 lines
Dropping burst mode without any plan to support it will be demotivating for some people. If asking for link negotiation support to support non-burst mode is too much yak shaving, would researching a technical plan be an acceptable middleground ?
On my side I haven't gone into the details. But I'm not sure having a plan would help: Marek had one, but it didn't fly.
I'm not sure it's a fair assessment of the situation. Marek made a proposal, it was reviewed, it's kernel development as usual. I'm not sure why there wasn't any follow-up, but I don't think it's because of a plan (or lack thereof), probably more about a lack of time.
I still stand by what I said earlier though. It all looks fairly similar to what we did for the formats, where bridges might want the output clock rate of the previous bridge. If we did it for formats, and unless we have other experiments that clearly show that it's not practical, I'm not sure why we should make any kind of exception.
Maxime
Quoted 86 lines · Luca Ceresoli
Hi Laurent,
Quoted 64 lines · Laurent Pinchart
Quoted 63 lines · Luca Ceresoli
Hello Sean,
+Cc Marek, Maxime.
Quoted 11 lines · Sean Nyekjaer
Quoted 10 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Testing showed improved display stability when using non-burst mode on affected panels.
Quoted 6 lines
Quoted 2 lines
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 7 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it,
That's the question I have, more or less. I have no answer yet, I'm mostly trying to clarify the situation in the first place, for myself and anyone interested.
Maybe it's worth pointing out that AFAICU any driver enabling burst mode is buggy because in lack of link negotiation it may work or not, based on pure luck.
Quoted 2 lines
and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Quoted 8 lines
Link negotiation is not just "another feature" w.r.t. burts mode. It's a prerequisite for burst mode to work reliably. So hard-enabling burst mode was building a roof without solid walls (link negotiation).
So I'm rephrasing your the question :) as: shouldn't users of burst mode be forced to implement link negotiation, since _they_ need it?
Again: AFAICU, I'm trying to understand and improve things.
It doesn't matter though? Take the perspective of a user. You have a system running somewhere, working, and with an expected power draw. You update, and now it either doesn't work anymore, or you overshoot your power budget. But they shouldn't worry, because it was working by luck before! And now it's better!
It's an absurd argumentation. A system that used to work wouldn't anymore. It's a regression, and we don't do that (willingly).
Maxime
Hi,
Am Freitag, 5. Juni 2026, 18:09:46 CEST schrieb Laurent Pinchart:
Quoted 64 lines · Luca Ceresoli
Quoted 63 lines
Hello Sean,
+Cc Marek, Maxime.
Quoted 11 lines · Sean Nyekjaer
Quoted 10 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Testing showed improved display stability when using non-burst mode on affected panels.
Quoted 6 lines
Quoted 2 lines
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 8 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it, and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
I've never heard of link negotiation for DSI. What is this about? Can you elaborate a bit?
Best regards,
Alexander
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider http://www.tq-group.com/
Quoted 61 lines · Laurent Pinchart
Quoted 60 lines · Luca Ceresoli
Hello Sean,
Quoted 11 lines · Sean Nyekjaer
Quoted 10 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Testing showed improved display stability when using non-burst mode on affected panels.
Quoted 6 lines
Quoted 2 lines
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 8 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it, and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Yeah, that's my take on it too. The question quickly turns into "we want to regress current users because some new ones don't want to bother", and, honestly, no. We don't do that.
I really don't buy into the "but it's too hard!" argument, because you can apply for pretty much everything: a review, a requested preliminary work, etc.
If downstream users want to patch out the kernel and prefer to take on technical debt, that's on them.
Maxime
Quoted 71 lines · Maxime Ripard
Quoted 61 lines · Laurent Pinchart
Quoted 60 lines · Luca Ceresoli
Hello Sean,
Quoted 11 lines · Sean Nyekjaer
Quoted 10 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Testing showed improved display stability when using non-burst mode on affected panels.
Quoted 6 lines
Quoted 2 lines
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 8 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it, and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Quoted 7 lines
Yeah, that's my take on it too. The question quickly turns into "we want to regress current users because some new ones don't want to bother", and, honestly, no. We don't do that.
I really don't buy into the "but it's too hard!" argument, because you can apply for pretty much everything: a review, a requested preliminary work, etc.
Without going that far, I think we need a good technical analysis and development plan first to back the "it's too hard" argument. If the amount of work indeed turns to be huge, we can then try to figure out how to split the effort.
Quoted 2 lines
If downstream users want to patch out the kernel and prefer to take on technical debt, that's on them.
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 76 lines · Laurent Pinchart
Quoted 75 lines · Maxime Ripard
Quoted 61 lines · Laurent Pinchart
Quoted 60 lines · Luca Ceresoli
Hello Sean,
Quoted 11 lines · Sean Nyekjaer
Quoted 10 lines · Sudarshan Shetty
The current DSI configuration enables
MIPI_DSI_MODE_VIDEO_BURST. while burst mode is supported by the hardware, its use depends on continuous clock behavior from the DSI host. In practice, burst mode may introduce instability depending on the host controller implementation, as the DSI link may transition to low-power state between bursts.Testing showed improved display stability when using non-burst mode on affected panels.
Quoted 6 lines
Quoted 2 lines
Remove
MIPI_DSI_MODE_VIDEO_BURSTand use non-burst video mode.We briefly talked about this at Embedded Recipes
I promised to sent a link:
https://lore.kernel.org/all/[email protected]/Thanks for the discussion at ER and for this follow-up e-mail.
Quoted 5 lines
When burst mode is enabled, the LVDS clock gets way to high for my panel. I don't know if it's the DSI controller in the STM32MP1 or something not supported on the TI side.
We have been running with this fix for 2 years :)
If I can summarize the situation in the last 4 years:
* Several users reported the same trouble
* Those users patch their kernel out of tree to disable burst mode as a workaround
* According to Marek the correct way to make burst mode work is implementing link negotiation
* Nobody is willing to implement link negotiation as of nowAnd this leads me to some questions.
* Do we want to keep the current situation (everybody beats their head on the wall until they discover disabling burst mode "fixes" their panel, and keep an out of tree patch)?
* Assuming the priority is getting a screen working (and not saving power on a black screen), would it make sense to apply this patch, and let people improve in the future by implementing link negotiation?
Let's pretend for a moment this is a new driver being developed: would it be OK to have a basic working driver, without some power optimization features which can be added later on? The only valid answer to this question is obviously "yes". Doesn't the same principle apply here? If it doesn't, why?
* What is the expected power saving with burst mode?
I'm afraid I don't have precise numbers but I measured the total board consumption with or without burst mode (the former with a black screen but backlight enabled) and found no difference: exactly 12.74 W in both cases.
Quoted 8 lines
Quoted 2 lines
Thanks for you rpatience in reading this. I hope it helps in finding a better solution.
Rephrasing this a bit, is the discussion about dropping support for a supported feature (burst mode) because users who suffer from the lack of another feature (link negotiation) are not willing to spend time implementing it, and would prefer if users of burst mode were forced to do the work instead ? That doesn't seem very fair to me.
Yeah, that's my take on it too. The question quickly turns into "we want to regress current users because some new ones don't want to bother", and, honestly, no. We don't do that.
Quoted 8 lines
Quoted 3 lines
I really don't buy into the "but it's too hard!" argument, because you can apply for pretty much everything: a review, a requested preliminary work, etc.
Without going that far, I think we need a good technical analysis and development plan first to back the "it's too hard" argument. If the amount of work indeed turns to be huge, we can then try to figure out how to split the effort.
Either way, we won't regress existing users. If it's indeed pretty involved (but I'm not sure why it would be more involved than, say, formats), then I guess we can discuss mitigating the issue, but we're still not going to create a regression even if it's hard.
Maxime