summaryrefslogtreecommitdiff
path: root/lib/media_fill.c
blob: 084237f7a98292252d9f79ffd4da8a41b7a3cb0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "i830_reg.h"
#include "media_fill.h"

media_fillfunc_t get_media_fillfunc(int devid)
{
	media_fillfunc_t fill = NULL;

	if (IS_GEN8(devid))
		fill = gen8_media_fillfunc;
	else if (IS_GEN7(devid))
		fill = gen7_media_fillfunc;

	return fill;
}