The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15.4.1 / (download) - annotate - [select for diffs], Fri Feb 24 14:14:16 2023 UTC (13 months ago) by martin
Branch: netbsd-10
CVS Tags: 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
Changes since 1.15: +56 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.4.2.2 (colored)

Pull up following revision(s) (requested by riastradh in ticket #108):

	sys/external/bsd/drm2/linux/linux_dma_buf.c: revision 1.16

drm: Teach dmabuf to handle lseek.

Needed by libdrm_amdgpu.

Based on patch from Jeff Frasca -- thanks!

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 21 11:40:13 2023 UTC (13 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.15: +56 -2 lines
Diff to previous 1.15 (colored) to selected 1.4.2.2 (colored)

drm: Teach dmabuf to handle lseek.

Needed by libdrm_amdgpu.

Based on patch from Jeff Frasca -- thanks!

XXX pullup-10

Revision 1.15 / (download) - annotate - [select for diffs], Sat Apr 9 23:44:44 2022 UTC (23 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) to selected 1.4.2.2 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 17 01:38:38 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored) to selected 1.4.2.2 (colored)

drm: Fix membars around dma_buf_put reference count release.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 19 12:01:40 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.12: +28 -5 lines
Diff to previous 1.12 (colored) to selected 1.4.2.2 (colored)

amdgpu: amdgpu_dma_buf.c

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

drm: Omit half-baked dma_buf_file indirection.

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

drm: Note NetBSD->Linux errno conversion.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 19 11:33:31 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored) to selected 1.4.2.2 (colored)

drm: Another pass over i915 and some supporting logic.

This makes a shim around sg_table, which essentially represents two
things:

1. an array of pages (roughly corresponding to bus_dma_segment_t[])
2. an array of DMA addresses stored in a bus_dmamap_t

Both parts are optional; different parts of i915 use sg_tables to
pass around one or both of the two parts.  This helps to reduce the
ifdefs by quite a bit, although it's not always clear which part of
an sg_table any particular interface is actually using which is why I
was reluctant to do this before.

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

Rename reservation_object -> dma_resv.

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

Update dma-buf API enough to compile drm_prime.c.

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

No need for <linux/fence.h> in linux_dma_buf.c.

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:59 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.5.4.2: +4 -4 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.4.2.2 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Thu Oct 17 19:17:45 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.4.2.2 (colored)

Pull up following revision(s) (requested by maya in ticket #350):

	sys/external/bsd/drm2/linux/linux_dma_buf.c: revision 1.6

correct error handling.
from Ilja Van Sprundel, thanks.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Oct 17 14:33:02 2019 UTC (4 years, 5 months ago) by maya
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) to selected 1.4.2.2 (colored)

correct error handling.

from Ilja Van Sprundel, thanks.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:08:32 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.5.4.1: +272 -0 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) to selected 1.4.2.2 (colored)

Sync with HEAD

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:56 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.4.2.2: +2 -3 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Synch with HEAD

Revision 1.5.4.1, Fri Jan 4 23:03:02 2019 UTC (5 years, 2 months ago) by christos
Branch: phil-wifi
Changes since 1.5: +0 -272 lines
FILE REMOVED

file linux_dma_buf.c was added on branch phil-wifi on 2019-06-10 22:08:32 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 4 23:03:02 2019 UTC (5 years, 2 months ago) by tnn
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, netbsd-9
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored) to selected 1.4.2.2 (colored)

dma_buf_fd(): fd_putfile() does not belong here

PR kern/53834 ok riastradh@

Revision 1.4.2.2 / (download) - annotate - [selected], Thu Sep 6 06:56:37 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.2.1: +273 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.4.2.1, Mon Aug 27 15:25:13 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4: +0 -273 lines
FILE REMOVED

file linux_dma_buf.c was added on branch pgoyette-compat on 2018-09-06 06:56:37 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 27 15:25:13 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Branch point for: pgoyette-compat
Changes since 1.3: +7 -11 lines
Diff to previous 1.3 (colored) to selected 1.4.2.2 (colored)

Implement poll for reservations and dma bufs.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 27 15:24:40 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.4.2.2 (colored)

Simplify.  Destroy the mutex too.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 27 15:24:11 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored) to selected 1.4.2.2 (colored)

Return the fd we just allocated.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 27 15:22:54 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Diff to selected 1.4.2.2 (colored)

Draft support for drm prime.

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>