diff options
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/d3dadapter9/drm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c index e0c2e26c02f..6163734185a 100644 --- a/src/gallium/targets/d3dadapter9/drm.c +++ b/src/gallium/targets/d3dadapter9/drm.c @@ -58,6 +58,7 @@ DRI_CONF_BEGIN DRI_CONF_NINE_THREADSUBMIT("false") DRI_CONF_NINE_ALLOWDISCARDDELAYEDRELEASE("true") DRI_CONF_NINE_TEARFREEDISCARD("false") + DRI_CONF_NINE_CSMT(-1) DRI_CONF_SECTION_END DRI_CONF_END; @@ -301,6 +302,11 @@ drm_create_adapter( int fd, ctx->base.tearfree_discard = FALSE; } + if (driCheckOption(&userInitOptions, "csmt_force", DRI_INT)) + ctx->base.csmt_force = driQueryOptioni(&userInitOptions, "csmt_force"); + else + ctx->base.csmt_force = -1; + driDestroyOptionCache(&userInitOptions); driDestroyOptionInfo(&defaultInitOptions); |