Received: by 10.192.165.148 with SMTP id m20csp2238793imm; Thu, 26 Apr 2018 07:57:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx49P8dz+iQqhcMEvoErYsX0wL2pT6QxugTzcGXtHMThkQvzQCx3ZYj0fGqtaRENrt0Mzogtd X-Received: by 10.99.147.87 with SMTP id w23mr27344565pgm.200.1524754672814; Thu, 26 Apr 2018 07:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524754672; cv=none; d=google.com; s=arc-20160816; b=1KN75xg6Zu7niIoIJC9jqfyNR+xiLIfaDr+7Tc/1m6c+GzfwEde1N1GoyKrtK5mqpk +OoxcSFOE0JtrcXF1r64bzoELkB2m3217E01ZbJbwqX3a5Quin2mP5tUvv0nKh+aQlTi +grC3rz/EVHg8zypMkJIaMbIhcXPNxa4eb0VFmRHGANaMWw6jiDeQY9sDRNapWCAI6Xe FAoJLLG39+kFJiZuSMVkJ80yRC/KpzO7+XiU3aSAf5RsIro4GJSMrAuM/7XNzxdOsIZM zO2GEgqSs7Aexh1dpQCGBvCu549qTn1d8v9eufCPS4AhGaERgLB2GQ6O3gTZvyTqqydv wDJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date :arc-authentication-results; bh=bgghjcJu5E2fwy4Mx8Vw2rpXP/9CLwRu9sw7My0P7o4=; b=Yr+FJ0plroiiMYKPjAmzrWGlzPFdZwGQu5LJH8RV/oekcU7jLbF8NU6M+Gq2dB6VQv WulSklHiGiru6qHSs5RG6Hh1icZ1zO+LHGi+q+Ss/w1W0LNZmGjAuiBdMGSECXez7aPC CNBZiPLhcZiADXhawmQQWzvsQgTgMx/g8wbMI/R/SJlY2rYdhjvSoUT/N2QWDDO9q8lN w1fK/pc+0bW+pRefntG5CFlB04a54ZE0wmTZ3VRpdzpIwMpWEj+fSnLVjNWTlo+XBOJe vMJSBcRK3XGqy3MrJpbYnH1Cx9aTjq0aFqA46w1RlvAxtDF4UYPzBuMGAcZuhbxNXSOv Hbzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3si118522pgs.671.2018.04.26.07.57.38; Thu, 26 Apr 2018 07:57:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756598AbeDZO4T (ORCPT + 99 others); Thu, 26 Apr 2018 10:56:19 -0400 Received: from mga02.intel.com ([134.134.136.20]:18542 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755698AbeDZO4S (ORCPT ); Thu, 26 Apr 2018 10:56:18 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Apr 2018 07:56:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,330,1520924400"; d="scan'208";a="34843535" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by fmsmga007.fm.intel.com with SMTP; 26 Apr 2018 07:56:14 -0700 Received: by stinkbox (sSMTP sendmail emulation); Thu, 26 Apr 2018 17:56:14 +0300 Date: Thu, 26 Apr 2018 17:56:14 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Dave Jones , Linux Kernel , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] 4.17-rc2: Could not determine valid watermarks for inherited state Message-ID: <20180426145614.GP23723@intel.com> References: <20180423152713.2rrwwye3wfstbv5v@codemonkey.org.uk> <20180426131045.GH23723@intel.com> <20180426142719.fzivt2e6kialcbp4@codemonkey.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180426142719.fzivt2e6kialcbp4@codemonkey.org.uk> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 26, 2018 at 10:27:19AM -0400, Dave Jones wrote: > [ 1.176131] [drm:i9xx_get_initial_plane_config] pipe A/primary A with fb: size=800x600@32, offset=0, pitch 3200, size 0x1d4c00 > [ 1.176161] [drm:i915_gem_object_create_stolen_for_preallocated] creating preallocated stolen object: stolen_offset=0x0000000000000000, gtt_offset=0x0000000000000000, size=0x00000000001d5000 > [ 1.176312] [drm:intel_alloc_initial_plane_obj.isra.127] initial plane fb obj (ptrval) > [ 1.176351] [drm:intel_modeset_init] pipe A active planes 0x1 > [ 1.176456] [drm:drm_atomic_helper_check_plane_state] Plane must cover entire CRTC > [ 1.176481] [drm:drm_rect_debug_print] dst: 800x600+0+0 > [ 1.176494] [drm:drm_rect_debug_print] clip: 1366x768+0+0 OK, so that's the problem right there. The fb we took over from the BIOS was 800x600, but now we're trying to set up a 1366x768 mode. We seem to be missing checks to make sure the initial fb is actually big enough for the mode we're currently using :( -- Ville Syrj?l? Intel