Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I195/split probe #4527

Closed

Commits on Aug 15, 2023

  1. ASoC: SOF: core: add 'no_wq' probe callback

    The existing DSP probe may be handled in a workqueue to allow for
    extra time, typically for the i915 request_module and HDAudio codec
    handling.
    
    With the upcoming changes for i915/Xe driver relying on the
    -EPROBE_DEFER mechanism, we need to have a first pass of the probe
    which cannot be pushed to a workqueue. Introduce a new optional
    callback.
    
    Note that instead of probe_no_wq/probe we could have use a more
    self-explanatory naming such as probe/probe_wq_allowed, but that would
    have been a very intrusive change.
    
    Signed-off-by: Pierre-Louis Bossart <[email protected]>
    plbossart committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    1f639c0 View commit details
    Browse the repository at this point in the history
  2. ASoC: SOF: Intel: hda: start splitting the probe

    This patch moves the initial parts of the probe to the probe_no_wq()
    callback, which provides a much faster decision on whether the SOF
    driver shall deal with a specific platform or yield to other Intel
    drivers.
    
    FIXME:
    This is a limited functionality change, the bigger change is to move
    the i915/Xe initialization to the probe_no_wq().
    
    Signed-off-by: Pierre-Louis Bossart <[email protected]>
    plbossart committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    a71818a View commit details
    Browse the repository at this point in the history