diff options
Diffstat (limited to 'src/gallium/winsys/intel')
-rw-r--r-- | src/gallium/winsys/intel/drm/intel_drm_winsys.c | 3 | ||||
-rw-r--r-- | src/gallium/winsys/intel/intel_winsys.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/winsys/intel/drm/intel_drm_winsys.c b/src/gallium/winsys/intel/drm/intel_drm_winsys.c index dfef9f4a914..250b36f524b 100644 --- a/src/gallium/winsys/intel/drm/intel_drm_winsys.c +++ b/src/gallium/winsys/intel/drm/intel_drm_winsys.c @@ -149,6 +149,9 @@ probe_winsys(struct intel_winsys *winsys) winsys->first_gem_ctx = drm_intel_gem_context_create(winsys->bufmgr); info->has_logical_context = (winsys->first_gem_ctx != NULL); + get_param(winsys, I915_PARAM_HAS_ALIASING_PPGTT, &val); + info->has_ppgtt = val; + /* test TIMESTAMP read */ info->has_timestamp = test_reg_read(winsys, 0x2358); diff --git a/src/gallium/winsys/intel/intel_winsys.h b/src/gallium/winsys/intel/intel_winsys.h index 3c9e6f267be..6571719d113 100644 --- a/src/gallium/winsys/intel/intel_winsys.h +++ b/src/gallium/winsys/intel/intel_winsys.h @@ -73,6 +73,7 @@ struct intel_winsys_info { bool has_llc; bool has_address_swizzling; bool has_logical_context; + bool has_ppgtt; /* valid registers for intel_winsys_read_reg() */ bool has_timestamp; |