Home
last modified time | relevance | path

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

/drivers/char/agp/
Dintel-gtt.c338 u16 gmch_ctrl; in intel_gtt_stolen_size() local
348 I830_GMCH_CTRL, &gmch_ctrl); in intel_gtt_stolen_size()
352 switch (gmch_ctrl & I830_GMCH_GMS_MASK) { in intel_gtt_stolen_size()
373 switch (gmch_ctrl & I855_GMCH_GMS_MASK) { in intel_gtt_stolen_size()
531 u16 gmch_ctrl; in intel_gtt_mappable_entries() local
534 I830_GMCH_CTRL, &gmch_ctrl); in intel_gtt_mappable_entries()
536 if ((gmch_ctrl & I830_GMCH_MEM_MASK) == I830_GMCH_MEM_64M) in intel_gtt_mappable_entries()
749 u16 gmch_ctrl; in intel_enable_gtt() local
752 I830_GMCH_CTRL, &gmch_ctrl); in intel_enable_gtt()
753 gmch_ctrl |= I830_GMCH_ENABLED; in intel_enable_gtt()
[all …]
/drivers/gpu/drm/gma500/
Dgtt.c398 dev_priv->gmch_ctrl); in psb_gtt_takedown()
427 pci_read_config_word(dev->pdev, PSB_GMCH_CTRL, &dev_priv->gmch_ctrl); in psb_gtt_init()
429 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.h449 u16 gmch_ctrl; /* Saved GTT setup */ member
/drivers/gpu/drm/i915/
Di915_gem_gtt.c2826 static unsigned int chv_get_total_gtt_size(u16 gmch_ctrl) in chv_get_total_gtt_size() argument
2828 gmch_ctrl >>= SNB_GMCH_GGMS_SHIFT; in chv_get_total_gtt_size()
2829 gmch_ctrl &= SNB_GMCH_GGMS_MASK; in chv_get_total_gtt_size()
2831 if (gmch_ctrl) in chv_get_total_gtt_size()
2832 return 1 << (20 + gmch_ctrl); in chv_get_total_gtt_size()
/drivers/gpu/drm/i915/display/
Dintel_display.c17141 u16 gmch_ctrl; in intel_modeset_vga_set_state() local
17143 if (pci_read_config_word(dev_priv->bridge_dev, reg, &gmch_ctrl)) { in intel_modeset_vga_set_state()
17148 if (!!(gmch_ctrl & INTEL_GMCH_VGA_DISABLE) == !state) in intel_modeset_vga_set_state()
17152 gmch_ctrl &= ~INTEL_GMCH_VGA_DISABLE; in intel_modeset_vga_set_state()
17154 gmch_ctrl |= INTEL_GMCH_VGA_DISABLE; in intel_modeset_vga_set_state()
17156 if (pci_write_config_word(dev_priv->bridge_dev, reg, gmch_ctrl)) { in intel_modeset_vga_set_state()