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

Adam Jackson ajax at redhat.com
Wed Jun 20 23:36:26 CEST 2012


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 probably wouldn't care, I guess.  Still, seems
wrong to have this in i915 when it should be common.

Is this a problem we've seen in the wild, or is this just paranoia?

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120620/b05e9c9a/attachment.sig>


More information about the Intel-gfx mailing list