The NetBSD Project

CVS log for src/sys/external/bsd/drm2/include/drm/Attic/drm_os_netbsd.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.21, Sun Dec 19 10:47:30 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.20: +0 -0 lines
FILE REMOVED

drm_os_netbsd.h is no more

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 19 10:32:47 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.19: +0 -84 lines
Diff to previous 1.19 (colored)

Empty out drm_os_netbsd.h.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 19 10:29:16 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.18: +1 -3 lines
Diff to previous 1.18 (colored)

Fix up includes of <sys/vmem.h>.

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

nbsd-namespace, and provide CONFIG_LOCKDEP (disabled)


Author: Maya Rashish <maya@NetBSD.org>

Revision 1.3.30.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:59 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.3.30.2: +2 -0 lines
Diff to previous 1.3.30.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.3.30.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:27 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.3.30.1: +9 -2 lines
Diff to previous 1.3.30.1 (colored) to branchpoint 1.3 (colored)

Merge changes from current as of 20200406

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:20:17 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.15.2.1: +1 -2 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 14 04:36:56 2020 UTC (4 years, 1 month ago) by riastradh
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, 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
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

Reduce diffs by nixing DRM_SUSER macro, deleted upstream long ago.

Instead stub Linux capable(CAP_SYS_ADMIN).

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:50 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.15: +9 -1 lines
Diff to previous 1.15 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 19 12:03:27 2020 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base2
Changes since 1.15: +9 -1 lines
Diff to previous 1.15 (colored)

Disable the use of WC memory on Arm and Arm64. From Linux:

 * The DRM driver stack is designed to work with cache coherent devices
 * only, but permits an optimization to be enabled in some cases, where
 * for some buffers, both the CPU and the GPU use uncached mappings,
 * removing the need for DMA snooping and allocation in the CPU caches.
 *
 * The use of uncached GPU mappings relies on the correct implementation
 * of the PCIe NoSnoop TLP attribute by the platform, otherwise the GPU
 * will use cached mappings nonetheless. On x86 platforms, this does not
 * seem to matter, as uncached CPU mappings will snoop the caches in any
 * case. However, on ARM and arm64, enabling this optimization on a
 * platform where NoSnoop is ignored results in loss of coherency, which
 * breaks correct operation of the device. Since we have no way of
 * detecting whether NoSnoop works or not, just disable this
 * optimization entirely for ARM and arm64.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Wed Nov 6 09:48:32 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.14: +3 -1 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #400):

	sys/arch/arm/sunxi/sunxi_drm.c: revision 1.8
	sys/external/bsd/drm2/dist/include/drm/drm_gem_cma_helper.h: revision 1.6
	sys/external/bsd/drm2/dist/include/drm/drmP.h: revision 1.36
	sys/external/bsd/drm2/include/drm/bus_dma_hacks.h: revision 1.18
	sys/external/bsd/drm2/drm/drm_gem_cma_helper.c: revision 1.9
	sys/external/bsd/drm2/include/drm/drm_os_netbsd.h: revision 1.15

Arm DMA tags with _nranges=0 require no address translation. Handle this
in PHYS_TO_BUS_MEM and BUS_TO_PHYS_MEM instead of panicing.

Add support for DRM GEM/CMA helpers using a driver provided vmem arena.

Reserve enough memory at boot to support the drmfb buffer plus a 4K buffer
for Xorg.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 5 23:29:28 2019 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

Add support for DRM GEM/CMA helpers using a driver provided vmem arena.

