Subversion Repositories Kolibri OS

Rev

Rev 5060 | Rev 5354 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5060 Rev 5128
Line 193... Line 193...
193
#define for_each_power_domain(domain, mask)				\
193
#define for_each_power_domain(domain, mask)				\
194
	for ((domain) = 0; (domain) < POWER_DOMAIN_NUM; (domain)++)	\
194
	for ((domain) = 0; (domain) < POWER_DOMAIN_NUM; (domain)++)	\
195
		if ((1 << (domain)) & (mask))
195
		if ((1 << (domain)) & (mask))
Line 196... Line 196...
196
 
196
 
-
 
197
struct drm_i915_private;
197
struct drm_i915_private;
198
struct i915_mm_struct;
Line 198... Line 199...
198
struct i915_mmu_object;
199
struct i915_mmu_object;
199
 
200
 
200
enum intel_dpll_id {
201
enum intel_dpll_id {
Line 1509... Line 1510...
1509
 
1510
 
1510
	struct list_head vm_list; /* Global list of all address spaces */
1511
	struct list_head vm_list; /* Global list of all address spaces */
Line 1511... Line 1512...
1511
	struct i915_gtt gtt; /* VM representing the global address space */
1512
	struct i915_gtt gtt; /* VM representing the global address space */
1512
 
-
 
1513
	struct i915_gem_mm mm;
1513
 
1514
#if defined(CONFIG_MMU_NOTIFIER)
1514
	struct i915_gem_mm mm;
Line 1515... Line 1515...
1515
	DECLARE_HASHTABLE(mmu_notifiers, 7);
1515
	DECLARE_HASHTABLE(mm_structs, 7);
Line 1516... Line 1516...
1516
#endif
1516
	struct mutex mm_lock;
Line 1817... Line 1817...
1817
			uintptr_t ptr;
1817
			uintptr_t ptr;
1818
			unsigned read_only :1;
1818
			unsigned read_only :1;
1819
			unsigned workers :4;
1819
			unsigned workers :4;
1820
#define I915_GEM_USERPTR_MAX_WORKERS 15
1820
#define I915_GEM_USERPTR_MAX_WORKERS 15
Line 1821... Line 1821...
1821
 
1821
 
1822
			struct mm_struct *mm;
1822
			struct i915_mm_struct *mm;
1823
			struct i915_mmu_object *mn;
1823
			struct i915_mmu_object *mmu_object;
1824
			struct work_struct *work;
1824
			struct work_struct *work;
1825
		} userptr;
1825
		} userptr;
1826
	};
1826
	};
1827
};
1827
};