Home
last modified time | relevance | path

Searched refs:gmch_ctrl (Results 1 – 6 of 6) sorted by relevance

/drivers/char/agp/
Dintel-gtt.c348 u16 gmch_ctrl; in intel_gtt_stolen_size() local
358 I830_GMCH_CTRL, &gmch_ctrl); in intel_gtt_stolen_size()
362 switch (gmch_ctrl & I830_GMCH_GMS_MASK) { in intel_gtt_stolen_size()
383 switch (gmch_ctrl & I855_GMCH_GMS_MASK) { in intel_gtt_stolen_size()
541 u16 gmch_ctrl; in intel_gtt_mappable_entries() local
544 I830_GMCH_CTRL, &gmch_ctrl); in intel_gtt_mappable_entries()
546 if ((gmch_ctrl & I830_GMCH_MEM_MASK) == I830_GMCH_MEM_64M) in intel_gtt_mappable_entries()
750 u16 gmch_ctrl; in intel_enable_gtt() local
753 I830_GMCH_CTRL, &gmch_ctrl); in intel_enable_gtt()
754 gmch_ctrl |= I830_GMCH_ENABLED; in intel_enable_gtt()
[all …]
/drivers/gpu/drm/i915/
Di915_gem_gtt.c1820 static inline unsigned int chv_get_total_gtt_size(u16 gmch_ctrl) in chv_get_total_gtt_size() argument
1822 gmch_ctrl >>= SNB_GMCH_GGMS_SHIFT; in chv_get_total_gtt_size()
1823 gmch_ctrl &= SNB_GMCH_GGMS_MASK; in chv_get_total_gtt_size()
1825 if (gmch_ctrl) in chv_get_total_gtt_size()
1826 return 1 << (20 + gmch_ctrl); in chv_get_total_gtt_size()
1845 static size_t chv_get_stolen_size(u16 gmch_ctrl) in chv_get_stolen_size() argument
1847 gmch_ctrl >>= SNB_GMCH_GMS_SHIFT; in chv_get_stolen_size()
1848 gmch_ctrl &= SNB_GMCH_GMS_MASK; in chv_get_stolen_size()
1855 if (gmch_ctrl < 0x11) in chv_get_stolen_size()
1856 return gmch_ctrl << 25; in chv_get_stolen_size()
[all …]
Dintel_display.c13595 u16 gmch_ctrl; in intel_modeset_vga_set_state() local
13597 if (pci_read_config_word(dev_priv->bridge_dev, reg, &gmch_ctrl)) { in intel_modeset_vga_set_state()
13602 if (!!(gmch_ctrl & INTEL_GMCH_VGA_DISABLE) == !state) in intel_modeset_vga_set_state()
13606 gmch_ctrl &= ~INTEL_GMCH_VGA_DISABLE; in intel_modeset_vga_set_state()
13608 gmch_ctrl |= INTEL_GMCH_VGA_DISABLE; in intel_modeset_vga_set_state()
13610 if (pci_write_config_word(dev_priv->bridge_dev, reg, gmch_ctrl)) { in intel_modeset_vga_set_state()
/drivers/gpu/drm/gma500/
Dgtt.c406 dev_priv->gmch_ctrl); in psb_gtt_takedown()
434 pci_read_config_word(dev->pdev, PSB_GMCH_CTRL, &dev_priv->gmch_ctrl); in psb_gtt_init()
436 dev_priv->gmch_ctrl | _PSB_GMCH_ENABLED); in psb_gtt_init()
Dpower.c112 dev_priv->gmch_ctrl | _PSB_GMCH_ENABLED); in gma_resume_display()
Dpsb_drv.h460 u16 gmch_ctrl; /* Saved GTT setup */ member