diff options
author | Thierry Reding <treding@nvidia.com> | 2018-05-16 15:29:33 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-05-18 22:51:01 +0300 |
commit | ac330f45c7ca5b92e78b369c7034160947f03b8d (patch) | |
tree | cf630cc33bf9c5bcb5f833c917d5a05ce4e84769 /drivers/gpu/host1x/hw | |
parent | d4ad3ad9b81b73f568227563988b67708291900b (diff) | |
download | linux-ac330f45c7ca5b92e78b369c7034160947f03b8d.tar.xz |
gpu: host1x: Drop unnecessary host1x argument
Functions taking a pointer to a host1x syncpoint as an argument don't
need to specify a pointer to a host1x instance because it can be
obtained from the syncpoint.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/hw')
-rw-r--r-- | drivers/gpu/host1x/hw/channel_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/hw/channel_hw.c b/drivers/gpu/host1x/hw/channel_hw.c index 4c9555038a95..d188f9068b91 100644 --- a/drivers/gpu/host1x/hw/channel_hw.c +++ b/drivers/gpu/host1x/hw/channel_hw.c @@ -164,7 +164,7 @@ static int channel_submit(struct host1x_job *job) trace_host1x_channel_submitted(dev_name(ch->dev), prev_max, syncval); /* schedule a submit complete interrupt */ - err = host1x_intr_add_action(host, job->syncpt_id, syncval, + err = host1x_intr_add_action(host, sp, syncval, HOST1X_INTR_ACTION_SUBMIT_COMPLETE, ch, completed_waiter, NULL); completed_waiter = NULL; |