1. 15 Jul, 2021 1 commit
  2. 06 Jun, 2021 1 commit
  3. 04 Jun, 2021 1 commit
    • Alyssa Rosenzweig's avatar
      drm/panfrost: Add AFBC_FEATURES parameter · 3e2926f8
      Alyssa Rosenzweig authored and Steven Price's avatar Steven Price committed
      
      
      The value of the AFBC_FEATURES register is required by userspace to
      determine AFBC support on Bifrost. A user on our IRC channel (#panfrost)
      reported a workload that raised a fault on one system's Mali G31 but
      worked flawlessly with another system's Mali G31. We determined the
      cause to be missing AFBC support on one vendor's Mali implementation --
      it turns out AFBC is optional on Bifrost!
      
      Whether AFBC is supported or not is exposed in the AFBC_FEATURES
      register on Bifrost, which reads back as 0 on Midgard. A zero value
      indicates AFBC is fully supported, provided the architecture itself
      supports AFBC, allowing backwards-compatibility with Midgard. Bits 0 and
      15 indicate that AFBC support is absent for texturing and rendering
      respectively.
      
      The user experiencing the fault reports that AFBC_FEATURES reads back
      0x10001 on their system, confirming the architectural lack of AFBC.
      Userspace needs this parameter to know to disable AFBC on that
      chip, and perhaps others.
      
      v2: Fix typo from copy-paste fail.
      
      v3: Bump the UABI version. This commit was cherry-picked from another
      series so chalking this up to a rebase fail.
      
      Signed-off-by: default avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
      Reviewed-by: Steven Price's avatarSteven Price <steven.price@arm.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
      Signed-off-by: Steven Price's avatarSteven Price <steven.price@arm.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210604130011.3203-1-alyssa.rosenzweig@collabora.com
      3e2926f8
  4. 14 May, 2021 1 commit
  5. 06 Nov, 2020 1 commit
    • Daniel Vetter's avatar
      drm/<drivers>: Constify struct drm_driver · 70a59dd8
      Daniel Vetter authored
      
      
      Only the following drivers aren't converted:
      - amdgpu, because of the driver_feature mangling due to virt support.
        Subsequent patch will address this.
      - nouveau, because DRIVER_ATOMIC uapi is still not the default on the
        platforms where it's supported (i.e. again driver_feature mangling)
      - vc4, again because of driver_feature mangling
      - qxl, because the ioctl table is somewhere else and moving that is
        maybe a bit too much, hence the num_ioctls assignment prevents a
        const driver structure.
      - arcpgu, because that is stuck behind a pending tiny-fication series
        from me.
      - legacy drivers, because legacy requires non-const drm_driver.
      
      Note that for armada I also went ahead and made the ioctl array const.
      
      Only cc'ing the driver people who've not been converted (everyone else
      is way too much).
      
      v2: Fix one misplaced const static, should be static const (0day)
      
      v3:
      - Improve commit message (Sam)
      
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: kernel test robot <lkp@intel.com>
      Acked-by: default avatarMaxime Ripard <mripard@kernel.org>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Dave Airlie <airlied@redhat.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: virtualization@lists.linux-foundation.org
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Maxime Ripard <mripard@kernel.org>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: nouveau@lists.freedesktop.org
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201104100425.1922351-5-daniel.vetter@ffwll.ch
      70a59dd8
  6. 03 Nov, 2020 1 commit
  7. 30 Oct, 2020 1 commit
  8. 21 Sep, 2020 1 commit
  9. 07 Aug, 2020 2 commits
  10. 19 May, 2020 1 commit
  11. 27 Feb, 2020 1 commit
  12. 25 Feb, 2020 2 commits
  13. 03 Feb, 2020 1 commit
  14. 21 Jan, 2020 1 commit
  15. 06 Dec, 2019 3 commits
  16. 02 Dec, 2019 1 commit
  17. 23 Oct, 2019 1 commit
  18. 17 Oct, 2019 1 commit
  19. 30 Aug, 2019 1 commit
  20. 28 Aug, 2019 1 commit
  21. 23 Aug, 2019 1 commit
  22. 19 Aug, 2019 2 commits
  23. 13 Aug, 2019 1 commit
  24. 12 Aug, 2019 4 commits
  25. 08 Aug, 2019 1 commit
  26. 07 Aug, 2019 2 commits
  27. 25 Jul, 2019 1 commit
  28. 03 Jul, 2019 1 commit
  29. 28 Jun, 2019 2 commits
  30. 21 Jun, 2019 1 commit
    • Daniel Vetter's avatar
      drm/prime: Actually remove DRIVER_PRIME everywhere · 0424fdaf
      Daniel Vetter authored
      
      
      Split out to make the functional changes stick out more.
      
      All places where DRIVER_PRIME was used have been removed in previous
      patches already.
      
      v2: amdgpu gained DRIVER_SYNCOBJ_TIMELINE.
      
      v3: amdgpu lost DRIVER_SYNCOBJ_TIMELINE.
      
      v4: Don't add a space in i915_drv.c (Sam)
      
      v5: Add note that previous patches removed all the DRIVER_PRIME users
      already (Emil).
      
      v6: Fixupe ingenic (new driver) while applying.
      
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
      Reviewed-by: default avatarEric Anholt <eric@anholt.net>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: etnaviv@lists.freedesktop.org
      Cc: freedreno@lists.freedesktop.org
      Cc: intel-gfx@lists.freedesktop.org
      Cc: lima@lists.freedesktop.org
      Cc: linux-amlogic@lists.infradead.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-arm-msm@vger.kernel.org
      Cc: linux-aspeed@lists.ozlabs.org
      Cc: linux-renesas-soc@vger.kernel.org
      Cc: linux-rockchip@lists.infradead.org
      Cc: linux-samsung-soc@vger.kernel.org
      Cc: linux-stm32@st-md-mailman.stormreply.com
      Cc: linux-tegra@vger.kernel.org
      Cc: nouveau@lists.freedesktop.org
      Cc: NXP Linux Team <linux-imx@nxp.com>
      Cc: spice-devel@lists.freedesktop.org
      Cc: virtualization@lists.linux-foundation.org
      Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
      Cc: xen-devel@lists.xenproject.org
      Link: https://patchwork.freedesktop.org/patch/msgid/20190617153924.414-1-daniel.vetter@ffwll.ch
      0424fdaf