#ifndef DRM_ATI_PCIGART_H
#define DRM_ATI_PCIGART_H

#include <drm/drm_legacy.h>

/* location of GART table */
#define DRM_ATI_GART_MAIN 1
#define DRM_ATI_GART_FB   2

#define DRM_ATI_GART_PCI 1
#define DRM_ATI_GART_PCIE 2
#define DRM_ATI_GART_IGP 3

struct drm_ati_pcigart_info {
	int gart_table_location;
	int gart_reg_if;
	void *addr;
	dma_addr_t bus_addr;
	dma_addr_t table_mask;
	struct drm_dma_handle *table_handle;
	struct drm_local_map mapping;
	int table_size;
};

extern int drm_ati_pcigart_init(struct drm_device *dev,
				struct drm_ati_pcigart_info * gart_info);
extern int drm_ati_pcigart_cleanup(struct drm_device *dev,
				   struct drm_ati_pcigart_info * gart_info);

#endif
d>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='5f155c2563592b1908a7df2dcbd44893fde3e419'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>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/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/power/x86'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/power/x86?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/power/x86?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/power/x86?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/power/x86'>
<input type='hidden' name='id' value='5f155c2563592b1908a7df2dcbd44893fde3e419'/><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/?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/power?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>power</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/power/x86?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>x86</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/tools/power/x86?id=5f155c2563592b1908a7df2dcbd44893fde3e419&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>