[SNIP]
I'm mostly a reader of the thread here, but I'd like to avoid basic mistakes.The reason I ask is that encryption here looks just like anotherWhy can't you get this information from userspace?Same reason amd and i915/xe also pass this around internally in the
kernel, it's just that for those gpus the render and kms node are the
same
driver so this is easy.
parameter for the buffer, e.g. like format, stride, tilling etc..
The buffer in question are "protected", meaning that the CPU HW does not have
access to the underlying pages (or zone in the case of Meditatek).
This is different from encrypted buffers, which don't need this level of
protection, as without the security key to decrypt them, their content is close
to random data.