1. 04 6月, 2021 1 次提交
    • A
      drm/panfrost: Add AFBC_FEATURES parameter · 3e2926f8
      Alyssa Rosenzweig 提交于
      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: NAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
      Reviewed-by: NSteven Price <steven.price@arm.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
      Signed-off-by: NSteven Price <steven.price@arm.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210604130011.3203-1-alyssa.rosenzweig@collabora.com
      3e2926f8
  2. 14 5月, 2021 1 次提交
  3. 06 11月, 2020 1 次提交
    • D
      drm/<drivers>: Constify struct drm_driver · 70a59dd8
      Daniel Vetter 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      Cc: kernel test robot <lkp@intel.com>
      Acked-by: NMaxime Ripard <mripard@kernel.org>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: NDaniel 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: NDaniel Vetter <daniel.vetter@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201104100425.1922351-5-daniel.vetter@ffwll.ch
      70a59dd8
  4. 03 11月, 2020 1 次提交
  5. 30 10月, 2020 1 次提交
  6. 21 9月, 2020 1 次提交
  7. 08 8月, 2020 2 次提交
  8. 20 5月, 2020 1 次提交
  9. 27 2月, 2020 1 次提交
  10. 26 2月, 2020 2 次提交
  11. 03 2月, 2020 1 次提交
  12. 22 1月, 2020 1 次提交
  13. 07 12月, 2019 3 次提交
  14. 03 12月, 2019 1 次提交
  15. 24 10月, 2019 1 次提交
  16. 17 10月, 2019 1 次提交
  17. 30 8月, 2019 1 次提交
  18. 28 8月, 2019 1 次提交
  19. 24 8月, 2019 1 次提交
  20. 20 8月, 2019 2 次提交
  21. 13 8月, 2019 5 次提交
  22. 09 8月, 2019 1 次提交
  23. 07 8月, 2019 2 次提交
  24. 26 7月, 2019 1 次提交
  25. 04 7月, 2019 1 次提交
  26. 29 6月, 2019 2 次提交
  27. 21 6月, 2019 1 次提交
    • D
      drm/prime: Actually remove DRIVER_PRIME everywhere · 0424fdaf
      Daniel Vetter 提交于
      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: NEmil Velikov <emil.velikov@collabora.com>
      Reviewed-by: NEric Anholt <eric@anholt.net>
      Signed-off-by: NDaniel 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
  28. 18 6月, 2019 2 次提交