diff options
| author | 2021-03-29 16:38:32 +0300 | |
|---|---|---|
| committer | 2021-03-31 17:42:13 +0200 | |
| commit | 2aed4f5ab04af922a7cf1b616701845c9ed2473f (patch) | |
| tree | 52faa19a3f489235b47da047178c739e91fb3308 /drivers/gpu/host1x/hw/debug_hw.c | |
| parent | gpu: host1x: Use HW-equivalent syncpoint expiration check (diff) | |
| download | wireguard-linux-2aed4f5ab04af922a7cf1b616701845c9ed2473f.tar.xz wireguard-linux-2aed4f5ab04af922a7cf1b616701845c9ed2473f.zip | |
gpu: host1x: Cleanup and refcounting for syncpoints
Add reference counting for allocated syncpoints to allow keeping
them allocated while jobs are referencing them. Additionally,
clean up various places using syncpoint IDs to use host1x_syncpt
pointers instead.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/hw/debug_hw.c')
| -rw-r--r-- | drivers/gpu/host1x/hw/debug_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/hw/debug_hw.c b/drivers/gpu/host1x/hw/debug_hw.c index f31bcfa1b837..ceb48229d14b 100644 --- a/drivers/gpu/host1x/hw/debug_hw.c +++ b/drivers/gpu/host1x/hw/debug_hw.c @@ -204,7 +204,7 @@ static void show_channel_gathers(struct output *o, struct host1x_cdma *cdma) unsigned int i; host1x_debug_output(o, "\n%p: JOB, syncpt_id=%d, syncpt_val=%d, first_get=%08x, timeout=%d num_slots=%d, num_handles=%d\n", - job, job->syncpt_id, job->syncpt_end, + job, job->syncpt->id, job->syncpt_end, job->first_get, job->timeout, job->num_slots, job->num_unpins); |
