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

/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_gem_gtt.c2763 static unsigned int gen6_get_total_gtt_size(u16 snb_gmch_ctl) gen6_get_total_gtt_size() argument
2765 snb_gmch_ctl >>= SNB_GMCH_GGMS_SHIFT; gen6_get_total_gtt_size()
2766 snb_gmch_ctl &= SNB_GMCH_GGMS_MASK; gen6_get_total_gtt_size()
2767 return snb_gmch_ctl << 20; gen6_get_total_gtt_size()
2797 static size_t gen6_get_stolen_size(u16 snb_gmch_ctl) gen6_get_stolen_size() argument
2799 snb_gmch_ctl >>= SNB_GMCH_GMS_SHIFT; gen6_get_stolen_size()
2800 snb_gmch_ctl &= SNB_GMCH_GMS_MASK; gen6_get_stolen_size()
2801 return snb_gmch_ctl << 25; /* 32 MB units */ gen6_get_stolen_size()
2962 u16 snb_gmch_ctl; gen8_gmch_probe() local
2972 pci_read_config_word(dev->pdev, SNB_GMCH_CTRL, &snb_gmch_ctl); gen8_gmch_probe()
2975 *stolen = gen9_get_stolen_size(snb_gmch_ctl); gen8_gmch_probe()
2976 gtt_size = gen8_get_total_gtt_size(snb_gmch_ctl); gen8_gmch_probe()
2978 *stolen = chv_get_stolen_size(snb_gmch_ctl); gen8_gmch_probe()
2979 gtt_size = chv_get_total_gtt_size(snb_gmch_ctl); gen8_gmch_probe()
2981 *stolen = gen8_get_stolen_size(snb_gmch_ctl); gen8_gmch_probe()
2982 gtt_size = gen8_get_total_gtt_size(snb_gmch_ctl); gen8_gmch_probe()
3010 u16 snb_gmch_ctl; gen6_gmch_probe() local
3027 pci_read_config_word(dev->pdev, SNB_GMCH_CTRL, &snb_gmch_ctl); gen6_gmch_probe()
3029 *stolen = gen6_get_stolen_size(snb_gmch_ctl); gen6_gmch_probe()
3031 gtt_size = gen6_get_total_gtt_size(snb_gmch_ctl); gen6_gmch_probe()

Completed in 112 milliseconds