Re: [Intel-gfx] [PATCH 9/9] drm/i915/gen9: fail the modeset instead of WARNing on unsuported config

2016-09-15 Thread Ville Syrjälä
On Tue, Sep 13, 2016 at 09:38:22PM -0300, Paulo Zanoni wrote: > Now that this code is part of the compute stage we can return -EINVAL > to prevent the modeset instead of giving a WARN and trying anyway. > > Reported-by: Lyude > Signed-off-by: Paulo Zanoni

[Intel-gfx] [PATCH 9/9] drm/i915/gen9: fail the modeset instead of WARNing on unsuported config

2016-09-13 Thread Paulo Zanoni
Now that this code is part of the compute stage we can return -EINVAL to prevent the modeset instead of giving a WARN and trying anyway. Reported-by: Lyude Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/i915/intel_pm.c | 4 ++-- 1 file changed, 2