summaryrefslogtreecommitdiff
path: root/ioexact.h
blob: c69552bf82f2aa33b2c831f94af2f7bafe444a4b (plain)
1
2
3
4
5
6
7
8
9
#ifndef IOEXACT_H
#define IOEXACT_H

#include <stdbool.h>

extern ssize_t read_exact(int fd, void *buf, size_t len, bool mayexit);
extern ssize_t write_exact(int fd, void *buf, size_t len, bool mayexit);

#endif /* IOEXACT_H */
ary='commit info' class='commit-info'> authorChristian König <christian.koenig@amd.com>2016-09-21 09:38:14 +0200 committerAlex Deucher <alexander.deucher@amd.com>2016-09-28 16:16:24 -0400 commitad78069c333b6d80958794d073d85f7c428a2213 (patch) tree9236f661ca2bcfb2c0ef624329618104fd84d4c1 parent98b480dba9d9c502480a69396c4f06698fcdaac1 (diff)
drm/amdgpu: fix BO move offsets
It's pretty pointless to get the offset first and then initialize it. Should fix issues with the new GTT manager. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat