mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: add syncpt_get_name() posix stub
Add stub for nvgpu_nvhost_syncpt_get_name() stub in posix. JIRA NVGPU-5363 Change-Id: I3a1826e47685d54bda63cf04aa327adcb3da422e Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2369658 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
02bc54c6ef
commit
8ec1ec4f69
@@ -58,6 +58,9 @@ u32 nvgpu_nvhost_get_syncpt_client_managed(
|
|||||||
struct nvgpu_nvhost_dev *nvhost_dev,
|
struct nvgpu_nvhost_dev *nvhost_dev,
|
||||||
const char *syncpt_name);
|
const char *syncpt_name);
|
||||||
|
|
||||||
|
const char *nvgpu_nvhost_syncpt_get_name(
|
||||||
|
struct nvgpu_nvhost_dev *nvgpu_syncpt_dev, int id);
|
||||||
|
|
||||||
void nvgpu_nvhost_syncpt_set_safe_state(
|
void nvgpu_nvhost_syncpt_set_safe_state(
|
||||||
struct nvgpu_nvhost_dev *nvhost_dev, u32 id);
|
struct nvgpu_nvhost_dev *nvhost_dev, u32 id);
|
||||||
|
|
||||||
|
|||||||
@@ -96,6 +96,12 @@ int nvgpu_nvhost_get_syncpt_aperture(
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *nvgpu_nvhost_syncpt_get_name(
|
||||||
|
struct nvgpu_nvhost_dev *nvgpu_syncpt_dev, int id)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
u32 nvgpu_nvhost_syncpt_unit_interface_get_byte_offset(u32 syncpt_id)
|
u32 nvgpu_nvhost_syncpt_unit_interface_get_byte_offset(u32 syncpt_id)
|
||||||
{
|
{
|
||||||
return nvgpu_safe_mult_u32(syncpt_id, 0x1000U);
|
return nvgpu_safe_mult_u32(syncpt_id, 0x1000U);
|
||||||
|
|||||||
Reference in New Issue
Block a user