[lkml]   [2018]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [virtio-dev] [PATCH 2/2] drm/virtio: add iommu support.

> I attempted to fix it in the ttm layer and here is the discussion
> The ttm maintainer Christian is suggesting to map and set ttm->pages as decrypted
> right after ttm->pages are allocated.
> Just checking with you guys maybe there is a better way to handle this in
> the virtio gpu layer instead of the common ttm layer. Could you guys shine some
> light on this? Thanks.

I think the tty layer is the right place to fix this. virtio just calls
down to ttm for mappings. I think virtio should just hint to ttm using
a flag in some struct, probably ttm_buffer_object or
ttm_mem_type_manager, that the objects need decrypted mappings.


 \ /
  Last update: 2018-09-12 09:26    [W:0.108 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site