<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: IMX8mp: HDMI resolution restriction</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1600277#M201598</link>
    <description>&lt;P&gt;you can add&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider wp b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt; if (mode-&amp;gt;hdisplay &amp;gt; 1920 || mode-&amp;gt;vdisplay &amp;gt; 1080)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return MODE_BAD_HVALUE;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in the "&lt;SPAN class="ui-provider wp b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;imx8mp_hdmi_mode_valid&lt;/SPAN&gt;" function &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/imx/dw_hdmi-imx.c?h=lf-5.15.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/imx/dw_hdmi-imx.c?h=lf-5.15.y&lt;/A&gt;"&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 07:38:25 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2023-02-16T07:38:25Z</dc:date>
    <item>
      <title>IMX8mp: HDMI resolution restriction</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1595569#M201245</link>
      <description>&lt;P&gt;We have a custom imx8mp board which has both LVDS LCD and direct HDMI video outputs.&lt;/P&gt;&lt;P&gt;The HDMI video output works fine with FHD &lt;A href="mailto:1920x1080@60" target="_blank"&gt;1920x1080@60&lt;/A&gt; monitors but when we try and use a UHD 4k monitor we have issues.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If we plug in the HDMI after the system has booted it displays fine at &lt;A href="mailto:3840x2160@30" target="_blank"&gt;3840x2160@30&lt;/A&gt;. However the we have a FHD &lt;A href="mailto:1920x1080@60" target="_blank"&gt;1920x1080@60&lt;/A&gt; video stream to display so the 30 fps is not useful. We want to restrict the video resolution to 1920x1080p60.&lt;/LI&gt;&lt;LI&gt;If the 4K HDMI is plugged in at system boot the system hangs during boot, possibly at the pslash-systemd stage. There are no kernel messages and the serial console port is unresponsive etc.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If we add "video=HDMI-A-1:1920x1080-32@60" to the kernel command line, the system boots fine and displays at &lt;A href="mailto:1920x1080@60" target="_blank"&gt;1920x1080@60&lt;/A&gt; fine.&lt;/P&gt;&lt;P&gt;However, we cannot guarantee that someone will attach a HDMI monitor that will support &lt;A href="mailto:1920x1080@60" target="_blank"&gt;1920x1080@60&lt;/A&gt;. So what we would like todo is restrict the HDMI video display to use a maximum resolution of &lt;A href="mailto:1920x1080@60" target="_blank"&gt;1920x1080@60&lt;/A&gt; from the monitors determined video modes.&lt;/P&gt;&lt;P&gt;Does anyone know of a way to do this, ideally in the systems DTB ?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 12:07:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1595569#M201245</guid>
      <dc:creator>TerryBarnaby1</dc:creator>
      <dc:date>2023-02-08T12:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mp: HDMI resolution restriction</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1596308#M201301</link>
      <description>&lt;P&gt;you want to set resolution for HDMI display or your video? if video, you don't need set like "video=HDMI-A-1:1920x1080-32@60", which is for display, and imx8mp can detect your display according to the&amp;nbsp; &lt;SPAN class="n"&gt;"samsung_phy_pll_cfg" &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="n"&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/phy/freescale/phy-fsl-samsung-hdmi.c?h=imx_5.4.70_2.3.0&amp;quot;" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/phy/freescale/phy-fsl-samsung-hdmi.c?h=imx_5.4.70_2.3.0"&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="n"&gt;and if your hdmi is &lt;A href="mailto:4k@30" target="_blank"&gt;4k@30&lt;/A&gt; display, which should can playback 60fps video, you can try it&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 07:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1596308#M201301</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-02-09T07:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mp: HDMI resolution restriction</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1597120#M201357</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Yes, I know I can "hard code" the HDMI display resolution to a particular one as I stated in my original message. But what I need is to just disable resolutions above 1920x1080. We don't know what monitor will be attached to the system. It may only do up to 720p and report that via edid. So we need the IMX8mp to auto select from the monitors edid resolutions and choose one that is not above 1920x1080.&lt;/P&gt;&lt;P&gt;Yes, of course you can playback a 60fps video stream at 30fps but you lose half the frames and you get motion artefacts.&lt;/P&gt;&lt;P&gt;Terry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 07:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1597120#M201357</guid>
      <dc:creator>TerryBarnaby1</dc:creator>
      <dc:date>2023-02-10T07:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mp: HDMI resolution restriction</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1597293#M201373</link>
      <description>&lt;P&gt;i.mx8mp will detect the hdmi display according to your HDMI,&amp;nbsp; you mean imx8mp couldn't detect the 1080p hdmi display if you connect a 1080p HDMI display? if I misunderstand, pls tell me&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 11:42:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1597293#M201373</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-02-10T11:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mp: HDMI resolution restriction</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1597301#M201375</link>
      <description>&lt;P&gt;No the IMX8mp detects the monitors resolutions from the EDID fine.&lt;/P&gt;&lt;P&gt;The 4k monitor returns resolution settings that includes 3840x2610 and 1920x1080 resolutions and others at various frame rates, all as expected and fine.&lt;/P&gt;&lt;P&gt;The IMX8mp's hardware can do 1920x180p60 as well as 3840x2610p30. Unfortunately for us the IMX8mp Yocto Linux chooses to use 3840x2610p30 in preference to 1920x180p60 at boot somewhere. The 4k resolution is definitely not what we want as 1: the frame rate is too slow, 2: there are just to many useless pixels in use.&lt;/P&gt;&lt;P&gt;So we would wish the iMX8mp Yocto to ignore the 4k 3840x2610p30 mode and use the next best mode available, which with this monitor (and most others) would end up being 1920x180p60 but on another monitor could be 1280x720p60.&lt;/P&gt;&lt;P&gt;Apart from our wanting to have 60 fps, the Linux system crashes (complete kernel hang, not console messages, no Ethernet etc.) when psplash runs during the systemd boot sequence when the resolution is set to 3840x2610p30. Because of this we ideally want the lower level Linux to not use the 4k mode rather than do this at the Weston level.&lt;/P&gt;&lt;P&gt;We were hoping that it would be possible in the kernels DTB to effectively disable resolutions above 1920x1080 on the HDMI output. I guess we could modify the HDMI driver to do this somehow but are trying to reduce the changes to an almost production system.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 11:58:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1597301#M201375</guid>
      <dc:creator>TerryBarnaby1</dc:creator>
      <dc:date>2023-02-10T11:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mp: HDMI resolution restriction</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1600277#M201598</link>
      <description>&lt;P&gt;you can add&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider wp b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt; if (mode-&amp;gt;hdisplay &amp;gt; 1920 || mode-&amp;gt;vdisplay &amp;gt; 1080)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return MODE_BAD_HVALUE;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in the "&lt;SPAN class="ui-provider wp b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;imx8mp_hdmi_mode_valid&lt;/SPAN&gt;" function &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/imx/dw_hdmi-imx.c?h=lf-5.15.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/imx/dw_hdmi-imx.c?h=lf-5.15.y&lt;/A&gt;"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 07:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mp-HDMI-resolution-restriction/m-p/1600277#M201598</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-02-16T07:38:25Z</dc:date>
    </item>
  </channel>
</rss>

