[Mesa-dev] [PATCH 0/5] nouveau: Improved format modifier support
Jason Ekstrand
jason at jlekstrand.net
Wed Feb 5 21:45:59 UTC 2020
FYI: GitLab merge requests are the preferred way to send patches these days.
--Jason
On February 5, 2020 21:52:25 James Jones <jajones at nvidia.com> wrote:
> This series pulls in the proposed
> DRM_FORMAT_MOD_NVIDIA_BLOCK_LINEAR_2D() format
> modifier macro and wires it up in the nouveau
> nvc0 driver. In doing so, it improves the
> existing format modifier code to behave more
> like other format-modifier-capable drivers, and
> is written in such a way that it should be easier
> to port to nv50-class and future turing-class
> drivers as well.
>
> Modifiers supporting import/export of compressed
> surfaces are not included in this series. Once
> the general approach here is agreed upon, I can
> send out a follow-on series adding those as well.
>
> This series depends on the general gallium/dri
> cleanup patch:
>
> [PATCH] gallium: Add format modifier aux plane query
>
> Which was sent out separately.
>
> James Jones (5):
> drm-uapi: Update headers from nouveau/linux-5.6
> nouveau: Stash supported sector layout in screen
> nouveau: Use DRM_FORMAT_MOD_NVIDIA_BLOCK_LINEAR_2D
> nouveau: no modifier != the invalid modifier
> nouveau: Use format modifiers in buffer allocation
>
> include/drm-uapi/drm_fourcc.h | 135 +++++++++++-
> src/gallium/drivers/nouveau/nouveau_screen.c | 12 +
> src/gallium/drivers/nouveau/nouveau_screen.h | 1 +
> .../drivers/nouveau/nvc0/nvc0_miptree.c | 208 ++++++++++++------
> .../drivers/nouveau/nvc0/nvc0_resource.c | 41 ++--
> .../drivers/nouveau/nvc0/nvc0_resource.h | 5 +
> 6 files changed, 306 insertions(+), 96 deletions(-)
>
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list