• Keith Packard's avatar
    Re-fix DGA removal. · db98b26e
    Keith Packard authored
    Removing DGA ended up breaking any drivers calling into the old
    xf86DiDGAInit function as it tried to see if DGA was already enabled
    and ended up crashing if the VT wasn't completely initialized. Oops.
    Also, if the driver initializes DGA itself, have the DiDGA
    initialization overwrite that information as the DiDGA code will call
    ReInit on mode detect.
    Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
    Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
xf86DGA.c 30 KB