Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp428168ybl; Wed, 11 Dec 2019 02:02:32 -0800 (PST) X-Google-Smtp-Source: APXvYqyr3KQle76fce0Yz8KkE4liPegBsAXJvXW5EO2KkCB6jaKsBvWyTrXKUPXFpwOVl3BnPELr X-Received: by 2002:a54:400a:: with SMTP id x10mr2151305oie.67.1576058552771; Wed, 11 Dec 2019 02:02:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576058552; cv=none; d=google.com; s=arc-20160816; b=liguRrGHPMdIuJndy4q0iCsm4j7AeKA+TqnVxzSc3MfdccT8nrGj6lCM77i5qoamqY pFRNw3rQPFSb8yXyMMFShn7oWLpeYwMUNgD/9vffglWaDqrcdFJjaJkYRSZZ4WJG7O2U 0pWBLAT35+7mb/efl1OgN7nuKub5EqO9Es9ZPMIxgtbBSoGVX0szv9RKX7LUhAzteosw CCnA2ZGts4JtOF/NUIuhbyQNg56nDNsaUJLA396v46kWKgv7QVmewSm7IKbZjwM3KZ/3 mcLqvBGG3hIqdobVILUCxxT57jVBwbD+pxMhU8ByGV64PZqywv2RfgTu0B3NY7BpVCHz Cybw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:references:cc:to:from:subject; bh=oE3HBrsvmrmub2dH/zrSJxh6LoWAqIZod2rSyPow4XI=; b=EIdxMYyUUD3Z7qPZEoqdolnJ06+entDgnFx6gG1V5uOsqxMFvEzP8/YJ+qDRCxiFKn 9HiEqbLZW0ZUQkdRS4Qcuf2J+rJhsPqXVSqEGgmXXsLIotxZopjF9gt9aIgk2Qm0WkOq 3PEjNQuHsRO631fpXDXnlFjrARGSzOMrIj9vjUg4yctM/0rufp5JNBpWgQgnuo6sXHUm gWZW3GpfBqewOLlo95Qzu2D46KHgKDfjIXGKlRGNRDHm78YebG2qfwfjZkfNVVqoQz/C AhrQ35IBaZv2bAOF3xN+iFMOPvH5s7l0KLZAxzmQhsVF8j7UFJ+cllHsukEJMSyUZbEi IbYQ== 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 w4si797423otj.148.2019.12.11.02.02.15; Wed, 11 Dec 2019 02:02:32 -0800 (PST) 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 S1728795AbfLKKBK (ORCPT + 99 others); Wed, 11 Dec 2019 05:01:10 -0500 Received: from mx2.suse.de ([195.135.220.15]:59890 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727493AbfLKKBJ (ORCPT ); Wed, 11 Dec 2019 05:01:09 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CE06DAF8E; Wed, 11 Dec 2019 10:01:06 +0000 (UTC) Subject: Re: [PATCH v2 1/2] drm/shmem: add support for per object caching attributes From: Thomas Zimmermann To: Gerd Hoffmann , dri-devel@lists.freedesktop.org Cc: David Airlie , open list , gurchetansingh@chromium.org References: <20191211081810.20079-1-kraxel@redhat.com> <20191211081810.20079-2-kraxel@redhat.com> <0b64e917-48f7-487e-9335-2838b6c62808@suse.de> Autocrypt: addr=tzimmermann@suse.de; keydata= mQENBFs50uABCADEHPidWt974CaxBVbrIBwqcq/WURinJ3+2WlIrKWspiP83vfZKaXhFYsdg XH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8lvhFXodNFMAgTLJlLuDYOGLK2AwbrS3Sp0AEbkpdJBb44qVlGm5bApZouHeJ/+n+7r 12+lqdsAEQEAAYkBPAQYAQgAJhYhBHIX+6yM6c9jRKFo5WgNwR1TC3ojBQJbOdLgAhsMBQkD wmcAAAoJEGgNwR1TC3ojpfcIAInwP5OlcEKokTnHCiDTz4Ony4GnHRP2fXATQZCKxmu4AJY2 h9ifw9Nf2TjCZ6AMvC3thAN0rFDj55N9l4s1CpaDo4J+0fkrHuyNacnT206CeJV1E7NYntxU n+LSiRrOdywn6erjxRi9EYTVLCHcDhBEjKmFZfg4AM4GZMWX1lg0+eHbd5oL1as28WvvI/uI aMyV8RbyXot1r/8QLlWldU3NrTF5p7TMU2y3ZH2mf5suSKHAMtbE4jKJ8ZHFOo3GhLgjVrBW HE9JXO08xKkgD+w6v83+nomsEuf6C6LYrqY/tsZvyEX6zN8CtirPdPWu/VXNRYAl/lat7lSI 3H26qrE= Message-ID: <77b82ecf-bfd1-1dfb-ca1a-cf8dae1b5deb@suse.de> Date: Wed, 11 Dec 2019 11:01:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <0b64e917-48f7-487e-9335-2838b6c62808@suse.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JJ3JmH9o1DcOmK2xZgi5C5vjlGa8ULoEy" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JJ3JmH9o1DcOmK2xZgi5C5vjlGa8ULoEy Content-Type: multipart/mixed; boundary="HlRRFSMcrsKnrH6IT3nxLz0kGSXzdE3sg"; protected-headers="v1" From: Thomas Zimmermann To: Gerd Hoffmann , dri-devel@lists.freedesktop.org Cc: David Airlie , open list , gurchetansingh@chromium.org Message-ID: <77b82ecf-bfd1-1dfb-ca1a-cf8dae1b5deb@suse.de> Subject: Re: [PATCH v2 1/2] drm/shmem: add support for per object caching attributes References: <20191211081810.20079-1-kraxel@redhat.com> <20191211081810.20079-2-kraxel@redhat.com> <0b64e917-48f7-487e-9335-2838b6c62808@suse.de> In-Reply-To: <0b64e917-48f7-487e-9335-2838b6c62808@suse.de> --HlRRFSMcrsKnrH6IT3nxLz0kGSXzdE3sg Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 11.12.19 um 10:58 schrieb Thomas Zimmermann: >=20 > What do you think about turning this function into a callback in struct= > shmem_funcs? The default implementation would be for WC, virtio would s/shmem_funcs/drm_gem_object_funcs > use CACHED. The individual implementations could still be located in th= e > shmem code. Udl would later provide its own code. >=20 > Best regards > Thomas >=20 >> >=20 --=20 Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany (HRB 36809, AG N=C3=BCrnberg) Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer --HlRRFSMcrsKnrH6IT3nxLz0kGSXzdE3sg-- --JJ3JmH9o1DcOmK2xZgi5C5vjlGa8ULoEy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEchf7rIzpz2NEoWjlaA3BHVMLeiMFAl3wvmIACgkQaA3BHVML eiOx0QgAtHn29yBEIOe7qfSKynbI9A4saRweWU2mIopOGwKVsfmvrpDDQUhQjlZP mwvu7CM/9w2OIyDuP1SwEV3teOSb5D4g9y29u/MP4GeoloaMDl/qhOa2ioByEfkN 0jZy/dixsnS+e/L0LLGOlMCIMiEc8vJu2y/06V4mVAXY0vuKJh4RhjC47iy2wQ7k eyDokQC+/I2bUuYR+kwnAUk5R6qg55U/QW9itufrY3xJ3eqqxnRSBHWQsxU8/IxF dEwEZS7sCiz9EBbJ9f1+PsYJGI2TdpIJuXoCoBQt1TKv+pgY2miC0vL6yvLQ9tel PdZoc/lD/lqZynz8hsdUuO724b349Q== =TLIu -----END PGP SIGNATURE----- --JJ3JmH9o1DcOmK2xZgi5C5vjlGa8ULoEy--