CVS log for src/sys/dev/fdt/simplefb.c
Up to [cvs.NetBSD.org] / src / sys / dev / fdt
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.15.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:52 2026 UTC (11 days, 7 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +5 -3
lines
Sync with HEAD
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Apr 26 13:14:07 2026 UTC (6 months, 3 weeks ago) by tsutsui
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -3
lines
simplefb: recognize format "a8r8g8b8"
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Sep 6 22:53:49 2025 UTC (14 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2
lines
Re-factor the console-related code into fdt_console.[ch]
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Aug 30 22:47:24 2021 UTC (5 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
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,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: perseant-exfatfs
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -2
lines
Add 10-bit pixel format support.
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +12 -7
lines
Sync with HEAD.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Mar 2 11:51:00 2021 UTC (5 years, 8 months ago) by jmcneill
Branches: 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-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Fix previous: Each line is "stride" bytes wide, not "width * depth".
While here, add a comment explaining what this test is doing.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Mar 2 07:02:06 2021 UTC (5 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -2
lines
Sanity check size vs width x height x depth. Buggy firmware exists.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:21 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -7
lines
Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().
Standardize on of_compatible_match() for driver matching, and adapt
all call sites.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Oct 21 11:02:31 2020 UTC (6 years ago) by rin
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3
lines
sfb_addr should be uint64_t, not bus_addr_t. Otherwise, its value
cannot be obtained via prop_dictionary_get_uint64() for most ILP32
architectures where bus_addr_t is 32-bit width.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Oct 20 23:03:30 2020 UTC (6 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -3
lines
Instead of trying to prevent pciconf from reconfiguring the firmware's
framebuffer, instead allow MD code to register callbacks. If a resource is
changed, the driver can unmap the old resource and remap the new. Do this
with simplefb so the console doesn't explode when the VGA device is
(potentially) reconfigured at boot.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Oct 19 01:12:14 2020 UTC (6 years ago) by rin
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -2
lines
Fix colors of 32-bpp raster console for evbarm/aarch64eb and armeb.
Most boards are configured to little-endian in initial, and switched
to big-endian after kernel is loaded. In this case, framebuffer seems
byte-swapped to CPU.
It is best to reconfigure framebuffer (as done recently for sunxi_mixer
by jmcneill), but in most cases, HW is incapable, or we just don't know
register bits to configure them.
Therefore, override "format" FDT property for "simple-framebuffer" to
let drivers know byte-order for 32-bpp framebuffer.
Then, make fdt/simplefb (genfb) and arm_simplefb (early console) detect
byte-swapped FB, and configure genfb(4) or rasops(4) layers accordingly.
Tested on Pine A64+ (arm_simplefb) and Cubietruck (both fdt/simplefb and
arm_simplefb).
Discussed with jmcneill. Thanks!!
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:19 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +5 -4
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jul 23 14:34:12 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -4
lines
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.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:08 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +11 -3
lines
Sync with HEAD
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jan 30 00:55:04 2019 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2
lines
Call genfb_cnattach when WSDISPLAY_MULTICONS is defined
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:44 2018 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +10 -3
lines
Sync with HEAD
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jul 23 00:51:40 2018 UTC (8 years, 3 months ago) by macallan
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +10 -3
lines
if the framebuffer address isn't page aligned, set fbi_fboffset appropriately
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:05 2018 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +12 -2
lines
Sync with HEAD
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 6 10:31:10 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0625,
pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -2
lines
Pass WSDISPLAYIO_SVIDEO through to pmf
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:14 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -4
lines
Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Apr 1 04:35:05 2018 UTC (8 years, 7 months ago) by ryo
Branches: MAIN
CVS tags: pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -4
lines
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)
- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Dec 18 19:06:32 2017 UTC (8 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -5
lines
Always set "is_console" property to true when WSDISPLAY_MULTICONS is defined
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:01 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +237 -0
lines
update from HEAD
Revision 1.2.2.1
Mon Sep 4 18:01:28 2017 UTC (9 years, 2 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -237
lines
file simplefb.c was added on branch tls-maxphys on 2017-12-03 11:37:01 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Sep 4 18:01:28 2017 UTC (9 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +32 -4
lines
Add console support.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Aug 27 19:14:32 2017 UTC (9 years, 2 months ago) by jmcneill
Branches: MAIN
Add an FDT "Simple Framebuffer" driver. This lets us take over framebuffers
configured by U-Boot without any knowledge of the underlying hardware.
CVSweb <webmaster@jp.NetBSD.org>