The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45 / (download) - annotate - [select for diffs], Sun Oct 2 02:37:27 2022 UTC (16 months, 2 weeks ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

PR kern/57035

s/lower/higher/ in comment; for little endian, 2nd word is higher
both in numeric and address. It seems that I'm too absorbed into
big endian machines these days ;)

No binary changes.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Oct 1 12:35:25 2022 UTC (16 months, 2 weeks ago) by rin
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.43: +7 -8 lines
Diff to previous 1.43 (colored)

Use appropriate macros. No binary changes for GCC/amd64.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Oct 1 12:27:29 2022 UTC (16 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored)

Remove confusing braces. No binary changes.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Oct 1 12:24:19 2022 UTC (16 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.41: +6 -6 lines
Diff to previous 1.41 (colored)

trailing whitespace

Revision 1.41 / (download) - annotate - [select for diffs], Sat Oct 1 11:40:08 2022 UTC (16 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.40: +18 -17 lines
Diff to previous 1.40 (colored)

PR kern/57035

genfb(4): Fix blank screen after switching to WSDISPLAYIO_MODE_EMUL for
some GPU models like Ice Lake integrated GPU:

- Restore lower words of 64-bit BARs correctly.
- Do not disable expansion ROM if exists.

Thanks ryoon@ for testing!

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

Merge thorpej-cfargs2.

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 21:27:00 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.39: +3 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Adapt to CFARGS().

Revision 1.39 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:57 2021 UTC (2 years, 9 months 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.38: +5 -3 lines
Diff to previous 1.38 (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.38.34.1 / (download) - annotate - [select for diffs], Fri Apr 2 22:17:44 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.38: +5 -3 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

config_found_ia() -> config_found() w/ CFARG_IATTR.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:07 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.34.2.1: +6 -3 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

update from HEAD

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:03 2016 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.37: +8 -5 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:41 2016 UTC (7 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, pgoyette-compat, 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, 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, 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, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-cfargs
Changes since 1.37: +8 -5 lines
Diff to previous 1.37 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:42 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (colored)

Rebase to HEAD as of a few days ago.

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

Rebase.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 24 21:35:13 2014 UTC (9 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, 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, 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: nick-nhusb
Changes since 1.36: +4 -3 lines
Diff to previous 1.36 (colored)

Add enable/disable polling hooks to genfb_ops.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jan 27 13:22:55 2014 UTC (10 years ago) by macallan
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: tls-earlyentropy
Changes since 1.35: +0 -6 lines
Diff to previous 1.35 (colored)

back out 1.35 since it completely breaks the mechanism for wsdisplay drivers
to determine wether to become console or not.
See http://mail-index.netbsd.org/tech-kern/2014/01/15/msg016421.html
for fixing this properly.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jan 16 18:41:10 2014 UTC (10 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.34: +8 -2 lines
Diff to previous 1.34 (colored)

Fix PR kern/46376 with Nat Sloss's patch (with slight modification).
Serial console now works on x86 with genfb enabled.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:45 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.32: +5 -8 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.32.8.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:26 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.32.8.1: +4 -4 lines
Diff to previous 1.32.8.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync to latest -current.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:31 2012 UTC (11 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, rmind-smpnet, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:37 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.32: +3 -6 lines
Diff to previous 1.32 (colored)

merge to -current.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:19 2012 UTC (12 years ago) by drochner
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.32: +3 -6 lines
Diff to previous 1.32 (colored)

Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:10 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.26: +57 -21 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:49 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.24.2.1: +16 -8 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 8 03:22:29 2011 UTC (12 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.31: +18 -10 lines
Diff to previous 1.31 (colored)

only try to map the framebuffer if we don't already have an address
With this radeondrm works with genfb and r6xx.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:37 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.24: +67 -39 lines
Diff to previous 1.24 (colored)

sync with head

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:13 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.26.4.1: +38 -16 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Sun Feb 13 11:00:58 2011 UTC (13 years ago) by phx
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.30: +12 -6 lines
Diff to previous 1.30 (colored)

Determine BAR type with pci_mapreg_probe() instead of pci_mapreg_type(),
to skip unimplemented BARs.
Do not probe non-BAR registers (like subsystem id). This fixes potential
panics in pci_mem_find().

Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 10 11:35:20 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.29: +13 -9 lines
Diff to previous 1.29 (colored)

add support for 64-bit BARs

Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 10 10:23:20 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.28: +7 -5 lines
Diff to previous 1.28 (colored)

Use BUS_SPACE_MAP_PREFETCHABLE when mapping the framebuffer.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 9 13:19:53 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.27: +15 -5 lines
Diff to previous 1.27 (colored)

switch genfb to polling mode at shutdown

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:50 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jan 22 15:14:28 2011 UTC (13 years, 1 month ago) by cegger
Branch: MAIN
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored)

Implement new WSDISPLAYIO_GET_BUSID ioctl.
It returns the bus id and allows userland (like Xorg) to create mapping
of ttyE? and bus id. For now only PCI is implemented.

First discussed with macallan@ then public on tech-kern@ and tech-x11@

Revision 1.26 / (download) - annotate - [select for diffs], Thu Dec 16 06:45:50 2010 UTC (13 years, 2 months ago) by cegger
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.25: +22 -23 lines
Diff to previous 1.25 (colored)

ioctl: KNF switch-case, remove useless brackets

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:04 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.23.2.1: +3 -2 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD (-D20101022).

Revision 1.9.4.6 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:09 2010 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.5: +5 -4 lines
Diff to previous 1.9.4.5 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 7 07:53:54 2010 UTC (13 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.24: +5 -4 lines
Diff to previous 1.24 (colored)

finish device_t-ification

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:33 2010 UTC (13 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.23: +29 -4 lines
Diff to previous 1.23 (colored)

Sync with HEAD.

Revision 1.9.4.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:44 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.4: +29 -4 lines
Diff to previous 1.9.4.4 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 25 21:09:00 2010 UTC (13 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.23: +29 -4 lines
Diff to previous 1.23 (colored)

add a comment on PCI_MAGIC_IO_RANGE

Revision 1.9.4.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:50 2009 UTC (14 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.3: +12 -22 lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 24 11:32:49 2009 UTC (14 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip
Changes since 1.22: +4 -22 lines
Diff to previous 1.22 (colored)

Move softc definition to genfb_pcivar.h

Revision 1.22 / (download) - annotate - [select for diffs], Mon Aug 24 11:03:44 2009 UTC (14 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.21: +10 -5 lines
Diff to previous 1.21 (colored)

Expose genfb_restore_palette and allow MD code to specify PMF callbacks.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Aug 24 02:10:41 2009 UTC (14 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.20: +5 -2 lines
Diff to previous 1.20 (colored)

Register NULL pmf handlers, and note that firmware & MD code is responsible
for restoring the display device.

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:33 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.2: +11 -15 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.11.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:24 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.11: +40 -21 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 12 08:23:00 2009 UTC (14 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.

Revision 1.19 / (download) - annotate - [select for diffs], Wed May 6 18:41:54 2009 UTC (14 years, 9 months ago) by elad
Branch: MAIN
Changes since 1.18: +6 -10 lines
Diff to previous 1.18 (colored)

Replace curlwp->l_cred with kauth_cred_get().

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/05/05/msg005038.html

Revision 1.18 / (download) - annotate - [select for diffs], Wed May 6 10:34:32 2009 UTC (14 years, 9 months ago) by cegger
Branch: MAIN
Changes since 1.17: +6 -6 lines
Diff to previous 1.17 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 6 09:25:15 2009 UTC (14 years, 9 months ago) by cegger
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:55 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.1: +31 -8 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:07 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.11: +31 -8 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Feb 23 23:45:56 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored)

Turn "bogus parameters" aprint_error into aprint_debug, and change the
message to say that the framebuffer was not configured by the firmware.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 17 20:36:07 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

Use aprint_*

Revision 1.14 / (download) - annotate - [select for diffs], Mon Feb 16 22:24:40 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

Provide callbacks so MD code can explicitly prevent genfb from matching;
works around vga/genfb deathmatches.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Feb 15 18:41:49 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.12: +19 -3 lines
Diff to previous 1.12 (colored)

Introduce genfb_ops genfb_borrow callback to allow the bus frontend to
lend mappings to drm.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 14 20:33:58 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.11: +8 -4 lines
Diff to previous 1.11 (colored)

Provide a stub genfb_cnattach for md code to call to give a hint to the
bus driver's match function to return a higher confidence (so it can
beat out vga(4), for example). genfb needs-flag so md code can determine
if the genfb driver is present.

Revision 1.5.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:38 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5.6.1: +4 -9 lines
Diff to previous 1.5.6.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:19 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.9: +4 -7 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:43 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9: +4 -7 lines
Diff to previous 1.9 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 5 11:42:45 2008 UTC (15 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Change autoconf message 'direct rendering on dev unsupported' to
the more accurate 'drm at dev not configured'.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 29 06:53:03 2008 UTC (15 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.9: +2 -5 lines
Diff to previous 1.9 (colored)

Convert to new 2 clause license

Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:36 2008 UTC (15 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.8: +4 -6 lines
Diff to previous 1.8 (colored)

use aprint_*_dev and device_xname

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:50 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5: +14 -10 lines
Diff to previous 1.5 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 1 01:11:55 2008 UTC (15 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.7: +5 -3 lines
Diff to previous 1.7 (colored)

if genfb_pci can't map regs, don't panic() just return.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:47 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.5: +11 -9 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.1.16.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:46 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.1.16.1: +11 -9 lines
Diff to previous 1.1.16.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with HEAD

Revision 1.1.18.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:11 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.18.4: +11 -9 lines
Diff to previous 1.1.18.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 9 20:32:30 2008 UTC (15 years, 11 months ago) by phx
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.6: +6 -5 lines
Diff to previous 1.6 (colored)

Do not attach genfb when the frame buffer is not flagged as being console
(e.g. when a serial console is used).
Approved by macallan.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 27 23:59:37 2008 UTC (15 years, 11 months ago) by macallan
Branch: MAIN
Changes since 1.5: +7 -6 lines
Diff to previous 1.5 (colored)

get rid of the last #ifdef macppc and use PCI_MAGIC_IO_RANGE to select
at which offset we mmap PCI IO space

Revision 1.1.18.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:51 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.18.3: +16 -4 lines
Diff to previous 1.1.18.3 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.1.16.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:42 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.1: +59 -4 lines
Diff to previous 1.1 (colored)

sync with HEAD

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:54:40 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.4: +16 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.1.24.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:15 2007 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.1.24.1: +16 -4 lines
Diff to previous 1.1.24.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:48 2007 UTC (16 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.4: +16 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 21 05:32:09 2007 UTC (16 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.4: +16 -4 lines
Diff to previous 1.4 (colored)

only enable the fb mapping at offset 0 after attempting to mmap page 0
This way we avoid a conflict with PCI resources on some Sun graphics cards
which have firmware that likes to put memory resources at low addresses.
For instance, if we have 1MB framebuffer and registers at 0x30000 we'll
get the registers when mmap()ing 0x30000 until someone tries to mmap(0),
then we'll get framebuffer memory for the entire 1st MB.
This needs an ioctl() to switch between fb-at-0 and PCI ranges.

Revision 1.1.24.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:42 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.1: +46 -3 lines
Diff to previous 1.1 (colored)

Sync with HEAD.

Revision 1.1.18.3 / (download) - annotate - [select for diffs], Fri Dec 7 17:30:24 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.18.2: +46 -3 lines
Diff to previous 1.1.18.2 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 1 17:00:41 2007 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Back out previous.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 1 16:54:28 2007 UTC (16 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Noisy printfs.

Revision 1.1.14.1 / (download) - annotate - [select for diffs], Wed Nov 21 21:55:29 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1: +46 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.22.1 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:35 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.1: +46 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 19 04:03:44 2007 UTC (16 years, 3 months ago) by macallan
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.1: +46 -3 lines
Diff to previous 1.1 (colored)

various fixes and additions:
- deal with bogus parameters - just return instead of panic()ing
- try to attach a drm
- save and restore BARs in case X messes them up

Revision 1.1.18.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:50 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.18.1: +234 -0 lines
Diff to previous 1.1.18.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:29 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.1.8.1: +234 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:24 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.1.6.1: +234 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:24:23 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.1.2.1: +234 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.1.18.1, Tue Apr 10 02:16:48 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1: +0 -234 lines
FILE REMOVED

file genfb_pci.c was added on branch yamt-lazymbuf on 2007-09-03 14:36:50 +0000

Revision 1.1.8.1, Tue Apr 10 02:16:48 2007 UTC (16 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.1: +0 -234 lines
FILE REMOVED

file genfb_pci.c was added on branch mjf-ufs-trans on 2007-07-11 20:07:29 +0000

Revision 1.1.6.1, Tue Apr 10 02:16:48 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.1: +0 -234 lines
FILE REMOVED

file genfb_pci.c was added on branch yamt-idlelwp on 2007-04-15 16:03:24 +0000

Revision 1.1.2.1, Tue Apr 10 02:16:48 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.1: +0 -234 lines
FILE REMOVED

file genfb_pci.c was added on branch vmlocking on 2007-04-10 13:24:23 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 10 02:16:48 2007 UTC (16 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup
Branch point for: yamt-lazymbuf, yamt-idlelwp, vmlocking, mjf-ufs-trans, mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64

move genfb's PCI frontend to dev/pci

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>