From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Galibert Subject: Re: [PATCH] drm/i915: Detect the error case for too large CRTC offsets Date: Thu, 5 Jul 2012 19:22:37 +0200 Message-ID: <20120705172237.GA97358@dspnet.fr> References: <1341479410-3073-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from dspnet.fr (dspnet.fr [188.165.44.67]) by gabe.freedesktop.org (Postfix) with ESMTP id A13AB9E7E2 for ; Thu, 5 Jul 2012 10:31:04 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1341479410-3073-1-git-send-email-chris@chris-wilson.co.uk> 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: Chris Wilson Cc: intel-gfx@lists.freedesktop.org, stable@kernel.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Jul 05, 2012 at 10:10:10AM +0100, Chris Wilson wrote: > + if (INTEL_INFO(dev)->gen >= 4 && (x|y) & ~4095) { > + DRM_ERROR("CRTC offset too larget (%d, %d)\n", x, y); larget? OG.