Re: [PATCH 1/2] intel: Add accessor to get HW context ID from a drm_intel_context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ian Romanick <idr@xxxxxxxxxxxxxxx> writes:

> From: Ian Romanick <ian.d.romanick@xxxxxxxxx>
>
> 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@xxxxxxxxxx>

Attachment: pgp3hUJgqkvqp.pgp
Description: PGP signature

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux