summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-09-05compote: add simple test shader to trigger page faultHEADmasterJérôme Glisse4-3/+286
Simple shader that write the thread x id to buffer[threadid.x] ie pseudo code: buffer[threadid.x] = threadid.x; In the old way the buffer is allocated with regular GPU memory allocation and everything is pin while in the new way this is simply malloc memory and the GPU might trigger a page fault if there is no page backing the buffer addresses yet. Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
2017-08-12compote: split between old way and new wayJérôme Glisse5-60/+195
old way is use device specific memory allocator new way is to use malloc (here we have a limitation due to nouveau the address must be in below 1 << 40 hence why the custom malloc) Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
2017-08-09compote: indirect buffer execution and simple testJérôme Glisse2-10/+83
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
2017-08-04compote: channel creationJérôme Glisse3-1/+32
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
2017-08-04compote: mmap memory object at creationJérôme Glisse2-0/+22
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
2017-08-04compote: basic infrastructure to allocate memory using compoteJérôme Glisse3-0/+111
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
2017-08-04compote: basic infrastructure to test compote moduleJérôme Glisse4-0/+129
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
2017-08-03git: initial commitJérôme Glisse1-0/+5
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>