mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
drm/tegra: Update to UAPI v5
Update the tegra-drm driver to the 'Host1x/Tegra UAPI v5' series [0]. This fixes a few minor bugs found in the previous series. [0] https://patchwork.ozlabs.org/project/linux-tegra/list/?series=223684 Bug 200687525 Change-Id: I270016756b6b689c1fada208896cee81223e7042 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2469984 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Laxman Dewangan
parent
d088bfa37d
commit
d3ea27d381
@@ -215,9 +215,10 @@ int tegra_drm_ioctl_channel_map(struct drm_device *drm, void *data,
|
||||
|
||||
/* TODO only map the requested part */
|
||||
mapping->iova = sg_dma_address(mapping->sgt->sgl);
|
||||
mapping->iova_end = mapping->iova + gem->size;
|
||||
}
|
||||
|
||||
mapping->iova_end = mapping->iova + gem->size;
|
||||
|
||||
mutex_unlock(&fpriv->lock);
|
||||
|
||||
err = xa_alloc(&ctx->mappings, &mapping_id, mapping,
|
||||
|
||||
Reference in New Issue
Block a user