From patchwork Fri Sep 16 17:36:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 12978747 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DFF48ECAAD8 for ; Fri, 16 Sep 2022 17:36:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 20E4F10E4F2; Fri, 16 Sep 2022 17:36:38 +0000 (UTC) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0530610E4EA; Fri, 16 Sep 2022 17:36:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663349791; x=1694885791; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BKCGNuAakjS1dJvNqfSqeh+DgjmU5iGuMK+7AZif4FA=; b=GmB7MZ/9gzPeJ1RCkKa4dM3PA9z+U3O6mvXa/7NpuJDPin8nRx7At/AS imref4yQepafOQIH74XdnZ9RCmb62wmnkF6Z+/juQwbzu4L3klUg0Oq7g VHMfMVaODwln48KN1uj5iT5chihAVpmxhWBOE9ALLMugP0NcCm+GioG5h ove7pWKQYJINTKPqnQDchJ3oRFWTM25dlRZh1t14YtqdJGQnptNRW8Mj+ VckGlF9cTRY51npnJWE3sjyixf1pdlN+9w5qgycOuzfOAYd6uv1tS9Gzr f+45W6Yzdgd3JyO3l+aHT8bbpEs5jISrcDYANJBJbdYM2c/diYkX4OT8G Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10472"; a="278769856" X-IronPort-AV: E=Sophos;i="5.93,320,1654585200"; d="scan'208";a="278769856" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2022 10:36:30 -0700 X-IronPort-AV: E=Sophos;i="5.93,320,1654585200"; d="scan'208";a="721499658" Received: from lucas-s2600cw.jf.intel.com ([10.165.21.143]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2022 10:36:30 -0700 From: Lucas De Marchi To: intel-gfx@lists.freedesktop.org, Lucas De Marchi , Caz Yokoyama , Aravind Iddamsetty Date: Fri, 16 Sep 2022 10:36:05 -0700 Message-Id: <20220915-stolen-v2-0-20ff797de047@intel.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Mailer: b4 0.10.0-dev-bbe61 Subject: [Intel-gfx] [PATCH v2 0/3] drm/i915: Improvements to stolen memory setup X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tejas.upadhyay@intel.com, dri-devel@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Better split, document, and make the code paths for integrated and discrete more similar. v2: - s/GENMASK/REG_GENMASK64/ where appropriate - Fix comment Signed-off-by: Lucas De Marchi --- Lucas De Marchi (3): drm/i915: Add missing mask when reading GEN12_DSMBASE drm/i915: Split i915_gem_init_stolen() drm/i915/dgfx: Make failure to setup stolen non-fatal drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 188 +++++++++++++++++------------ drivers/gpu/drm/i915/i915_reg.h | 1 + 2 files changed, 109 insertions(+), 80 deletions(-) --- base-commit: 13d68eac4fd3384eeb113e183c4abe2e3afdf76c change-id: 20220915-stolen-7aa0e407368f Best regards,