How to check EDID with DRM interface. Wrong/bad output resolution

unfortunately, it doesn’t work. I have generated a 256byte edid file based on the original edid from the monitor, and I remove all the modes except 2160p24 ( 93 ).

I tried your link :

  • echo edid.bin > /sys/module/drm/parameters/edid_firmware → do nothing ( monitor plugged, unplugged and plugged again, nothing change )
  • cat edid.bin > /sys/kernel/debug/dri/0/HDMI-A-2/edid_override , for me it is : cat correct-edid.bin > /sys/kernel/debug/dri/1/HDMI-A-1/edid_override → it do nothing ( monitor plugged, unplugged, and plugged again , nothing change )

For the kernel command line, I don’t know where to edit it : drm.edid_firmware=edid/your_edid.bin
maybe uboot + setenv ? other thing ?

Every time I plug again the HDMI cable from the monitor, the /sys/class/drm/card1-HDMI-A-1/edid has the initial value ( all the modes without 2160p60 , including 2160p30 )

Maybe it is not possible to force the mode on this particular setup ?