From: ville.syrjala@linux.intel.com Subject: [PATCH 0/4] drm/i915: Some sanity checks for modes Date: Tue, 1 Oct 2013 16:13:27 +0300 Message-ID: <1380633211-16138-1-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id AC11AE74EF for ; Tue, 1 Oct 2013 06:13:35 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org I hit a div by zero due to accidentally passing in hdisplay=0, and that got me looking a bit more at how much adjustment/verification we do to display modes in general. The answer is not a lot. So this series starts us off on the right track, and eliminates some of the potential issues. There are still a lot of hardware specific limits we don't handle (eg. minimum hblank length), but we have to start somewhere.