• Eric Anholt's avatar
    agp: Fix stolen memory counting on G4X. · 82e14a62
    Eric Anholt authored
    On the GM45, the amount of stolen memory mapped to the GTT was underestimated,
    even though we had 508KB more available since the GTT doesn't take from
    stolen memory. On the non-GM45 G4X, we overestimated how much stolen was
    mapped to the GTT by 4KB, resulting in GPU page faults when that page was
    accessed.
    
    This update requires a corresponding update to xf86-video-intel to work
    correctly.
    Signed-off-by: default avatarEric Anholt <eric@anholt.net>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    82e14a62
intel-agp.c 68.3 KB