drm: Add mapping of hantro kernel driver
This patch allows hantro kernel driver to be recognized by va_getDriverName and for vaInitialize to select the correct VA-API driver for hantro.
Signed-off-by: Murugasen Krishnan, Kuhanh [email protected]
@kuhanh91 , please add the link of hantro kernel mode driver when it is ready.
@XinfengZhang will add the link here once it is done. We are WIP on upstreaming to mainline-kernel.
OT question: does hantro work well with VA-API?
@kuhanh91 if the kernel mode driver already is ready? could we merge this patch now?
Hi @XinfengZhang the KMD driver is still not ready for upstream to open souce mainline-tracking yet.
@kuhanh from what I can tell, the Hantro driver is merged into the mainline kernel now. Is there anything I am missing?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/media/hantro
Are you talking about this hantro driver? Please, add the link to the commit message.
Yes that is the driver I am referring to.
Gentle ping here. Is
Please, add the link to the commit message.
all that's needed for this to land?
@XinfengZhang: given that the author is not active any more and the MR needs manual rebase, should I reopen a new MR? Or can you, as a maintainer, apply the needed changes to the commit?
Instead of growing the mapping with "foo", "foo" pairs, one can fall-back to the DRM module name. This way the table does not have to be updates as often.
Got a patch locally and will open a PR tomorrow. Hello @rmader wasn't expecting you see you here :wave:
Here it is https://github.com/intel/libva/pull/340
Here it is #340
You mean https://github.com/intel/libva/pull/615 ?
Thanks!
With https://github.com/intel/libva/pull/615 merged, we can close this.
@XinfengZhang can you do the honours?