summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/intel/drm
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-03-08 13:50:53 +0800
committerChia-I Wu <[email protected]>2014-03-10 16:42:41 +0800
commitf2aabecbb05daf62c773f8c04819433e980d51dc (patch)
tree8b545c931f7f9dfc89b21699694b19765ff9816d /src/gallium/winsys/intel/drm
parent56b1be4399d76c0fe5ddf099a7ac5b45ab58e8cf (diff)
ilo: remove intel_winsys_enable_reuse()
It should be an (winsys) implementation detail.
Diffstat (limited to 'src/gallium/winsys/intel/drm')
-rw-r--r--src/gallium/winsys/intel/drm/intel_drm_winsys.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gallium/winsys/intel/drm/intel_drm_winsys.c b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
index d7ec919130b..fae47eacaf8 100644
--- a/src/gallium/winsys/intel/drm/intel_drm_winsys.c
+++ b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
@@ -1,7 +1,7 @@
/*
* Mesa 3-D graphics library
*
- * Copyright (C) 2012-2013 LunarG, Inc.
+ * Copyright (C) 2012-2014 LunarG, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -144,6 +144,7 @@ intel_winsys_create_for_fd(int fd)
}
drm_intel_bufmgr_gem_enable_fenced_relocs(winsys->bufmgr);
+ drm_intel_bufmgr_gem_enable_reuse(winsys->bufmgr);
return winsys;
}
@@ -164,12 +165,6 @@ intel_winsys_get_info(const struct intel_winsys *winsys)
return &winsys->info;
}
-void
-intel_winsys_enable_reuse(struct intel_winsys *winsys)
-{
- drm_intel_bufmgr_gem_enable_reuse(winsys->bufmgr);
-}
-
struct intel_context *
intel_winsys_create_context(struct intel_winsys *winsys)
{