summaryrefslogtreecommitdiff
path: root/tstamping.h
blob: ccc642e32c20c75b8e722222003081aa11c5a9cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef TSTAMPING_H
#define TSTAMPING_H

#include "config.h"

#ifdef HAVE_HARDWARE_TIMESTAMPING
extern int set_sockopt_hwtimestamp(int sock, const char *dev);
#else
static inline int set_sockopt_hwtimestamp(int sock, const char *dev)
{
	return -1;
}
#endif

#endif /* TSTAMPING_H */
div>
authorChristian König <christian.koenig@amd.com>2016-06-24 21:51:03 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 15:06:01 -0400
commit847b6cf9fb771341a550661ef61d510722eba785 (patch)
tree58117cdedc59e562d1d4cbc3ba01731c9435a400
parent880a076cdefe7f345d25e462cd327bea9ff81831 (diff)
drm/ttm: fix stupid parameter inversion in the pipeline code
We want to keep the newest fence, not the oldest one. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat