From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhenyu Wang Subject: Re: [PATCH v2 3/3] drm/i915: Track OACONTROL register enable/disable during parsing Date: Thu, 10 Apr 2014 14:07:21 +0800 Message-ID: <20140410060721.GK15788@zhen-hp.sh.intel.com> References: <1395945820-20376-4-git-send-email-bradley.d.volkin@intel.com> <1396027310-16951-1-git-send-email-bradley.d.volkin@intel.com> Reply-To: Zhenyu Wang Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1419255743==" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id F30166EB4B for ; Wed, 9 Apr 2014 23:07:28 -0700 (PDT) In-Reply-To: <1396027310-16951-1-git-send-email-bradley.d.volkin@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: bradley.d.volkin@intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1419255743== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2k0lXb7fQrut5C7L" Content-Disposition: inline --2k0lXb7fQrut5C7L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2014.03.28 10:21:50 -0700, bradley.d.volkin@intel.com wrote: > From: Brad Volkin >=20 > There is some thought that the data from the performance counters enabled > via OACONTROL should only be available to the process that enabled counti= ng. > To limit snooping, require that any batch buffer which sets OACONTROL to a > non-zero value also sets it back to 0 before the end of the batch. >=20 I think this might be too strict although there's good point in this. But it makes almost impossible to insert mi report count command to probe GPU statistics from kind of third-party tool or lib. Could we have a i915.enable_cmd_parser config that can disable this? --=20 Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 --2k0lXb7fQrut5C7L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlNGNRkACgkQsQQaM014GCd3PQCgl0ShG3MaXDwzDlrkZptYjQ/g 7nYAniKHgdpBBYeLqxbG3fLnOa70Yd7C =ytZ3 -----END PGP SIGNATURE----- --2k0lXb7fQrut5C7L-- --===============1419255743== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1419255743==--