Revision 1.3.30.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:08:31 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.3: +27 -5 lines
Diff to previous 1.3 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 7 20:28:41 2019 UTC (5 years ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Remove unused definitions.

(These appear to have existed in old-drm)

Revision 1.3.28.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:36 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.3: +27 -4 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

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

Revision 1.13 / (download) - annotate - [select for diffs], Tue Aug 28 03:41:39 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.12: +4 -6 lines
Diff to previous 1.12 (colored)

Rework PCI and AGP conditionalization.

- Push drm_pci_set_unique into driver callback.
- Eliminate drm_pci_set_unique_hook.
- Gather all drm_agp_* functions into struct drm_agp_hooks.
- Replace the nonsensical old atomic garbage by serious locking.
- Make drm_agpsupport.c its own module.
- Eliminate NDRMKMS_PCI.
- Use NAGP from "agp.h" only in drm_module.c for horrible hack.
  => See comment in file for rationale.
- Always define CONFIG_PCI=1 and CONFIG_AGP=1.
- Always go through the drm_agp_* function hooks.
- Ifdef out nouveau agp stuff that doesn't go through drm_agp_*
  for reasons that I'm too frustrated to figure out tonight.
- pci_iomap no longer automagically does agp_i810_borrow.
  => Use drm_agp_borrow instead.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 27 16:20:35 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.11: +2 -0 lines
Diff to previous 1.11 (colored)

Ifdef out pnpbios for now.  Presumably needs to use bus_space_alloc.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 27 15:12:09 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.10: +2 -0 lines
Diff to previous 1.10 (colored)

opt_mtrr.h is x86-only.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 27 13:53:09 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.9: +3 -0 lines
Diff to previous 1.9 (colored)

Guard #include "pci.h" with _KERNEL_OPT.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 27 07:50:08 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.8: +9 -4 lines
Diff to previous 1.8 (colored)

Define CONFIG_MTRR and CONFIG_X86_PAT.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 27 06:42:54 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.7: +0 -1 lines
Diff to previous 1.7 (colored)

Include the legacy DRM_READ/WRITE in drm_legacy.h, not drm_os_*.h.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Aug 27 06:19:26 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

Define CONFIG_PCI to 1, not empty.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 27 06:18:51 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.5: +8 -0 lines
Diff to previous 1.5 (colored)

provide CONFIG_PNP if it's defined. i386 only apparently.

XXX I'm not actually building i386 kernels


Author: coypu <coypu@sdf.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 27 05:57:42 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

bring in changes from OLDER drmP.h to go forward with compilation


Author: coypu <coypu@sdf.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 27 05:34:49 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Move old DRM_READn definitions into new drm_iomap_netbsd.h

These got deleted from drmP.h.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:21 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.3.4.1: +53 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:39 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2: +9 -1 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Rebase.

Revision 1.3.4.1, Sat Jul 26 18:13:44 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.3: +0 -53 lines
FILE REMOVED

file drm_os_netbsd.h was added on branch tls-maxphys on 2014-08-20 00:04:21 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 26 18:13:44 2014 UTC (9 years, 8 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: tls-maxphys, phil-wifi, pgoyette-compat
Changes since 1.2: +9 -1 lines
Diff to previous 1.2 (colored)

Move CONFIG_X86 from files.i915drmkms to drm_os_netbsd.h.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:56 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.6.1: +45 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:46:01 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.2.4.1: +45 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.2.6.1, Tue Mar 18 18:20:43 2014 UTC (10 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -45 lines
FILE REMOVED

file drm_os_netbsd.h was added on branch yamt-pagecache on 2014-05-22 11:40:56 +0000

Revision 1.2.4.1, Tue Mar 18 18:20:43 2014 UTC (10 years ago) by rmind
Branch: rmind-smpnet
Changes since 1.2: +0 -45 lines
FILE REMOVED

file drm_os_netbsd.h was added on branch rmind-smpnet on 2014-05-18 17:46:01 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:43 2014 UTC (10 years ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: yamt-pagecache, tls-earlyentropy, rmind-smpnet
Changes since 1.1: +45 -0 lines
Diff to previous 1.1 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Tue Mar 4 20:45:17 2014 UTC (10 years, 1 month ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.6: +1 -1 lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Rework drm2 configuration and modularization.

- Split drm2.kmod into drmkms_linux, drmkms, drmkms_pci.
- Split up drmkms-related files.* similarly.
- Make drm_agp_* routines hooks that the drmkms_pci module installs.
- Reuse drm device major 180 for (old) drm and drmkms.

Now old drm and new drmkms can coexist happily in the same tree, with
or without PCI, and require no changes to userland.

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Wed Jul 24 02:06:38 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.5: +1 -0 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)

Implement DRM_SUSER compatibility kludge.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Wed Jul 24 02:00:44 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.4: +1 -0 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)

Implement DRM_COPY_FROM_USER and DRM_COPY_FROM_USER.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Wed Jul 24 01:53:26 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.3: +1 -0 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Add DRM IRQ shims.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Jul 24 01:50:35 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.2: +1 -0 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Add drm_agp_netbsd.h and include it in drm_os_netbsd.h.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Jul 24 01:49:31 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1.2.1: +2 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Implement drm waitqueues with condvars.  Include in drm_os_netbsd.h.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Wed Jul 24 00:51:31 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.1: +39 -0 lines
Diff to previous 1.1 (colored)

Add <drm/drm_os_netbsd.h> and include it in <drm/drmP.h>.

Revision 1.1, Wed Jul 24 00:51:31 2013 UTC (10 years, 8 months ago) by riastradh
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Branch point for: riastradh-drm2
FILE REMOVED

file drm_os_netbsd.h was initially added on branch riastradh-drm2.

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>