diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-04 10:28:47 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-04 10:28:52 -0500 |
commit | 7f16e5c1416070dc590dd333a2d677700046a4ab (patch) | |
tree | 55718bbef64431e70d5ed282be516cd45b3f75e6 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 9d1cb9147dbe45f6e94dc796518ecf67cb64b359 (diff) | |
parent | 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff) |
Merge tag 'v3.12' into drm-intel-next
I want to merge in the new Broadwell support as a late hw enabling
pull request. But since the internal branch was based upon our
drm-intel-nightly integration branch I need to resolve all the
oustanding conflicts in drm/i915 with a backmerge to make the 60+
patches apply properly.
We'll propably have some fun because Linus will come up with a
slightly different merge solution.
Conflicts:
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
All rather simple adjacent lines changed or partial backports from
-next to -fixes, with the exception of the thaw code in i915_dma.c.
That one needed a bit of shuffling to restore the intent.
Oh and the massive header file reordering in intel_drv.h is a bit
trouble. But not much.
v2: Also don't forget the fixup for the silent conflict that results
in compile fail ...
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index f2324bc46800..b12d942ab09c 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -528,10 +528,12 @@ struct i915_address_space { | |||
528 | 528 | ||
529 | /* FIXME: Need a more generic return type */ | 529 | /* FIXME: Need a more generic return type */ |
530 | gen6_gtt_pte_t (*pte_encode)(dma_addr_t addr, | 530 | gen6_gtt_pte_t (*pte_encode)(dma_addr_t addr, |
531 | enum i915_cache_level level); | 531 | enum i915_cache_level level, |
532 | bool valid); /* Create a valid PTE */ | ||
532 | void (*clear_range)(struct i915_address_space *vm, | 533 | void (*clear_range)(struct i915_address_space *vm, |
533 | unsigned int first_entry, | 534 | unsigned int first_entry, |
534 | unsigned int num_entries); | 535 | unsigned int num_entries, |
536 | bool use_scratch); | ||
535 | void (*insert_entries)(struct i915_address_space *vm, | 537 | void (*insert_entries)(struct i915_address_space *vm, |
536 | struct sg_table *st, | 538 | struct sg_table *st, |
537 | unsigned int first_entry, | 539 | unsigned int first_entry, |
@@ -2182,6 +2184,8 @@ void i915_ppgtt_bind_object(struct i915_hw_ppgtt *ppgtt, | |||
2182 | void i915_ppgtt_unbind_object(struct i915_hw_ppgtt *ppgtt, | 2184 | void i915_ppgtt_unbind_object(struct i915_hw_ppgtt *ppgtt, |
2183 | struct drm_i915_gem_object *obj); | 2185 | struct drm_i915_gem_object *obj); |
2184 | 2186 | ||
2187 | void i915_check_and_clear_faults(struct drm_device *dev); | ||
2188 | void i915_gem_suspend_gtt_mappings(struct drm_device *dev); | ||
2185 | void i915_gem_restore_gtt_mappings(struct drm_device *dev); | 2189 | void i915_gem_restore_gtt_mappings(struct drm_device *dev); |
2186 | int __must_check i915_gem_gtt_prepare_object(struct drm_i915_gem_object *obj); | 2190 | int __must_check i915_gem_gtt_prepare_object(struct drm_i915_gem_object *obj); |
2187 | void i915_gem_gtt_bind_object(struct drm_i915_gem_object *obj, | 2191 | void i915_gem_gtt_bind_object(struct drm_i915_gem_object *obj, |