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.c409 dev_priv->gmch_ctrl); in psb_gtt_takedown()
438 pci_read_config_word(dev->pdev, PSB_GMCH_CTRL, &dev_priv->gmch_ctrl); in psb_gtt_init()
440 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.h462 u16 gmch_ctrl; /* Saved GTT setup */ member
/drivers/gpu/drm/i915/
Di915_gem_gtt.c2664 static unsigned int chv_get_total_gtt_size(u16 gmch_ctrl) in chv_get_total_gtt_size() argument
2666 gmch_ctrl >>= SNB_GMCH_GGMS_SHIFT; in chv_get_total_gtt_size()
2667 gmch_ctrl &= SNB_GMCH_GGMS_MASK; in chv_get_total_gtt_size()
2669 if (gmch_ctrl) in chv_get_total_gtt_size()
2670 return 1 << (20 + gmch_ctrl); in chv_get_total_gtt_size()
2689 static size_t chv_get_stolen_size(u16 gmch_ctrl) in chv_get_stolen_size() argument
2691 gmch_ctrl >>= SNB_GMCH_GMS_SHIFT; in chv_get_stolen_size()
2692 gmch_ctrl &= SNB_GMCH_GMS_MASK; in chv_get_stolen_size()
2699 if (gmch_ctrl < 0x11) in chv_get_stolen_size()
2700 return (size_t)gmch_ctrl << 25; in chv_get_stolen_size()
[all …]
Dintel_display.c15366 u16 gmch_ctrl; in intel_modeset_vga_set_state() local
15368 if (pci_read_config_word(dev_priv->bridge_dev, reg, &gmch_ctrl)) { in intel_modeset_vga_set_state()
15373 if (!!(gmch_ctrl & INTEL_GMCH_VGA_DISABLE) == !state) in intel_modeset_vga_set_state()
15377 gmch_ctrl &= ~INTEL_GMCH_VGA_DISABLE; in intel_modeset_vga_set_state()
15379 gmch_ctrl |= INTEL_GMCH_VGA_DISABLE; in intel_modeset_vga_set_state()
15381 if (pci_write_config_word(dev_priv->bridge_dev, reg, gmch_ctrl)) { in intel_modeset_vga_set_state()