• Ben Widawsky's avatar
    drm/i915: Kill obj->gtt_offset · edd41a87
    Ben Widawsky authored
    With the getters in place from the previous patch this members serves no
    purpose other than saving one spare pointer chase, which will be killed
    in the next patch anyway.
    
    Moving to VMAs, this members adds unnecessary confusion since an object
    may exist at different offsets in different VMs.
    
    v2: Properly preserve the stolen offset. This code is a bit hacky but it
    all goes away when we embed the drm_mm_node and removes the need for the
    incorrect patch I submitted previously: "Use gtt_space->start for stolen
    reservation"
    Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    edd41a87
i915_drv.h 65.3 KB