[Mesa-dev] [PATCH 0/5] nouveau: Improved format modifier support
James Jones
jajones at nvidia.com
Wed Feb 5 20:52:42 UTC 2020
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
More information about the mesa-dev
mailing list