]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915/bdw: Make gen8_gmch_probe
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 5 Nov 2013 03:32:22 +0000 (19:32 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Nov 2013 17:09:43 +0000 (18:09 +0100)
commit63340133f3d58634b068f15f9f43f905ea94b837
treea2628c7ad0061c67c0a8e7510e3f34c3792db756
parentd0582ed2ff119eae26c74a5ec85c08fbd6ae0e18
drm/i915/bdw: Make gen8_gmch_probe

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: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c