Skip to content
Snippets Groups Projects
  1. Jun 22, 2020
  2. Jun 19, 2020
  3. Jun 17, 2020
  4. Jun 15, 2020
  5. Jun 14, 2020
  6. Jun 13, 2020
  7. Jun 12, 2020
  8. Jun 11, 2020
  9. Jun 10, 2020
  10. Jun 09, 2020
  11. Jun 08, 2020
  12. Jun 07, 2020
  13. Jun 06, 2020
  14. Jun 04, 2020
    • Imre Deak's avatar
      tests/kms_chamelium: Force reprobe after replugging the connector · 53e8c878
      Imre Deak authored
      
      After replugging a connector and the kernel reports the connector as
      connected the cached modes returned by drmModeGetConnectorCurrent() (the
      kernel's cached list of modes) may be stale. The modes will be only
      updated by a full reprobe. Ensure this by setting output->force_reprobe
      which will result in calling drmModeGetConnector().
      
      This fixes sporadic test failures due to seeing no modes unexpectedly.
      So far things happened to work, because some in-kernel user of the
      output - like fbdev - does a full reprobe sometime after the hotplug
      event.
      
      Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
      Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
      Reviewed-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      53e8c878
Loading