From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57355C63777 for ; Mon, 30 Nov 2020 17:17:25 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D4AF42076E for ; Mon, 30 Nov 2020 17:17:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4AF42076E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1D3F26E5C6; Mon, 30 Nov 2020 17:17:24 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id C5F8A6E5C6; Mon, 30 Nov 2020 17:17:22 +0000 (UTC) IronPort-SDR: 2eaUpbIFrh4FDT3Pal7BGC10TOnJO6a+rqPHx9LlN2hRhDNlG6v0M6k+ZawAXWl2m17evDRH71 yFELI4ueWqWQ== X-IronPort-AV: E=McAfee;i="6000,8403,9821"; a="152505818" X-IronPort-AV: E=Sophos;i="5.78,382,1599548400"; d="scan'208";a="152505818" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2020 09:17:21 -0800 IronPort-SDR: 94v0um+5DRBaFXUti1AWuNxEB+cAO2dLMI73c4xMW501IrrP8Ra9nNVxvOdKixkFNKi3bT2xVR kN05sLUqEzkg== X-IronPort-AV: E=Sophos;i="5.78,382,1599548400"; d="scan'208";a="538672532" Received: from ekiperwa-mobl.ger.corp.intel.com (HELO [10.252.22.113]) ([10.252.22.113]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2020 09:17:20 -0800 Subject: Re: [Intel-gfx] [RFC PATCH 124/162] drm/i915/lmem: allocate HWSP in lmem To: Chris Wilson , intel-gfx@lists.freedesktop.org References: <20201127120718.454037-1-matthew.auld@intel.com> <20201127120718.454037-125-matthew.auld@intel.com> <160648535829.2925.3905288434672946602@build.alporthouse.com> From: Matthew Auld Message-ID: <9ccd22f4-875b-7ac8-253c-06aab009b3e4@intel.com> Date: Mon, 30 Nov 2020 17:17:16 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <160648535829.2925.3905288434672946602@build.alporthouse.com> Content-Language: en-GB X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Abdiel Janulgue , Michel Thierry , dri-devel@lists.freedesktop.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 27/11/2020 13:55, Chris Wilson wrote: > Quoting Matthew Auld (2020-11-27 12:06:40) >> From: Michel Thierry > > Rationale goes here. > > Is this wise? HWSP is very frequently read by the CPU, and expected to > be cached on the CPU. > > What do the performance profiles indicate? Do you have a recommendation for an existing selftest or IGT to help measure this? Also are you suggesting moving this to system memory, or just using a different mapping type, if it's placed in local memory? Or maybe try both? Although I'm pretty sceptical about !wc for local memory. > -Chris > _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel