Controlling brightness in DP

Hi Team,

I want to control brightness in the DP monitor connected to Type-c port of the AGX Xavier devkit using to Type-C to DP cable.

Using the following topic as reference, I can adjust the brightness of the HDMI monitor.

In case of DP monitor, the ddcutil detect command is giving the output as “No displays connected” but I can see the UI in the DP monitor.

Any suggestions for debugging why DP monitor is not detected using ddcutil? and is there any other way to adjust brightness for DP displays?
@WayneWWW @JerryChang

Thanks,
Sakthi

Only the HDMI has the ddc channel.
DP doesn’t even use the DDC channel - it uses the AUX channel

Hi @WayneWWW

I have used ddcutil to control the brightness of DP display connected using Type-C to DP cable in laptop. With the same setup I tested in AGX Xavier devkit, it was not working but it works in laptop.

Is there anything to do with AGX Xavier devkit to achieve this or Is there any other way to control brightness of DP display in AGX Xavier devkit?

Thanks,
Sakthi

Hi @WayneWWW ,

Could you please give me some pointers to look at?

Thanks,
Sakthi

Hi Team,

Could you please give me some suggestions for this? @JerryChang @WayneWWW @kayccc

Thanks,
Sakthi

Hi,

Need some time to check this.

Hi @WayneWWW ,

I will wait for your reply.

Thanks,
Sakthi

I have some internal discussion with display experts.

The conclusion is , unfortunately, ddcutil may not work on tegra.
We didn’t reveal the dpaux device as /dev/i2c-n in our system and ddcutil seems need those device node to do their work.

Hi @WayneWWW,

Thanks for your reply.

  1. Is there any other way to control brightness in the DP display connected to AGX devkit other than ddcutil?
  2. Is there any way to reveal dpaux device as /dev/i2c-n?

Thanks,
Sakthi

Hi @WayneWWW,

Could you please give some suggestions on my previous query?

Thanks,
Sakthi

Hi @WayneWWW ,

  1. Is there any other way to control brightness in the DP display connected to AGX devkit other than ddcutil?
  2. Is there any way to reveal dpaux device as /dev/i2c-n?

Is there any suggestions on this?

Thanks,
Sakthi

Hi @WayneWWW ,

Could you please suggest some ways to achieve this?

  1. Is there any other way to control brightness in the DP display connected to AGX devkit other than ddcutil?
  2. Is there any way to reveal dpaux device as /dev/i2c-n?

Thanks,
Sakthi

Currently there is no method for it.

Update: we have add the function to control brightness through ddcutil.

Please apply this to your kernel.ce999d0.diff.zip (1.9 KB)

@WayneWWW

Thanks for sharing the kernel patch.

We are able to control the DP display brightness through ddcutil after applying this kernel patch. We have tested in one DP display, will test in different monitors and share observations

Thanks,
Arun

1 Like