[igt-dev] [PATCH i-g-t] tests/kms_chamelium: Force reprobe after replugging the connector
Arkadiusz Hiler
arkadiusz.hiler at intel.com
Thu Jun 4 09:31:30 UTC 2020
On Wed, Jun 03, 2020 at 09:34:17PM +0300, Imre Deak wrote:
> 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 at intel.com>
> Signed-off-by: Imre Deak <imre.deak at intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
More information about the igt-dev
mailing list