• James Jones's avatar
    drm/nouveau/kms: Support NVIDIA format modifiers · fa4f4c21
    James Jones authored
    Allow setting the block layout of a nouveau FB
    object using DRM format modifiers.  When
    specified, the format modifier block layout and
    kind overrides the GEM buffer's implicit layout
    and kind.  The specified format modifier is
    validated against the list of modifiers supported
    by the target display hardware.
    
    v2: Used Tesla family instead of NV50 chipset compare
    v4: Do not cache kind, tile_mode in nouveau_framebuffer
    v5: Resolved against nouveau_framebuffer cleanup
    Signed-off-by: default avatarJames Jones <jajones@nvidia.com>
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    fa4f4c21
nouveau_display.c 21.4 KB