An error occurred fetching the project authors.
  1. 05 Nov, 2022 1 commit
  2. 13 Oct, 2022 1 commit
    • Maxime Ripard's avatar
      drm/vc4: Add module dependency on hdmi-codec · d1c0b7de
      Maxime Ripard authored
      The VC4 HDMI controller driver relies on the HDMI codec ASoC driver. In
      order to set it up properly, in vc4_hdmi_audio_init(), our HDMI driver
      will register a device matching the HDMI codec driver, and then register
      an ASoC card using that codec.
      
      However, if vc4 is compiled as a module, chances are that the hdmi-codec
      driver will be too. In such a case, the module loader will have a very
      narrow window to load the module between the device registration and the
      card registration.
      
      If it fails to load the module in time, the card registration will fail
      with EPROBE_DEFER, and we'll abort the audio initialisation,
      unregistering the HDMI codec device in the process.
      
      The next time the bind callback will be run, it's likely that we end up
      missing that window again, effectively preventing vc4 to probe entirely.
      
      In order to prevent this, we can create a soft dependency of the vc4
      driver on the HDMI codec one so that we're sure the HDMI codec will be
      loaded before the VC4 module is, and thus we'll never end up in the
      previous situation.
      
      Fixes: 91e99e11 ("drm/vc4: hdmi: Register HDMI codec")
      Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
      Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220902144111.3424560-1-maxime@cerno.tech
      d1c0b7de
  3. 03 Aug, 2022 2 commits
  4. 13 Jul, 2022 3 commits
  5. 30 Jun, 2022 1 commit
  6. 28 Jun, 2022 1 commit
  7. 16 Jun, 2022 6 commits
  8. 25 Feb, 2022 1 commit
  9. 11 Jan, 2022 3 commits
  10. 01 Sep, 2021 1 commit
  11. 10 Aug, 2021 1 commit
  12. 01 Jul, 2021 1 commit
  13. 24 May, 2021 1 commit
  14. 11 May, 2021 1 commit
  15. 14 Apr, 2021 1 commit
  16. 15 Jan, 2021 1 commit
  17. 13 Jan, 2021 1 commit
  18. 03 Nov, 2020 1 commit
  19. 02 Nov, 2020 5 commits
  20. 27 Oct, 2020 1 commit
  21. 25 Sep, 2020 1 commit
  22. 07 Sep, 2020 2 commits
  23. 07 Jul, 2020 1 commit
  24. 10 Jun, 2020 1 commit
    • Maxime Ripard's avatar
      drm/vc4: plane: Move additional planes creation to driver · 0c2a50f1
      Maxime Ripard authored
      So far the plane creation was done when each CRTC was bound, and those
      planes were only tied to the CRTC that was registering them.
      
      This causes two main issues:
        - The planes in the vc4 hardware are actually not tied to any CRTC, but
          can be used with every combination
      
        - More importantly, so far, we allocate 10 planes per CRTC, with 3 CRTCs.
          However, the next generation of hardware will have 5 CRTCs, putting us
          well above the maximum of 32 planes currently allowed by DRM.
      
      This patch is the first one in a series of patches that will take down both
      of these issues so that we can support the next generation of hardware
      while keeping a good amount of planes.
      
      We start by changing the way the planes are registered to first registering
      the primary planes for each CRTC in the CRTC bind function as we used to,
      but moving the overlay and cursor creation to the main driver bind
      function, after all the CRTCs have been bound, and make the planes
      associated to all CRTCs.
      
      This will slightly change the ID order of the planes, since the primary
      planes of all CRTCs will be first, and then a pattern of 8 overlays, 1
      cursor plane for each CRTC.
      
      This shouldn't cause any trouble since the ordering between the planes is
      preserved though.
      Reviewed-by: default avatarEric Anholt <eric@anholt.net>
      Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
      Link: https://patchwork.freedesktop.org/patch/msgid/0b85a3fdb20bb4ff85fb62cabd082d5a65e2730b.1590594512.git-series.maxime@cerno.tech
      0c2a50f1
  25. 13 Feb, 2020 1 commit