[PATCH 1/2] intel: Add accessor to get HW context ID from a drm_intel_context
Eric Anholt
eric at anholt.net
Mon Nov 11 11:58:59 PST 2013
Ian Romanick <idr at freedesktop.org> writes:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> 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 <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131111/58ba2c89/attachment.pgp>
More information about the dri-devel
mailing list