[webkit-changes] [WebKit/WebKit] 84313c: [WPE] DRM device detection does not work for imx.8...

alexgcastro noreply at github.com
Fri Mar 15 05:18:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 84313c5961f1b6f445504a6909c74f6ce7e25d9c
      https://github.com/WebKit/WebKit/commit/84313c5961f1b6f445504a6909c74f6ce7e25d9c
  Author: Alejandro G. Castro <alex at igalia.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp

  Log Message:
  -----------
  [WPE] DRM device detection does not work for imx.8 boards
https://bugs.webkit.org/show_bug.cgi?id=270867

Reviewed by Carlos Garcia Campos.

In case of imx.8 boards the kms device does not have the boot
VGA flag and in that situation the loop is not correctly keeping
the previous kms capable device data alive.

* Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp:
(findDevice): Use a struct to return the fd and fileName, rework the
loop to copy and save the references even in case we traverse
all the devices. Fix name typo.
(wpeDisplayDRMConnect): Use the new struct to get the values from
the findDevice.

Canonical link: https://commits.webkit.org/276150@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list