CVS log for src/sys/arch/arm/fdt/arm_simplefb.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / fdt
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Oct 14 22:10:15 2022 UTC (2 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
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,
HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -32
lines
Add a PCI resource manager and use it on Arm ACPI platforms.
The Arm ACPI code relied on PCI_NETBSD_CONFIGURE to configure devices that
were not enabled by system firmware. This is not safe to do unless the
firmware explicitly permits it using a device specific method defined in
the PCI firmware spec.
Introduce a new PCI resource manager that discovers what has already been
configured by firmware and allocates from the remaining space. This will
ensure that devices setup by firmware are untouched and only will program
BARs of devices that are not enabled at boot time.
The current implementation assumes that the parent PCI-PCI bridge's
are already configured. A worthwhile improvement in the future would be
to support programming windows for bridges that are not fully configured.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jul 17 20:23:17 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -5
lines
wsdisplay(4): Make most of struct vcons_data private.
More importantly, make sizeof(struct vcons_data) independent of
whether VCONS_DRAW_INTR &c. is defined.
Allocate the private space with kmem rather than in the caller.
This still doesn't have very good separation between interface
parameters and internal state, but it's better than before, and is
necessary to make genfb usable in modules.
In arm_simplefb.c, this removes use of the use_intr member. That
assignment became redundant with the introduction of vcons_earlyinit,
so there's no need to replace it by anything.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Aug 30 22:47:24 2021 UTC (3 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +14 -2
lines
Add 10-bit pixel format support.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:16 2021 UTC (4 years ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +28 -10
lines
Sync with HEAD.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Mar 2 11:51:00 2021 UTC (4 years, 1 month 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.9: preferred, colored
Changes since revision 1.9: +8 -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.9: download - view: text, markup, annotated - select for diffs
Tue Mar 2 07:02:05 2021 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -2
lines
Sanity check size vs width x height x depth. Buggy firmware exists.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:19 2021 UTC (4 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +8 -6
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.7: download - view: text, markup, annotated - select for diffs
Sun Jan 17 19:51:43 2021 UTC (4 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +11 -6
lines
Fit in 80 columns. NFC.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jan 17 19:03:49 2021 UTC (4 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
Use vcons_earlyinit
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jan 17 14:28:25 2021 UTC (4 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -3
lines
fix build without VCONS_DRAW_INTR
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Oct 21 11:06:13 2020 UTC (4 years, 6 months ago) by rin
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -2
lines
Fix build for some arm32 kernels; arm_simplefb_reconfig() is used
only when NPCI > 0 && defined(PCI_NETBSD_CONFIGURE).
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Oct 20 23:03:30 2020 UTC (4 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +37 -5
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.2: download - view: text, markup, annotated - select for diffs
Mon Oct 19 01:12:14 2020 UTC (4 years, 6 months ago) by rin
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +17 -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.1: download - view: text, markup, annotated - select for diffs
Sat Oct 10 15:25:31 2020 UTC (4 years, 6 months ago) by jmcneill
Branches: MAIN
Support early FB console attachment when booting with a devicetree
(non-ACPI mode). Inform the pciconf code about the framebuffer to
prevent pciconf from changing resources out from under us when framebuffer
memory is in VRAM.
CVSweb <webmaster@jp.NetBSD.org>