The NetBSD Project

CVS log for src/sys/external/bsd/drm2/linux/linux_dma_fence.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / external / bsd / drm2 / linux

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.42 / (download) - annotate - [select for diffs], Thu Sep 1 09:37:06 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.41: +15 -11 lines
Diff to previous 1.41 (colored) to selected 1.30 (colored)

drm: Fix dma fence stub fix so the lock is actually initialized.

Tested but forgot to amend change before exporting to CVS again.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Sep 1 01:54:38 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.40: +50 -28 lines
Diff to previous 1.40 (colored) to selected 1.30 (colored)

drm: Fix dma fence stub so it works with locking operations.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Apr 9 23:44:44 2022 UTC (2 years ago) by riastradh
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) to selected 1.30 (colored)

drm: Convert membar_enter/exit stragglers to membar_acquire/release.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Dec 19 12:39:40 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.38: +9 -16 lines
Diff to previous 1.38 (colored) to selected 1.30 (colored)

drm: Use atomic_load_consume/relaxed to simplify code.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Dec 19 12:39:25 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.37: +47 -10 lines
Diff to previous 1.37 (colored) to selected 1.30 (colored)

drm: Support 64-bit fence context and sequence numbers.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Dec 19 12:38:33 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.36: +3 -7 lines
Diff to previous 1.36 (colored) to selected 1.30 (colored)

drm: Make sure dma_fence_wait gets traced too.  Deduplicate.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Dec 19 12:38:15 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.35: +74 -10 lines
Diff to previous 1.35 (colored) to selected 1.30 (colored)

drm: Add dtrace probes to fences.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 19 12:38:06 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.34: +9 -11 lines
Diff to previous 1.34 (colored) to selected 1.30 (colored)

drm: Fix signalling return value if no enable_signaling op.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Dec 19 12:35:21 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.33: +8 -5 lines
Diff to previous 1.33 (colored) to selected 1.30 (colored)

drm: Use atomic_load_relaxed for fence->flags when not locked.

Shouldn't make a semantic difference on any machines we run on, but
will make sanitizers happier and emphasize to readers that the result
may not be reliable at these points.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Dec 19 12:34:58 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.32: +4 -2 lines
Diff to previous 1.32 (colored) to selected 1.30 (colored)

drm: Assert dma_fence_wait internal return value.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 19 12:34:16 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.31: +86 -58 lines
Diff to previous 1.31 (colored) to selected 1.30 (colored)

drm: Rework timeout return code logic.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Dec 19 12:34:05 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.30: +50 -36 lines
Diff to previous 1.30 (colored)

drm: Rework dma_fence_wait_any_timeout.

- Yield the first index, not the most recently signalled one.
- Check again after last wakeup.
- Make sure to return positive for nontimeout.
- Handle ip=null.

Revision 1.30 / (download) - annotate - [selected], Sun Dec 19 12:31:11 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.29: +14 -2 lines
Diff to previous 1.29 (colored)

drm: Set fence->ops for stub fences too.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 19 12:30:56 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.28: +5 -2 lines
Diff to previous 1.28 (colored) to selected 1.30 (colored)

drm: set f_magic in the stub fence.


Author: phone <mrg@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 19 12:23:34 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored) to selected 1.30 (colored)

drm: In dma_fence_wait_timeout, allow MAX_SCHEDULE_TIMEOUT.

In the Linux API, this means wait forever.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Dec 19 12:23:27 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) to selected 1.30 (colored)

drm: Print bad timeout in dma_fence_wait_timeout kasserts.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Dec 19 12:13:45 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.25: +10 -7 lines
Diff to previous 1.25 (colored) to selected 1.30 (colored)

drm: dma_fence_get allows fence to be null; fix assertion.

While here, update comments about semantics for dma_fence_get and
dma_fence_get_rcu (which does not allow null fence).

Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 19 12:11:05 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.24: +13 -4 lines
Diff to previous 1.24 (colored) to selected 1.30 (colored)

drm: Set fence timestamps -- i915 uses them.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 19 12:10:51 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.23: +41 -3 lines
Diff to previous 1.23 (colored) to selected 1.30 (colored)

drm: Sprinkle assertions about fence lifetime.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Dec 19 12:09:51 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored) to selected 1.30 (colored)

