The NetBSD Project

CVS log for src/sys/dev/pci/gffb.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / pci

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Sun Sep 25 17:52:25 2022 UTC (4 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored)

Remove unnecessary include of <sys/malloc.h>.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Aug 15 11:55:52 2022 UTC (5 months, 3 weeks ago) by macallan
Branch: MAIN
Changes since 1.20: +2 -7 lines
Diff to previous 1.20 (colored)

nuke pasto in gffb_init()

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 10 18:13:31 2022 UTC (10 months, 4 weeks ago) by andvar
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

s/woud/would/ in comment.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Mar 10 00:14:33 2022 UTC (10 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.18: +14 -3 lines
Diff to previous 1.18 (colored)

gffb(4): Nix membar_sync and explain what's going on here.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 10 00:14:25 2022 UTC (10 months, 4 weeks ago) by riastradh
Branch: MAIN
Changes since 1.17: +6 -4 lines
Diff to previous 1.17 (colored)

gffb(4): Use bus_space_barrier, not membar_sync.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:14 2021 UTC (18 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Merge thorpej-cfargs2.

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 21:27:00 2021 UTC (18 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Adapt to CFARGS().

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:57 2021 UTC (21 months, 2 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:46 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:13 2021 UTC (22 months, 2 weeks ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 25 19:11:44 2021 UTC (23 months, 1 week ago) by macallan
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

match Geforce FX5200 Go found in some iMac G5 models

Revision 1.14 / (download) - annotate - [select for diffs], Thu May 21 22:55:48 2020 UTC (2 years, 8 months ago) by macallan
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.13: +2 -6 lines
Diff to previous 1.13 (colored)

prune unneeded includes

Revision 1.12.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:15 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.12: +73 -27 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD

Revision 1.12.12.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:46 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.12: +73 -27 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 26 19:32:25 2018 UTC (4 years, 6 months ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, 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.12: +73 -27 lines
Diff to previous 1.12 (colored)

first step to support chips newer than geforce 2MX

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:07 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.9.4.2: +31 -32 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

update from HEAD

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:47 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:29 2017 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.9.6.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:29 2017 UTC (6 years ago) by skrll
Branch: nick-nhusb
Changes since 1.9.6.2: +5 -3 lines
Diff to previous 1.9.6.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 20 12:25:07 2017 UTC (6 years ago) by maya
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored)

Check pmf_device_register return value. NFC
Appeases static analyzers.

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:42 2016 UTC (6 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.9.6.1: +29 -32 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 11 11:31:51 2016 UTC (6 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.10: +29 -32 lines
Diff to previous 1.10 (colored)

KNF. No functional change.

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:59 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 16 16:52:54 2015 UTC (7 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

prop_dictionary_get_bool() doesn't return FALSE if the property doesn't
exist, so initialize things first.
No more console stealing on sparc64.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:42 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.9.4.1: +1174 -0 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:54 2014 UTC (8 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Rebase.

Revision 1.9.4.1, Sun Jun 29 03:43:06 2014 UTC (8 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.9: +0 -1174 lines
FILE REMOVED

file gffb.c was added on branch tls-maxphys on 2014-08-20 00:03:42 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 29 03:43:06 2014 UTC (8 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Appease a printf format warning on LP64 machines.

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:24 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.8.6.1: +1174 -0 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (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.8.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:39 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.8.4.1: +1174 -0 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.8.6.1, Fri Mar 14 21:59:41 2014 UTC (8 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.8: +0 -1174 lines
FILE REMOVED

file gffb.c was added on branch yamt-pagecache on 2014-05-22 11:40:24 +0000

Revision 1.8.4.1, Fri Mar 14 21:59:41 2014 UTC (8 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.8: +0 -1174 lines
FILE REMOVED

file gffb.c was added on branch rmind-smpnet on 2014-05-18 17:45:39 +0000

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 14 21:59:41 2014 UTC (8 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: yamt-pagecache, tls-earlyentropy, rmind-smpnet
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored)

remove various set-but-unused variables.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 23 13:15:47 2013 UTC (9 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

fix copyright year

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 23 09:28:06 2013 UTC (9 years, 3 months ago) by macallan
Branch: MAIN
Changes since 1.5: +26 -16 lines
Diff to previous 1.5 (colored)

minor cleanup:
- don't map more PCI space than we have video memory
- clarify some comments

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 9 17:18:23 2013 UTC (9 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

support WSDISPLAYIO_GET_FBINFO

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 9 12:03:29 2013 UTC (9 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.3: +182 -199 lines
Diff to previous 1.3 (colored)

some cleanup:
- use macros to shorten a while lot of bus_space_write_4() lines
- update some comments
- remove debug goop and cargo culted leftovers

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 9 01:28:33 2013 UTC (9 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.2: +360 -55 lines
Diff to previous 1.2 (colored)

add hardware acceleration
For now this supports only GeForce2 MX cards but most NV1x chips should work
once their PCI iDs are added to gffb_match()
Tested only on macppc.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 2 16:35:38 2013 UTC (9 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.1: +269 -19 lines
Diff to previous 1.1 (colored)

one step closer to graphics acceleration:
- probe and report actual amount of video memory
- add DMA machinery to feed commands to the graphics processor
- adapt a whole bunch of magic number initialization from xf86-video-nv, now
  the chip actually reads commands from a buffer in video memory

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 18 14:30:45 2013 UTC (9 years, 4 months ago) by macallan
Branch: MAIN

a preliminary driver for nvidia geforce graphics chips
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output

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>