The NetBSD Project

CVS log for src/sys/arch/arm/omap/Attic/tifb.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / omap

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12, Sat Oct 29 13:37:59 2022 UTC (16 months ago) by jmcneill
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +2 -2 lines
FILE REMOVED

Remove old OMAP port.

This code was a mess and full of unmaintainable SoC and board specific
ifdefs. A modern devicetree port for OMAP3530 and AM335x based boards
now lives in arch/arm/ti. If someone is interested in bringing back
support for any boards lost in this transition, feel free, but please
do so using the new devicetree based model.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 27 06:36:43 2022 UTC (17 months, 1 week ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

Remove unnecessary sys/malloc.h include

Revision 1.10 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:45 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.9: +3 -3 lines
Diff to previous 1.9 (colored)

Merge thorpej-cfargs2.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 16:51:28 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Adapt to CFARGS().

Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:28 2021 UTC (2 years, 10 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.8: +3 -3 lines
Diff to previous 1.8 (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.8.12.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:08:55 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (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.7.14.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:36 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 23 14:34:11 2019 UTC (4 years, 7 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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, 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
Branch point for: thorpej-cfargs
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

For drivers whose framebuffer is located not page-aligned, permit
offset of mmap up to (length of framebuffer) + (page offset of base
address of framebuffer). This is necessary in order to map the
highest page of framebuffer correctly, see,
http://cvsweb.netbsd.org/bsdweb.cgi/xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c#rev1.35

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:55 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.6.2: +310 -287 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

update from HEAD

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:31 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3.2.2: +3 -2 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:23 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:11 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.5.2.1: +3 -2 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 1 16:27:25 2017 UTC (7 years ago) by skrll
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, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, 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, 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, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1
Branch point for: phil-wifi
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

Fix compile... is this right?

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:50 2016 UTC (7 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3.2.1: +299 -312 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:48:59 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.5: +299 -312 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 18 14:14:51 2016 UTC (7 years, 4 months ago) by kiyohara
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.5: +299 -312 lines
Diff to previous 1.5 (colored)

Update unused tifb.  wscons is working.
Tested on PEPPER and VTC100.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:56 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3: +34 -10 lines
Diff to previous 1.3 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 12 20:00:42 2015 UTC (8 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.4: +24 -14 lines
Diff to previous 1.4 (colored)

flushing the framebuffer from interrupt has several problems:
- As pointed out by Jared McNeill, this doesn't work for cold
  or ddb. Some specific handing for these cases would be needed,
  but there's no easy way to know if we're in ddb or not.
- periodic bus_dmamap_sync() of the whole framebuffer isn't cheap (about
  3% CPU constant on the beaglebone back).

instead map the framebuffer BUS_DMA_PREFETCHABLE (undocumented flag, but
is MI and properly handled by arm). This allows write-combining,
which, in addition with a shadow framebuffer for rasops(9) gives
a good performance boost too (difference with the cached+sync from intr
isn't noticeable on a boot sequence).
For X11, the framebuffer was already mapped BUS_DMA_PREFETCHABLE.
A few tests shows that mapping it fully cached doesn't make a noticeable
difference either (with or without xorg's shadow framebuffer).

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 11 13:44:14 2015 UTC (8 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.3: +17 -3 lines
Diff to previous 1.3 (colored)

Don't make the frame buffer BUS_DMA_COHERENT, but instead
do a bus_dmamap_sync() on end-of-frame interrupts.
This effectively cause the frame buffer to be mapped cached,
giving a very noticeable performance boost.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 22 20:01:16 2014 UTC (9 years, 6 months ago) by jakllsch
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Fix what is almost certianly an off-by-one error when configuring pads on
AM335x for BPP greater than 16.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 22 19:59:18 2014 UTC (9 years, 6 months ago) by jakllsch
Branch: MAIN
Changes since 1.1: +13 -2 lines
Diff to previous 1.1 (colored)

Support WSDISPLAYIO_GET_FBINFO ioctl in tifb(4).

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:47 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.6.1: +1068 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:52 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.1.2.1: +1068 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Rebase.

Revision 1.1.6.1, Wed Jul 16 18:30:43 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +0 -1068 lines
FILE REMOVED

file tifb.c was added on branch tls-maxphys on 2014-08-20 00:02:47 +0000

Revision 1.1.2.1, Wed Jul 16 18:30:43 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.1: +0 -1068 lines
FILE REMOVED

file tifb.c was added on branch tls-earlyentropy on 2014-08-10 06:53:52 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jul 16 18:30:43 2014 UTC (9 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-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, tls-earlyentropy

Work in progress on a driver for the graphic controller found in TI am355x SoCs,
based on the FreeBSD driver.
Only dumb framebuffer mode supported.
At this time, the video timings are hardcoded in the driver's source.
The timings inclued here are for the 12" 1280x800 LCD+LVDS cape from
Chalk Elec.
A better way to define video modes is clearly needed.

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>