mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
platform: dce: Pass hsp-id to the hsp ss functions
This patch modifies HSP SS functions to use hsp-id a s input. This is a prework to support multiple instances of DCE HSP. Jira TDS-15438 Change-Id: Ie359032100fac593dc789fa2f3aefda6123dce7b Signed-off-by: Mahesh Kumar <mahkumar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3225856 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -504,7 +504,7 @@ static ssize_t dbg_dce_boot_status_fops_read(struct file *file,
|
||||
unsigned long bitmap;
|
||||
struct tegra_dce *d = file->private_data;
|
||||
u32 boot_status = d->boot_status;
|
||||
hsp_sema_t ss = dce_ss_get_state(d, DCE_BOOT_SEMA);
|
||||
hsp_sema_t ss = dce_ss_get_state(d, d->hsp_id, DCE_BOOT_SEMA);
|
||||
|
||||
if (ss & DCE_BOOT_COMPLETE)
|
||||
goto core_boot_done;
|
||||
@@ -682,7 +682,7 @@ static int dump_hsp_regs_show(struct seq_file *s, void *unused)
|
||||
* Dump Boot Semaphore Value
|
||||
*/
|
||||
dce_info(d, "DCE_BOOT_SEMA : 0x%x",
|
||||
dce_ss_get_state(d, DCE_BOOT_SEMA));
|
||||
dce_ss_get_state(d, d->hsp_id, DCE_BOOT_SEMA));
|
||||
|
||||
/**
|
||||
* Dump Shared Mailboxes Values
|
||||
|
||||
Reference in New Issue
Block a user