Rather than hard-code a list of all the format
modifiers supported by any gallium driver in
the dri state tracker, add a screen proc that
queries the number of auxiliary planes required
for a given modifier+format pair.
Since the only format modifier that requires
auxiliary planes currently is the
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 sho
Replace existing usage of the NVIDIA_16BX2_BLOCK
format modifiers with parameterized use of the
more general macro. Nouveau will now report
support for slightly different modifiers depending
on whether the underlying chip is a tegra GPU or
not, and will potentially report valid format
modifiers fo
Other drivers fail resource allocation when a list
of modifiers for the resource is provided but none
are supported. This includes cases when the never-
supported DRM_FORMAT_MOD_INVALID modifier is
explicitly passed. To enable matching that
functionality in nouveau, use an empty modifier
list rath
The nvc0 nouveau backend already claimed to
support format modifiers, but in practice it
ignored them when allocating buffers outside of a
perfunctory check for the linear modifier in the
first element of the format modifier list.
This change deduces the supported modifiers, if
any, for a given mi
Older Tegra GPUs use a different sector bit
swizzling layout than desktop and Xavier GPUs.
Hence their format modifiers must be
differentiated from those of other GPUs. As
a precursor to supporting more expressive
block linear format modifiers, deduce the
sector layout used for a given GPU from it
Copy latest drm_fourcc.h from nouveau/linux-5.6
XXX - Update this with final commit ID/info
commit: d8a841ff4f4cbb31dd0dfd037399421969837730
Author: James Jones
Date: Tue Aug 6 17:10:10 2019 -0700
drm: Generalized NV Block Linear DRM format mod
Signed-off-by: James Jones
---
include/drm-ua
FYI: GitLab merge requests are the preferred way to send patches these days.
--Jason
On February 5, 2020 21:52:25 James Jones 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 imp
Thanks, now available as
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3724
-James
On 2/5/20 1:45 PM, Jason Ekstrand wrote:
FYI: GitLab merge requests are the preferred way to send patches these
days.
--Jason
On February 5, 2020 21:52:25 James Jones wrote:
This series pulls in