/* Common header for intel-gtt.ko and i915.ko */

#ifndef _DRM_INTEL_GTT_H
#define	_DRM_INTEL_GTT_H

void intel_gtt_get(u64 *gtt_total, size_t *stolen_size,
		   phys_addr_t *mappable_base, u64 *mappable_end);

int intel_gmch_probe(struct pci_dev *bridge_pdev, struct pci_dev *gpu_pdev,
		     struct agp_bridge_data *bridge);
void intel_gmch_remove(void);

bool intel_enable_gtt(void);

void intel_gtt_chipset_flush(void);
void intel_gtt_insert_page(dma_addr_t addr,
			   unsigned int pg,
			   unsigned int flags);
void intel_gtt_insert_sg_entries(struct sg_table *st,
				 unsigned int pg_start,
				 unsigned int flags);
void intel_gtt_clear_range(unsigned int first_entry, unsigned int num_entries);

/* Special gtt memory types */
#define AGP_DCACHE_MEMORY	1
#define AGP_PHYS_MEMORY		2

/* flag for GFDT type */
#define AGP_USER_CACHED_MEMORY_GFDT (1 << 3)

#ifdef CONFIG_INTEL_IOMMU
extern int intel_iommu_gfx_mapped;
#endif

#endif
1d0041c22922228ca52a977d7b0b0159fee4b'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/pci/ymfpci/ymfpci.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/pci/ymfpci/ymfpci.c?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/pci/ymfpci/ymfpci.c?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/pci/ymfpci/ymfpci.c?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/pci/ymfpci/ymfpci.c'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='0911d0041c22922228ca52a977d7b0b0159fee4b'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b'>pci</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/ymfpci?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b'>ymfpci</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/ymfpci/ymfpci.c?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b'>ymfpci.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/ymfpci/ymfpci.c?h=nds-private-remove&amp;id=0911d0041c22922228ca52a977d7b0b0159fee4b&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>