drm: Add a kassert for fence destruction.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Dec 19 12:09:27 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.21: +4 -3 lines
Diff to previous 1.21 (colored) to selected 1.30 (colored)

drm: Skip enabling signalling for fence if already signalled.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 19 12:09:19 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.20: +8 -3 lines
Diff to previous 1.20 (colored) to selected 1.30 (colored)

drm: Ensure the fence callback is initialized on failure.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 19 12:07:38 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.19: +17 -13 lines
Diff to previous 1.19 (colored) to selected 1.30 (colored)

drm: Rework enable-signal logic to match Linux.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 19 12:02:40 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.18: +6 -4 lines
Diff to previous 1.18 (colored) to selected 1.30 (colored)

amdgpu_fb.c
amdgpu_fence.c
amdgpu_gart.c
amdgpu_fixpt31_32.c
amdgpu_fiji_smumgr.c
amdgpu_gem.c
amdgpu_gfx_v10_0.c
amdgpu_gfx_v6_0.c through amdgpu_gfx_v9_0.c
amdgpu_gmc.c
amdgpu_gmc_v6_0.c through amdgpu_gmc_v10_0.c
amdgpu_gtt_mgr.c
some amdgpu_h* files
some amdgpu_i* files
some amdgpu_j* files
amdgpu_kms.c
some amdgpu_m* and amdgpu_n* files

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 19 12:00:48 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.17: +30 -2 lines
Diff to previous 1.17 (colored) to selected 1.30 (colored)

i915: Defer destroying request lock and fence until page destruction.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Dec 19 11:20:56 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.16: +5 -3 lines
Diff to previous 1.16 (colored) to selected 1.30 (colored)

Add missing unlock at exit


Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 19 11:20:49 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.15: +17 -12 lines
Diff to previous 1.15 (colored) to selected 1.30 (colored)

drm/dma-fence: Fix zero timeout semantics in dma_fence_default_wait.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 19 11:09:17 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.14: +8 -3 lines
Diff to previous 1.14 (colored) to selected 1.30 (colored)

linux dma-fence: Fix up more callback uses.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 19 11:09:09 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.13: +6 -3 lines
Diff to previous 1.13 (colored) to selected 1.30 (colored)

linux dma-fence: Use dma_fence_default_wait if .wait is null.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 19 11:04:50 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) to selected 1.30 (colored)

Fix typo.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 19 11:03:57 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.11: +46 -2 lines
Diff to previous 1.11 (colored) to selected 1.30 (colored)

Move grody i915 dma-fence hacks into dma-fence proper.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 19 10:58:04 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.10: +17 -6 lines
Diff to previous 1.10 (colored) to selected 1.30 (colored)

Teach dma_fence_any_wait_timeout to return index of signalled fence.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 19 10:50:03 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.9: +28 -2 lines
Diff to previous 1.9 (colored) to selected 1.30 (colored)

dma_fence_get_status

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 19 10:38:46 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.8: +24 -2 lines
Diff to previous 1.8 (colored) to selected 1.30 (colored)

First approximation of dma_fence_get_stub.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 19 01:50:40 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored) to selected 1.30 (colored)

Issue __insn_barrier in dma_fence_get_rcu.

This way it is safe to use as dma_fence_get_rcu(*p) when concurrent
writes to *p might be happening, so that we load *p only once before
using the value.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 19 01:48:22 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.30 (colored)

Allow const volatile fence pointer pointers in dma_fence_get_rcu_safe.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 19 01:40:48 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.30 (colored)

We spell it ELAST.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 19 01:25:13 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.4: +19 -2 lines
Diff to previous 1.4 (colored) to selected 1.30 (colored)

dma_fence_set_error

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 19 01:16:05 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.30 (colored)

Linux wants to violate abstractions, so fine, let them.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 19 01:15:28 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.2: +48 -2 lines
Diff to previous 1.2 (colored) to selected 1.30 (colored)

Add dma_fence_get_rcu_safe.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 19 00:27:17 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.1: +120 -116 lines
Diff to previous 1.1 (colored) to selected 1.30 (colored)

Rename fence -> dma_fence, step 3 of 3: code.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 19 00:27:01 2021 UTC (2 years, 4 months ago) by riastradh
Branch: MAIN
Diff to selected 1.30 (colored)

Rename fence -> dma_fence, step 1: files.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>