• Ben Widawsky's avatar
    drm/i915/bdw: Make gen8_gmch_probe · 63340133
    Ben Widawsky authored
    Probing gen8 is similar to gen6. To make the code cleaner and more
    maintainable however we can use the probe functions to split it out.
    
    v2: Rebased on top of update gtt probe infrastructure.
    
    v3: Rebased on top of Kenneth' Graunke's ->pte_encode refactoring.
    
    V4: Resolve conflicts with Ben's latest ppgtt patches, also switch to
    gen < 8 testing instead of gen <= 7.
    
    v5: Resolve conflicts with address space vfunc changes in upstream.
    
    v6: Use 39b DMA mask. At least, for this mode, it is the correct mask.
    (Imre)
    
    Cc: Imre Deak <imre.deak@intel.com>
    Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
    Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    63340133
i915_gem_gtt.c 29.1 KB