1. 25 Oct, 2018 4 commits
    • Eric Anholt's avatar
      vc4: Don't return a vc4 BO handle on a renderonly screen. · 4feb5d25
      Eric Anholt authored
      The handles exported need to be on the KMS device's fd, anything else is
      failure.  Also, this code is assuming that the scanout resource has been
      created already, so assert it.
    • Eric Anholt's avatar
      vc4: Make sure we make ro scanout resources for create_with_modifiers. · 817cbf79
      Eric Anholt authored
      The DRI3 create_with_modifiers paths don't set tmpl.bind to SCANOUT or
      SHARED, with the theory that given that you've got modifiers, that's all
      you need.  However, we were looking at the tmpl.bind for setting up the
      KMS handle in the renderonly case, so we'd end up trying to use vc4's
      handle on the hx8357d fd.
      Fixes: 84ed8b67 ("vc4: Set shareable BOs as T tiled if possible")
    • Eric Anholt's avatar
      kmsro: Extend to include hx8357d. · b43404a1
      Eric Anholt authored
      This allows vc4 to initialize on the Adafruit PiTFT 3.5" touchscreen with
      the new tinydrm driver I just submitted.  If this series extending the
      pl111/kmsro driver is accepted, then I'll extend kmsro with the other
      tinydrm drivers as well.
    • Eric Anholt's avatar
      pl111: Rename the pl111 driver to "kmsro". · 0751ece8
      Eric Anholt authored
      The vc4 driver can do prime sharing to many different KMS-only devices,
      such as the various tinydrm drivers for SPI-attached displays.  Rename the
      driver away from "pl111" to represent what it will actually support:
      various sorts of KMS displays with the renderonly layer used to attach a
  2. 23 Oct, 2018 27 commits
  3. 22 Oct, 2018 9 commits