mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
drm/tegra: Enable job timestamping for NVJPG
NVJPG firmware now supports timestamping, so enable use of it. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Change-Id: I5a21f51e29ac19a95d36bb435dc884a440095ac2 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3070327 Reviewed-by: Satvik Raj Gupta <satvikrajg@nvidia.com> Tested-by: Satvik Raj Gupta <satvikrajg@nvidia.com>
This commit is contained in:
committed by
Satvik Raj Gupta
parent
01ab1b46c3
commit
6025535763
@@ -122,17 +122,7 @@ static int virt_engine_can_use_memory_ctx(struct tegra_drm_client *client, bool
|
||||
|
||||
static int virt_engine_has_job_timestamping(struct tegra_drm_client *client, bool *supported)
|
||||
{
|
||||
struct virt_engine *virt = to_virt_engine(client);
|
||||
|
||||
switch (virt->client.base.class) {
|
||||
case HOST1X_CLASS_NVJPG:
|
||||
case HOST1X_CLASS_NVJPG1:
|
||||
*supported = false;
|
||||
break;
|
||||
default:
|
||||
*supported = true;
|
||||
break;
|
||||
}
|
||||
*supported = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user