From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH 1/2] intel: Add accessor to get HW context ID from a drm_intel_context Date: Mon, 11 Nov 2013 11:58:59 -0800 Message-ID: <87txfig16k.fsf@eliezer.anholt.net> References: <1384192107-14314-1-git-send-email-idr@freedesktop.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1491022387==" Return-path: In-Reply-To: <1384192107-14314-1-git-send-email-idr@freedesktop.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Ian Romanick , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: Ben Widawsky , Ian Romanick List-Id: intel-gfx@lists.freedesktop.org --===============1491022387== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Ian Romanick writes: > From: Ian Romanick > > The drm_intel_context structure is, wisely, opaque. However, libdrm > users may want to know the hardware context ID associated with the > structure. We've had a bunch of our other structures be partially transparent. The context id to be passed to the kernel could easily be public just like the gem handle in a BO is public. I would lean slightly toward that. But I don't feel strongly either way, so these two are: Reviewed-by: Eric Anholt --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBCAAGBQJSgTcDAAoJELXWKTbR/J7oXNsP/0iyCdU+624e1qFZPVEWCf6E LQtgQOnMn9PqDPOGyjcGhP4YidN+tVT53dM3lzmwSgPR0SqCIMyWFLS56I/QmcXK VycLxxemOYBuOXv+QXgyJ8Y2Q7sxkZOHrDMiW5+nwfYtpRn7OG3PS2v9iGIzBHtJ fUp1ogYpS8SA2AvuyczWZkLNYThXw8Q0+8akPL5K4ExEEQj9Dl/vfmqm+zbwxxRh qpQga5V+qkx/IQt3VypclFF9H9wvbJZK92ZCZbdavW3xBg7A8aDA1qkxoqN9dyhY UDAIdEi5vctwPRBr863Jqj3Hu3ckQgv+TrA6YAnRWY6ADN8V73WzzkYYeSOmsXDE 2bGoMggTLBSrHvENYbclswOkVgNjmbJkfqzl52YFlDDmnA7KGzWwNrEg/HLhLB2U 9hznJRmZnP2WGe87hZjED69vgMdiNzS+cD8BKj53Wff4XtMZgRuGF1ggmQoVFZFo oPQzB0jf/siIFSj8Kl5E6wn2pSZVqIkFCtlq1ZrkV2TsxSGwWjPxAH5Cj8rWyFg4 vUJX1YBB+4waimagzuOxD18naeeBdVqJkIUuMtvL3hQ9PbXwRzEJwlXp5RbPecI5 z19aQDMXSj4KEIwSdIB8+gmFLEMXzoT1c4YYhv9TI98aQp2HzpDo/Fim//D94YSX rNfnWg71lxLe78+MzDpZ =0HwF -----END PGP SIGNATURE----- --=-=-=-- --===============1491022387== 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 --===============1491022387==--