[PATCH 17/33] drm/omap: remove support for ext mem & sync
Tomi Valkeinen
tomi.valkeinen at ti.com
Wed Feb 24 09:38:57 UTC 2016
On 24/02/16 00:42, Laurent Pinchart wrote:
>> -void omap_gem_op_update(void)
>
> The function is still referenced from a comment above omap_gem_op_async().
Right. I changed the comment to refer to omap_gem_op_finish().
>> -int omap_gem_set_sync_object(struct drm_gem_object *obj, void *syncobj)
>
> And this one from a comment in the omap_gem_object() structure.
Yep. I think almost all of the comment can be just removed, as SGX no
longer uses this:
@@ -105,17 +105,7 @@ struct omap_gem_object {
* sync-object allocated on demand (if needed)
*
* Per-buffer sync-object for tracking pending and completed hw/dma
- * read and write operations. The layout in memory is dictated by
- * the SGX firmware, which uses this information to stall the command
- * stream if a surface is not ready yet.
- *
- * Note that when buffer is used by SGX, the sync-object needs to be
- * allocated from a special heap of sync-objects. This way many sync
- * objects can be packed in a page, and not waste GPU virtual address
- * space. Because of this we have to have a omap_gem_set_sync_object()
- * API to allow replacement of the syncobj after it has (potentially)
- * already been allocated. A bit ugly but I haven't thought of a
- * better alternative.
+ * read and write operations.
*/
struct {
uint32_t write_pending;
Tomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160224/6b4c18bd/attachment.sig>
More information about the dri-devel
mailing list