Re: [Intel-gfx] [PATCH 1/2] drm/i915: add sanity checks for hsync and htotal

2012-06-21 Thread Jani Nikula
On Thu, 21 Jun 2012, Adam Jackson wrote: > On Wed, 2012-06-20 at 23:15 +0300, Jani Nikula wrote: >> Restrict hsync start, end, hdisplay and htotal to be according to hw >> spec. Through drm_mode_set_crtcinfo(), these will also limit hblank start, >> end. > > I'm pretty sure any physical hardware w

Re: [Intel-gfx] [PATCH 1/2] drm/i915: add sanity checks for hsync and htotal

2012-06-20 Thread Adam Jackson
On Wed, 2012-06-20 at 23:15 +0300, Jani Nikula wrote: > Restrict hsync start, end, hdisplay and htotal to be according to hw > spec. Through drm_mode_set_crtcinfo(), these will also limit hblank start, > end. I'm pretty sure any physical hardware would balk at modes like this. Virtual framebuffers

[Intel-gfx] [PATCH 1/2] drm/i915: add sanity checks for hsync and htotal

2012-06-20 Thread Jani Nikula
Restrict hsync start, end, hdisplay and htotal to be according to hw spec. Through drm_mode_set_crtcinfo(), these will also limit hblank start, end. Signed-off-by: Jani Nikula --- Let's see if this will be frowned upon... seems better to have these separate from the follow-up workaround patch,