Searched refs:bdw_gmch_ctl (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_gtt.c2174 static inline unsigned int gen8_get_total_gtt_size(u16 bdw_gmch_ctl) gen8_get_total_gtt_size() argument
2176 bdw_gmch_ctl >>= BDW_GMCH_GGMS_SHIFT; gen8_get_total_gtt_size()
2177 bdw_gmch_ctl &= BDW_GMCH_GGMS_MASK; gen8_get_total_gtt_size()
2178 if (bdw_gmch_ctl) gen8_get_total_gtt_size()
2179 bdw_gmch_ctl = 1 << bdw_gmch_ctl; gen8_get_total_gtt_size()
2183 if (bdw_gmch_ctl > 4) gen8_get_total_gtt_size()
2184 bdw_gmch_ctl = 4; gen8_get_total_gtt_size()
2187 return bdw_gmch_ctl << 20; gen8_get_total_gtt_size()
2208 static inline size_t gen8_get_stolen_size(u16 bdw_gmch_ctl) gen8_get_stolen_size() argument
2210 bdw_gmch_ctl >>= BDW_GMCH_GMS_SHIFT; gen8_get_stolen_size()
2211 bdw_gmch_ctl &= BDW_GMCH_GMS_MASK; gen8_get_stolen_size()
2212 return bdw_gmch_ctl << 25; /* 32 MB units */ gen8_get_stolen_size()

Completed in 101 milliseconds