diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-04 15:08:56 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-04 15:18:29 +0100 |
commit | f906a4de62856df5b2536ce9704750c3530636fa (patch) | |
tree | 2a5353a85c5a5d7835e8158e246b173323b8189e /src/sna/kgem.c | |
parent | 6f49a413aa812e6f41826d6d1099927e1164353b (diff) |
sna: WriteThrough support is now upstream
Now that the WriteThrough ABI is upstream, we can rely on runtime
detection of the current interface.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.c')
-rw-r--r-- | src/sna/kgem.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index e001b012..81431708 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -829,14 +829,10 @@ static bool test_has_handle_lut(struct kgem *kgem) static bool test_has_wt(struct kgem *kgem) { -#if defined(USE_WT) if (DBG_NO_WT) return false; return gem_param(kgem, LOCAL_I915_PARAM_HAS_WT) > 0; -#else - return false; -#endif } static bool test_has_semaphores_enabled(struct kgem *kgem) |