On Sat,  2 Nov 2013 21:07:53 -0700
Ben Widawsky <[email protected]> wrote:

> From: Ben Widawsky <[email protected]>
> 
> We've done insufficient testing on them thus far, so keep them disabled
> until we do test.
> 
> Signed-off-by: Ben Widawsky <[email protected]>
> ---
>  drivers/gpu/drm/i915/i915_drv.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
> index 590d999..efb63b0 100644
> --- a/drivers/gpu/drm/i915/i915_drv.c
> +++ b/drivers/gpu/drm/i915/i915_drv.c
> @@ -478,6 +478,12 @@ bool i915_semaphore_is_enabled(struct drm_device *dev)
>       if (INTEL_INFO(dev)->gen < 6)
>               return 0;
>  
> +     /* Until we get further testing... */
> +     if (IS_GEN8(dev)) {
> +             DRM_INFO("Semaphores disabled GEN8\n");
> +             return 0;
> +     }
> +
>       if (i915_semaphores >= 0)
>               return i915_semaphores;
>  

Reviewed-by: Jesse Barnes <[email protected]>

Side note; for stuff like this where we disable a critical feature
(e.g. PPGTT, semaphores) with the intention of enabling it later, maybe
we should do a WARN or something if preliminary hw support is enabled.
Or somehow catch it so we have to address it before declaring the bits
good.

-- 
Jesse Barnes, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to