Skip to content

Test i915 hotplug using EDID injection #599

Open

Description

@kv2019i

We've had some regressions (https://bugzilla.kernel.org/show_bug.cgi?id=210983 , although this happened only with silent streaming enabled) caused by lack of coverage for display audio hotplug cases.

One idea to test for these cases is to use the i915 EDID injection capability as is done in following test case code for i915:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/blob/master/tests/kms_hdmi_inject.c

We could share this logic in SOF tests and have scenarios where monitor is repeatedly connected and disconnected and ensure driver reports the status correctly via ALSA mixer, and that driver remains operational. To check for resource leakage, a large number of hotplug events should be executed.

Activity

  1. added
    type:enhancement
    type:test coverage gap
    on Jan 29, 2021
  2. added
    P3
    on May 31, 2023
  3. marc-hb commented on May 31, 2023

    @marc-hb
    Contributor

    BTW ubuntu 22.04 does not support monitor hotplug AT ALL (long before audio is involveD)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3type:enhancementtype:test coverage gap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions