libva icon indicating copy to clipboard operation
libva copied to clipboard

drm: Add mapping of hantro kernel driver

Open ghost opened this issue 6 years ago • 13 comments

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]

ghost avatar Oct 09 '19 10:10 ghost

@kuhanh91 , please add the link of hantro kernel mode driver when it is ready.

XinfengZhang avatar Nov 26 '19 08:11 XinfengZhang

@XinfengZhang will add the link here once it is done. We are WIP on upstreaming to mainline-kernel.

ghost avatar Dec 10 '19 08:12 ghost

OT question: does hantro work well with VA-API?

okias avatar Feb 13 '20 13:02 okias

@kuhanh91 if the kernel mode driver already is ready? could we merge this patch now?

XinfengZhang avatar May 19 '20 11:05 XinfengZhang

Hi @XinfengZhang the KMD driver is still not ready for upstream to open souce mainline-tracking yet.

ghost avatar Jun 30 '20 09:06 ghost

@kuhanh from what I can tell, the Hantro driver is merged into the mainline kernel now. Is there anything I am missing?

CameronNemo avatar Oct 05 '20 02:10 CameronNemo

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.

dvrogozh avatar Oct 05 '20 17:10 dvrogozh

Yes that is the driver I am referring to.

CameronNemo avatar Oct 05 '20 17:10 CameronNemo

Gentle ping here. Is

Please, add the link to the commit message.

all that's needed for this to land?

rmader avatar Jul 06 '22 20:07 rmader

@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?

rmader avatar Jul 07 '22 14:07 rmader

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:

evelikov avatar Jul 08 '22 00:07 evelikov

Here it is https://github.com/intel/libva/pull/340

evelikov avatar Jul 08 '22 14:07 evelikov

Here it is #340

You mean https://github.com/intel/libva/pull/615 ?

Thanks!

rmader avatar Jul 08 '22 14:07 rmader

With https://github.com/intel/libva/pull/615 merged, we can close this.

@XinfengZhang can you do the honours?

evelikov avatar Sep 08 '22 14:09 evelikov