• Ben Skeggs's avatar
    drm/nv40: fix tiling-related setup for a number of chipsets · 1dc32671
    Ben Skeggs authored
    Due to the default case handling the older chipsets, a bunch of the newer
    ones ended up having the wrong tiling regs used.  This commit switches the
    default case to handle the newest chipsets.
    
    This also makes nv4e touch the "extra" tiling regs.  "nv" doesn't touch
    them for C51 but traces of the NVIDIA binary driver show it being done
    there.
    
    I couldn't find NV41/NV45 traces to confirm the behaviour there, but an
    educated guess was taken at each of them.
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    1dc32671
nv40_graph.c 14.7 KB