drm/nouveau/kms: Add format mod prop to base/ovly/nvdisp
authorJames Jones <jajones@nvidia.com>
Mon, 10 Feb 2020 23:15:53 +0000 (15:15 -0800)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 22 May 2020 01:11:15 +0000 (11:11 +1000)
commitc586f30bf74cb580c1748222b05a0bad57d7dcd4
tree2dcf6adf70888bc3852b1c7a9070d2a686bbab51
parentfd44028ff145ffb2d03c877d74f479da04ac2c62
drm/nouveau/kms: Add format mod prop to base/ovly/nvdisp

Advertise support for the full list of format
modifiers supported by each class of NVIDIA
desktop GPU display hardware.  Stash the array
of modifiers in the nouveau_display struct for
use when validating userspace framebuffer
creation requests, which will be supportd in
a subsequent change.

Signed-off-by: James Jones <jajones@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/base507c.c
drivers/gpu/drm/nouveau/dispnv50/disp.c
drivers/gpu/drm/nouveau/dispnv50/disp.h
drivers/gpu/drm/nouveau/dispnv50/wndw.c
drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c
drivers/gpu/drm/nouveau/nouveau_display.h