[meta-arago,dunfell] qtbase-conf: Unset fixed HDMI mode

Message ID 20220512100143.12268-1-s-adivi@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,dunfell] qtbase-conf: Unset fixed HDMI mode | expand

Commit Message

Sai Sree Kartheek Adivi May 12, 2022, 10:01 a.m. UTC
HDMI mode is set to 1024x768 in eglfs_kms_cfg.json. This needs to be
unset since not all devices use the same resolution display.

When mode is not defined, the system's preferred mode is chosen.
Ref: https://doc.qt.io/qt-5/embedded-linux.html#display-output

Signed-off-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
---
 .../recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json            | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Devarsh Thakkar May 12, 2022, 12:19 p.m. UTC | #1
On 12/05/22 15:31, Sai Sree Kartheek Adivi wrote:
> HDMI mode is set to 1024x768 in eglfs_kms_cfg.json. This needs to be
> unset since not all devices use the same resolution display.
>
> When mode is not defined, the system's preferred mode is chosen.
> Ref: https://doc.qt.io/qt-5/embedded-linux.html#display-output
>
> Signed-off-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
> ---
>   .../recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json            | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json b/meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json
> index 61b834be..ac19b8ec 100644
> --- a/meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json
> +++ b/meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json
> @@ -8,8 +8,7 @@
>         "mode": "off"
>       },
>       {
> -      "name": "HDMI1",
> -      "mode": "1024x768"
> +      "name": "HDMI1"
>       }
>     ]
> -}
> \ No newline at end of file
> +}

Patch

diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json b/meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json
index 61b834be..ac19b8ec 100644
--- a/meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json
+++ b/meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json
@@ -8,8 +8,7 @@ 
       "mode": "off"
     },
     {
-      "name": "HDMI1",
-      "mode": "1024x768"
+      "name": "HDMI1"
     }
   ]
-}
\ No newline at end of file
+}