Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/display/
Dintel_vga.c104 u16 gmch_ctrl; in intel_vga_set_state() local
106 if (pci_read_config_word(i915->bridge_dev, reg, &gmch_ctrl)) { in intel_vga_set_state()
111 if (!!(gmch_ctrl & INTEL_GMCH_VGA_DISABLE) == !enable_decode) in intel_vga_set_state()
115 gmch_ctrl &= ~INTEL_GMCH_VGA_DISABLE; in intel_vga_set_state()
117 gmch_ctrl |= INTEL_GMCH_VGA_DISABLE; in intel_vga_set_state()
119 if (pci_write_config_word(i915->bridge_dev, reg, gmch_ctrl)) { in intel_vga_set_state()
/drivers/char/agp/
Dintel-gtt.c341 u16 gmch_ctrl; in intel_gtt_stolen_size() local
351 I830_GMCH_CTRL, &gmch_ctrl); in intel_gtt_stolen_size()
355 switch (gmch_ctrl & I830_GMCH_GMS_MASK) { in intel_gtt_stolen_size()
376 switch (gmch_ctrl & I855_GMCH_GMS_MASK) { in intel_gtt_stolen_size()
534 u16 gmch_ctrl; in intel_gtt_mappable_entries() local
537 I830_GMCH_CTRL, &gmch_ctrl); in intel_gtt_mappable_entries()
539 if ((gmch_ctrl & I830_GMCH_MEM_MASK) == I830_GMCH_MEM_64M) in intel_gtt_mappable_entries()
749 u16 gmch_ctrl; in intel_gmch_enable_gtt() local
752 I830_GMCH_CTRL, &gmch_ctrl); in intel_gmch_enable_gtt()
753 gmch_ctrl |= I830_GMCH_ENABLED; in intel_gmch_enable_gtt()
[all …]
/drivers/gpu/drm/gma500/
Dgtt.c134 ret = pci_read_config_word(pdev, PSB_GMCH_CTRL, &dev_priv->gmch_ctrl); in psb_gtt_enable()
137 ret = pci_write_config_word(pdev, PSB_GMCH_CTRL, dev_priv->gmch_ctrl | _PSB_GMCH_ENABLED); in psb_gtt_enable()
154 pci_write_config_word(pdev, PSB_GMCH_CTRL, dev_priv->gmch_ctrl); in psb_gtt_disable()
Dpower.c120 dev_priv->gmch_ctrl | _PSB_GMCH_ENABLED); in gma_resume_display()
Dpsb_drv.h406 u16 gmch_ctrl; /* Saved GTT setup */ member
/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c851 static unsigned int chv_get_total_gtt_size(u16 gmch_ctrl) in chv_get_total_gtt_size() argument
853 gmch_ctrl >>= SNB_GMCH_GGMS_SHIFT; in chv_get_total_gtt_size()
854 gmch_ctrl &= SNB_GMCH_GGMS_MASK; in chv_get_total_gtt_size()
856 if (gmch_ctrl) in chv_get_total_gtt_size()
857 return 1 << (20 + gmch_ctrl); in chv_get_total_gtt_size()