• Alan Cox's avatar
    gma500: finish off the fault handler · 7ed2911c
    Alan Cox authored
    GEM wants to mmap the object through the GTT (which avoids aliasing) so we
    need to put the object into the GTT before we provide the fault mapping for
    it.
    
    While we are at it update the pin interface so that it digs dev out of the
    GEM object itself. This provides a rather cleaner API and call environment.
    Fix th refcount/on-off confusion in the pin API.
    
    At this point we get a bit further with modetest but if we write to the
    new GEM mapping we hang solid and as yet I don't know why.
    Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    7ed2911c
psb_gtt.h 2.07 KB