On Tue, Sep 03, 2019 at 10:46:18PM +0200, Thomas HellstrÃm (VMware) wrote:
What I mean with "from an engineering perspective" is that drivers would endAnd actually work on cases you previously called academic and which now
up with a non-trivial amount of code supporting purely academic cases:
Setups where software rendering would be faster than gpu accelerated, and
setups on platforms where the driver would never run anyway because the
device would never be supported on that platform...
matter to you because your employer has a suddent interest in SEV.
Academic really is in the eye of the beholder (and of those who pay
the bills).
That is not really true. The dma API can't handle faulting of coherent pagesAnd the only thing we need to support the fault handler is to add an
which is what this series is really all about supporting also with SEV
active. To handle the case where we move graphics buffers or send them to
swap space while user-space have them mapped.
offset to the dma_mmap_* APIs. Which I had planned to do for Christian
(one of the few grapics developers who actually tries to play well
with the rest of the kernel instead of piling hacks over hacks like
many others) anyway, but which hasn't happened yet.
Still, I need a way forward and my questions weren't really answered byThis is pretty demanding. If you "need" a way forward just work with
this.
all the relevant people instead of piling ob local hacks.