• Ben Skeggs's avatar
    drm/nouveau/bar/gf100: fix access to upper half of BAR2 · 38bcb208
    Ben Skeggs authored
    Bit 30 being set causes the upper half of BAR2 to stay in physical mode,
    mapped over the end of VRAM, even when the rest of the BAR has been set
    to virtual mode.
    
    We inherited our initial value from RM, but I'm not aware of any reason
    we need to keep it that way.
    
    This fixes severe GPU hang/lockup issues revealed by Wayland on F26.
    
    Shout-out to NVIDIA for the quick response with the potential cause!
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    Cc: stable@vger.kernel.org # 4.3+
    38bcb208
gf100.c 4.68 KB