Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 16:26:52 UTC Now

2024-05-06 06:06:41 UTC MAIN commitmail json YAML

sprinkle rump, gcc=12 etc.
Now sparc64 with HAVE_GCC=12 and MKRUMP=no builds again

(macallan)

2024-04-30 01:18:40 UTC MAIN commitmail json YAML

sprinkle gcc=12 and rump attributes

(macallan)

2024-04-24 11:49:58 UTC MAIN commitmail json YAML

allow userland to switch to 16bit colour

(macallan)

2024-04-24 11:42:06 UTC MAIN commitmail json YAML

don't enable xrender support unless we have 24bit colour

(macallan)

2024-04-18 04:52:43 UTC MAIN commitmail json YAML

allow mapping of blitter registers

(macallan)

2024-04-17 07:47:48 UTC MAIN commitmail json YAML

turn LEDs off when shutting down

(macallan)

2024-04-01 09:48:58 UTC MAIN commitmail json YAML

make gftfb_restore_palette() grab the default colour map from rasops instead
of just writing the driver's map into the hardware ( which may have been
modified by the likes of wsfb )
With this we get a readable console even when exiting X in a less than
graceful manner.

(macallan)

2024-03-28 12:50:31 UTC MAIN commitmail json YAML

For some reason the drawing engine occasionally scribbles past the right
boundary when filling rectangles, especially annoying when we draw whitespaces
As a workaround we draw all rectangles less than 50 pixels wide by drawing
a 50 pixel rectangle into off-screen memory to the right of the visible fb and
then copy the portion we want. Keeps track of the colour and size of the
off-screen rectangle so we can avoid redrawing it whenever possible.

(macallan)

2024-03-27 09:08:38 UTC MAIN commitmail json YAML

fix brainfart - only update fbi_fbsize, not the size of the visible fb...

(macallan)

2024-03-27 06:52:03 UTC MAIN commitmail json YAML

in gftfb_ioctl():
- identify ourselves as WSDISPLAY_TYPE_STI
- return full fb geometry in WSDISPLAYIO_GET_FBINFO

(macallan)

2024-03-14 13:18:36 UTC MAIN commitmail json YAML

2024-03-12 09:42:55 UTC MAIN commitmail json YAML

remove accidentally left in debug goop

(macallan)

2024-03-12 09:36:06 UTC MAIN commitmail json YAML

use uint8_t for all 8bit masks and data to avoid sign extending weirdness
found by running this on hppa with gcc12

(macallan)

2024-03-06 08:19:44 UTC MAIN commitmail json YAML

if the framebuffer is wider than the visible area, use the full width for the
glyphcache

(macallan)

2024-03-04 10:19:14 UTC MAIN commitmail json YAML

2024-02-28 14:12:12 UTC MAIN commitmail json YAML

support WSDISPLAYIO_SVIDEO so X can turn the monitor off
so far I only know how to turn off video output, not sync(s). Better than
nothing though.

(macallan)

2024-02-28 10:25:36 UTC MAIN commitmail json YAML

add hardware cursor support, mostly for X

(macallan)

2024-02-21 13:24:40 UTC MAIN commitmail json YAML

avoid one more instance of unnecessary blitter stalling

(macallan)

2024-02-21 13:04:01 UTC MAIN commitmail json YAML

keep track of hw settings for blitter, fill of fb access to avoid unnecessary
register writes
while there, remove some accidentially left in debug goop

(macallan)

2024-02-20 15:54:44 UTC MAIN commitmail json YAML

play the same lazy cursor (un)draw trick as cgsix and friends
visible speedup in things like systat

(macallan)

2024-02-20 11:37:43 UTC MAIN commitmail json YAML

enable glyph cache, anti-aliased fonts etc.

(macallan)

2024-02-20 09:53:16 UTC MAIN commitmail json YAML

remove check for unused bits in attr2idx() - this really wasn't helpful

(macallan)

2024-02-15 16:17:32 UTC MAIN commitmail json YAML

blitter time!
everything except drawing characters i now done by hardware
next step - glyphcache

(macallan)

2024-02-13 13:40:13 UTC MAIN commitmail json YAML

crude beginning of a native driver for PCI Visualize EG cards
so far it supports:
- colour
- virtual consoles
todo:
- mmap
- hardware acceleration
- STI refactoring

(macallan)

2024-02-13 13:17:51 UTC MAIN commitmail json YAML

in sti_screen_setup() don't bother looking for fonts if STI_FBMODE is requested

(macallan)

2024-01-31 08:15:00 UTC MAIN commitmail json YAML

Make this work properly on PCI Visualize EG:
- use bus_space_*_stream() for all register accesses in order to avoid
  byte order conversion on PCI devices
- when switching to framebuffer mode, request as many text planes as STI allows
- request access to both text and non-text planes in fb mode
With this and the bus_space commit a few days ago I have usable X on my C360
and a PCI Visualize EG.
This needs testing on quite literally everything else.

(macallan)

2024-01-28 09:03:22 UTC MAIN commitmail json YAML

add missing bus_space_*_stream() methods instead of quietly aliasing them
to their potentially byte-swapping regular counterparts

ok skrll@

(macallan)

2024-01-18 10:34:29 UTC MAIN commitmail json YAML

rearrange things so we:
- find machine_ledaddr on Cxxx and the like without lcd at mainbus
- build without options USELEDS

(macallan)

2024-01-08 18:09:33 UTC MAIN commitmail json YAML

add support for doubling a font's size, with optional smoothing
- works only on fonts up to 8 pixels wide for now
- smoothing attempts to detect pixel staircases and add pixels to smooth
  them out

(macallan)

2023-10-03 08:23:07 UTC MAIN commitmail json YAML

2023-09-25 08:42:05 UTC MAIN commitmail json YAML

defflag AUDIO_DEBUG

(macallan)

2023-09-06 08:14:42 UTC MAIN commitmail json YAML

yet another tsleep/wakeup -> cv_*

(macallan)

2023-08-30 08:38:51 UTC MAIN commitmail json YAML

don't abuse the interrupt lock for waits in the event thread

(macallan)

2023-08-30 07:42:41 UTC MAIN commitmail json YAML

remove ancient #if 0 block
NFC

(macallan)

2023-08-22 06:43:34 UTC MAIN commitmail json YAML

tsleep()/wakeup() -> cv_*

(macallan)

2023-08-02 09:18:14 UTC MAIN commitmail json YAML

check for empty ranges in pmap_page_physload() itself

(macallan)

2023-08-02 08:54:42 UTC MAIN commitmail json YAML

avoid calling pmap_page_physload() with an empty range
this avoids a panic in uvm_pmap_physload()
now my C360 boots again

(macallan)

2023-07-27 08:44:42 UTC MAIN commitmail json YAML

include glyph name in -d output

(macallan)

2023-07-27 08:30:02 UTC MAIN commitmail json YAML

document command line option

(macallan)

2023-07-19 10:22:15 UTC MAIN commitmail json YAML

- make colour depth in fb mode configurable, default to 8bit
- support ioctl(FBIO*CMAP)

(macallan)

2023-06-28 11:08:47 UTC MAIN commitmail json YAML

following a hunch...
- cache DEC and FG registers, only write them if the value actually changes
- wait for the engine to go idle before writing DEC
- wait for FIFO slots on everything else
with this we avoid waiting if possible and still avoid overlapping blit and
fill commands

(macallan)

2023-06-28 08:53:43 UTC MAIN commitmail json YAML

wait for the engine to go idle before issuing rectfill commands
we get occasional overlap with blit commands if we just wait for fifo slots
needs further investigation, it is possible that not all writes to drawing
engine registers are pipelined and of course we don't have docs

(macallan)

2023-06-28 08:11:52 UTC MAIN commitmail json YAML

fix tpyo - now the glyph cache can actually work...

(macallan)

2023-06-13 10:11:17 UTC MAIN commitmail json YAML

- use sx_wait() to avoid stalling the MBus
- request 32bit alignment for glyphcache cells

(macallan)

2023-06-13 10:09:32 UTC MAIN commitmail json YAML

add counter to periodically drain the instruction queue in order to avoid
stalling the MBus during long SX operations
adapted from xf86-video-suncg14

(macallan)

2023-06-08 05:48:41 UTC MAIN commitmail json YAML

allow drivers to specify horizontal alignment of glyph cache cells
for things like SX which have alignment restrictions

(macallan)

2023-05-23 10:20:12 UTC MAIN commitmail json YAML

use macros compatible with xf86-video-suncg14 to issue SX instructions
much more readable, alignment weirdness is handled automatically and code is
interchangable

(macallan)

2023-05-09 10:49:47 UTC MAIN commitmail json YAML

check for proper error value from OF_finddevice()
should fix PR57394

(macallan)

2023-05-02 10:18:54 UTC MAIN commitmail json YAML

apparently the 'ahb' and 'ths' clocks were renamed to 'bus' and 'mod' in the
fdt at some point, so look for those as well
with this my pinebook's sensors work again

(macallan)

2023-04-13 13:07:48 UTC MAIN commitmail json YAML

initialize the diagnostic register with the value suggested by the SunOS
header. This sets a bunch of undocumented bits and yields a 10% speed increase
when rendering antialiased text.

(macallan)

2023-02-14 08:22:02 UTC MAIN commitmail json YAML

add flags for drivers to requesr R2L bit/byte-ordered fonts, default to
L2R, chack them in vcons_load_font() instead of just trusting that we'd get
what we need

(macallan)

2023-02-14 08:14:02 UTC MAIN commitmail json YAML

make vcons_putchar_buffer() return a flag indicating if anything actually
changed, skip the actual drawing op if nothing did

(macallan)

2023-02-07 09:25:51 UTC MAIN commitmail json YAML

fix logic-reversing tpyo in putone()

(macallan)

2023-01-26 00:15:48 UTC MAIN commitmail json YAML

do some cleanup
the gm driver has been commented out for 20 years, time to remove it
while there, remove ofb and the old ADB code which have been commented out
since 2007

(macallan)

2023-01-12 01:19:21 UTC MAIN commitmail json YAML

don't attach on cascaded mpics for now - we don't really use them for anything
yet and apparently setup causes problems elsewhere, which needs investigation

(macallan)

2023-01-11 09:23:57 UTC MAIN commitmail json YAML

2022-12-28 07:34:42 UTC MAIN commitmail json YAML

one more skiplist entry...

(macallan)

2022-12-28 07:18:29 UTC MAIN commitmail json YAML

don't complain about mpic and dart not being configured
mpic is handled elsewhere, dart is an iommu we don't use yet

(macallan)

2022-12-28 07:12:36 UTC MAIN commitmail json YAML

suppress 'not configured' message for mpic on G5s

(macallan)

2022-12-28 06:50:23 UTC MAIN commitmail json YAML

support cascading:
- attach on both /u3 and /u4
- install IPI handling only if we're primary
- link to primary PIC if we're cascaded

(macallan)

2022-12-28 06:00:27 UTC MAIN commitmail json YAML

first step towards MSI support on G5:
- allow both openpic and u3_ht to attach
- make sure openpic comes first, if we have both then u3_ht is cascaded

(macallan)

2022-12-18 01:16:05 UTC MAIN commitmail json YAML

add comment to explain why we zero SPRG0 here
NFC

(macallan)

2022-12-18 01:10:58 UTC MAIN commitmail json YAML

#ifdef DEBUG the previous change, it seems to cause trouble on qemu which
needs further investigation

(macallan)

2022-12-14 13:19:05 UTC MAIN commitmail json YAML

if we have the ROM font, make it available to wsdisplay
needs testing on non-macppc

(macallan)

2022-12-14 13:04:24 UTC MAIN commitmail json YAML

Explicitly zero SPRG0 before doing anything else - it's used to store a pointer
to struct cpuinfo, this way we can catch attempts to use it before it's set
up properly

(macallan)

2022-12-06 01:14:37 UTC MAIN commitmail json YAML

convert more seriously early output to ofprint
regular console output needs more of the kernel in working order now, and this
stuff happ0ens long before the banner

(macallan)

2022-11-24 00:13:55 UTC MAIN commitmail json YAML

in ofprint() only append \r if the last character is \n

(macallan)

2022-11-24 00:07:49 UTC MAIN commitmail json YAML

move ofprint() to powerpc/ofw_machdep.c and make it official
now that console output uses locks it needs more of the kernel to function, so
for now use direct OF calls for earliest debug output

(macallan)

2022-11-15 12:43:14 UTC MAIN commitmail json YAML

remove workaround for old clang - it's not needed anymore and caused problems
elsewhere

(macallan)

2022-11-15 10:29:56 UTC MAIN commitmail json YAML

don't KASSERT(kpreempt_disabled()) while cold
pserialize_read_*() can be called *very* early in kernel startup these days

(macallan)

2022-10-31 13:24:58 UTC MAIN commitmail json YAML

This is X11's 75dpi/term14.bdf, use if you want your console to look like an
xterm. Unlike QVSS this font contains accented characters, umlauts etc.

(macallan)

2022-10-25 13:36:35 UTC MAIN commitmail json YAML

put back quotation mark removal in FAMILI_NAME statement which got broken
in a previous commit

(macallan)

2022-10-25 13:31:58 UTC MAIN commitmail json YAML

keep track of character names and dump them into the header file if known

(macallan)

2022-10-25 12:55:04 UTC MAIN commitmail json YAML

do not rely on every STARTCHAR/ENDCHAR sequence starting with ENCODING - the
standard doesn't specify in which order each glyph's properties are listed

(macallan)

2022-10-12 12:50:02 UTC MAIN commitmail json YAML

set AHCI_QUIRK_EXTRA_DELAY for ASMedia ASM1061 - now it reliably attaches old
1.5GBit/s only disks

(macallan)

2022-09-27 10:57:23 UTC MAIN commitmail json YAML

rename a local variable so it doesn't conflict with a global one
NFC

(macallan)

2022-09-27 10:54:04 UTC MAIN commitmail json YAML

2022-09-18 22:04:31 UTC MAIN commitmail json YAML

error out on proportional fonts, provide option to override

(macallan)

2022-08-29 14:54:04 UTC MAIN commitmail json YAML

add -N option to override the font's name

(macallan)

2022-08-23 19:09:15 UTC MAIN commitmail json YAML

limit the comment width in the header output to the size of the character cell

(macallan)

2022-08-23 18:28:14 UTC MAIN commitmail json YAML

if there are comments in the bdf copy them into the header output

(macallan)

2022-08-23 18:11:43 UTC MAIN commitmail json YAML

use [] instead of # to represent pixels in the header output, this way pixels
are somewhat closer to square and the preview looks closer to the actual
output.
suggested by uwe@

(macallan)

2022-08-23 13:56:04 UTC MAIN commitmail json YAML

add -h option to write font data as a header file that can be compiled
into a kernel

(macallan)

2022-08-16 21:52:00 UTC MAIN commitmail json YAML

move \n where it's supposed to be
now fonts wider than 8 are dumped correctly

(macallan)

2022-08-16 21:32:21 UTC MAIN commitmail json YAML

fix tpyo - now we draw characters with a smaller bounding box than the
character cell correctly, like term14.bdf

(macallan)

2022-08-16 21:28:53 UTC MAIN commitmail json YAML

add -d option to dump rendered characters to the console

(macallan)

2022-08-16 20:27:33 UTC MAIN commitmail json YAML

- convert remaining error output to err()
- suppress console output unless -v is specified

(macallan)

2022-08-15 11:55:52 UTC MAIN commitmail json YAML

nuke pasto in gffb_init()

(macallan)

2022-08-15 09:44:19 UTC MAIN commitmail json YAML

force software fallback for drawing rectangles into offscreen memory only
on NV_ARCH_40 and up

(macallan)

2022-08-01 22:23:35 UTC MAIN commitmail json YAML

more xf86SetModeDefaultName( after xf86CVTMode()

(macallan)

2022-08-01 22:21:58 UTC MAIN commitmail json YAML

more xf86SetModeDefaultName( after xf86CVTMode()

(macallan)

2022-08-01 22:19:41 UTC MAIN commitmail json YAML

more xf86SetModeDefaultName( after xf86CVTMode()

(macallan)

2022-08-01 22:17:27 UTC MAIN commitmail json YAML

more xf86SetModeDefaultName( after xf86CVTMode()

(macallan)

2022-08-01 06:56:43 UTC MAIN commitmail json YAML

sprinkle xf86SetModeDefaultName() since apparently xf86CVTMode() no longer
sets a mode's .name
now this works again on macppc

(macallan)

2022-07-28 06:32:35 UTC MAIN commitmail json YAML

if we add a mode for the DFP port, make sure it has a name so we don't crash
later on
now this works again on my 12" powerbook

(macallan)

2022-07-14 11:10:02 UTC MAIN commitmail json YAML

default to apple layout for both adb and usb keyboards

(macallan)

2022-06-30 06:30:44 UTC MAIN commitmail json YAML

a driver for Wacom Intuos drawing tablets, from Yorick Hardy
this has been sitting in my tree long enough and works fine with the hardware
I have access to

(macallan)

2022-06-29 19:43:46 UTC MAIN commitmail json YAML

2022-06-29 19:43:04 UTC MAIN commitmail json YAML

add some Wacom devices

(macallan)

2022-06-19 04:47:12 UTC MAIN commitmail json YAML

we also need WSDISPLAY_COMPAT_PCVT and _SYSCONS

(macallan)

2022-06-15 18:19:42 UTC MAIN commitmail json YAML

uncomment WSDISPLAY_COMPAT_USL
while there, add obiofan

(macallan)

2022-06-08 16:55:00 UTC MAIN commitmail json YAML

initialize a variable to appease clang

(macallan)

2022-06-02 16:22:27 UTC MAIN commitmail json YAML

check platform-do-*-mute properties to find out the resp. GPIO's polarity
now this works properly on pmac7,3

(macallan)

2022-05-25 21:01:04 UTC MAIN commitmail json YAML

be lazy about clearing the cursor since most likely we're going to overwrite
it anyway. Same logic as in cgsix.

(macallan)

2022-05-11 22:46:51 UTC MAIN commitmail json YAML

2022-05-11 21:13:13 UTC MAIN commitmail json YAML

treat PictOpOver with a solid source and an empty mask as simple fill
somewhat less glitchiness in gtk3 but we're not quite there yet

(macallan)

2022-05-11 21:10:37 UTC MAIN commitmail json YAML

disable accidentally committed debug goop

(macallan)

2022-05-11 19:37:53 UTC MAIN commitmail json YAML

2022-05-11 19:35:06 UTC MAIN commitmail json YAML

don't pretend to support PictOpSrc - those can be quite a bit more complicated
than simple copy ops
With this gtk3 buttons are still occasionally glitchy but at least we don't
crash anymore

(macallan)

2022-05-11 17:13:04 UTC MAIN commitmail json YAML

consistently use SX_RENDER_DEBUG, hide some more debug goop

(macallan)

2022-04-28 03:12:03 UTC MAIN commitmail json YAML

be lazy about clearing the cursor - in most cases we're about to overwrite it
anyway. Same logic as with VCONS_DONT_READ.
visible speedup in things like systat and top

(macallan)

2022-04-28 03:07:44 UTC MAIN commitmail json YAML

add locations where pkgsrc installs X11 fonts to the default font path

(macallan)

2022-04-21 01:15:25 UTC MAIN commitmail json YAML

#if 0 now unused audio_track_is_record() to appease clang

(macallan)

2022-04-20 23:32:17 UTC MAIN commitmail json YAML

the register is only one byte, act like it

(macallan)

2022-04-06 17:37:31 UTC MAIN commitmail json YAML

2022-04-06 17:14:43 UTC MAIN commitmail json YAML

we've been using the power key for its intended purpose for yesrs, which
makes breaking into DDB awkward, so let's do what everyone else does and
use Ctrl-Alt-Escape / Cmd-Escape depending on the layout variant

(macallan)

2022-03-30 22:34:48 UTC MAIN commitmail json YAML

get machine_ledaddr from PDC if we find one
now USELEDS works on my c360

(macallan)

2022-03-23 17:35:41 UTC MAIN commitmail json YAML

allow com at dino to actually attach

(macallan)

2022-03-22 18:32:51 UTC MAIN commitmail json YAML

2022-03-09 17:57:50 UTC MAIN commitmail json YAML

Check the PROM for the amount of available VRAM instead of guessing, and use
it all, now that we know we can.

thanks foo bar

(macallan)

2022-03-09 17:53:40 UTC MAIN commitmail json YAML

turns out we can map the full amount of VRAM on a 4MB board even when in
double buffer mode

thanks foo bar

(macallan)

2022-03-04 05:56:55 UTC MAIN commitmail json YAML

fix calculation for start of off-screen memory in 24bit colour

(macallan)

2022-02-26 03:02:25 UTC MAIN commitmail json YAML

unmask interrupt bits leading to other interrupt registers
now hardware interrupts actually fire instead of being found pending by the
timer interrupt
with this SCSI throughput on my c360 is what you'd expect from an UW esiop

(macallan)

2022-02-17 16:09:00 UTC MAIN commitmail json YAML

include pmap_pvt.c in bridge mode as well

(macallan)

2022-02-12 16:31:06 UTC MAIN commitmail json YAML

more __diagused to appease clang

(macallan)

2022-02-12 15:55:04 UTC MAIN commitmail json YAML

initialize ntag with the old dmatag so we never end up with an invalid one
suggested by jmcneill@

(macallan)

2022-02-03 17:23:50 UTC MAIN commitmail json YAML

bump MAXTSIZ
now clang runs again

(macallan)

2022-01-26 16:49:06 UTC MAIN commitmail json YAML

shut up an unused variable warning
apparently clang gets confused by bus_dmatag_subregion() being EOPNOTSUPP
on powerpc

(macallan)

2022-01-21 21:00:26 UTC MAIN commitmail json YAML

when enumerating ports and endpoints treat missing 'reg' properties as zero
ok jmcneill:
Looking at Linux. If port or endpoint are missing a 'reg' property it defaults to 0.
Please make our code do the same.

see https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/graph.yaml

with this my pinebook has a usable console again

(macallan)

2022-01-14 19:44:04 UTC MAIN commitmail json YAML

don't blindly enable memory and IO access on macppc

(macallan)

2022-01-14 19:42:56 UTC MAIN commitmail json YAML

add flag to disable blindly enabling memory and IO access on everything we
find

(macallan)

2022-01-01 01:15:12 UTC MAIN commitmail json YAML

more KASSERT vs. DIAGNOSTIC fallout

(macallan)

2022-01-01 01:03:50 UTC MAIN commitmail json YAML

make this compile again by moving a KASSERT into the #ifdef DIAGNOSTIC block
it depends on

(macallan)

2021-12-24 05:30:07 UTC MAIN commitmail json YAML

2021-12-24 05:22:54 UTC MAIN commitmail json YAML

2021-12-24 04:41:40 UTC MAIN commitmail json YAML

add macros to simplify issuing SX instructions, hide the address alignment /
displacement shenanigans SX needs, and make the code more resemble the
inline assembler source it arguably is

(macallan)

2021-12-19 04:50:27 UTC MAIN commitmail json YAML

always drain the pipeline before writing SX_ROP_CONTROL

(macallan)

2021-12-17 19:27:57 UTC MAIN commitmail json YAML

only write the mask register if we're actually changing it

(macallan)

2021-12-17 18:51:02 UTC MAIN commitmail json YAML

cg14_invert():
- use only 32bit accesses
- use byte mask / ROPs for partial writes

(macallan)

2021-12-10 21:57:13 UTC MAIN commitmail json YAML

break down large, unaligned copies into chunks that CG14Copy8_short_*()
can handle, make sure destinations are aligned whenever possible
now we only fall back to byte-wise access for really small copies, which
we probably shouldn't bother throwing at SX in the first place

(macallan)

2021-12-10 19:42:07 UTC MAIN commitmail json YAML

skip reading destination fb if we're going to overwrite it, only read words
we need to partially write
while there write mask registers only if we're actually going to need them
another 20% speedup

(macallan)

2021-12-10 19:09:56 UTC MAIN commitmail json YAML

CG14Copy8_short_rop(): skip the funnel shifter if source and destination are
aligned. Small but measurable speedup.

(macallan)

2021-12-10 18:25:44 UTC MAIN commitmail json YAML

add another Copy8() variant:
- supports unaligned source and destination
- uses all 32bit accesses
- supports copies up to 124 pixels wide so an entire line fits into registers
  and we can ignore x direction
... mostly an exercise in learning how to use the funnel shifter
TODO:
- skip the funnel shifter if source and destination are aligned
- skip fb reads where possible, like straight GXcopy

(macallan)

2021-12-08 17:03:38 UTC MAIN commitmail json YAML

be more consistent with underscores in instruction names

(macallan)

2021-12-08 16:40:14 UTC MAIN commitmail json YAML

add SX_ROPB instruction

(macallan)

2021-12-03 22:41:18 UTC MAIN commitmail json YAML

add shift instructions

(macallan)

2021-12-03 19:53:23 UTC MAIN commitmail json YAML

2021-12-03 19:43:22 UTC MAIN commitmail json YAML

start optimizing Copy8() operations
- only go right to left if srcY == dstY in the same pixmap
- special case copy where src and dst X have the same alignment
- special case the above where we don't need to read dst
scrolling should now be about as fast as SX can go

(macallan)

2021-12-03 16:54:26 UTC MAIN commitmail json YAML

use 32bit accesses for non-trivial cases in Solid8() as well
while there make GXset and GXclear special cases of GXcopy
with this we only ever read the destination pixmap if we really need to

(macallan)

2021-12-03 06:10:07 UTC MAIN commitmail json YAML

2021-12-02 22:53:43 UTC MAIN commitmail json YAML

fix shadow fb geometry calculations
... not that a shadow fb helps much on this hardware.

(macallan)

2021-12-02 22:35:26 UTC MAIN commitmail json YAML

first step towards acceleration in 8 bit colour
- Copy() uses byte mode
- Solid() uses 32bit writes where possible for plain fills
... mostly works, but could be quite a bit faster

(macallan)

2021-12-02 22:32:36 UTC MAIN commitmail json YAML

support 8 bit colour
no acceleration yet, the code is riddled with 32bit per pixel assumptions

(macallan)

2021-12-01 17:47:11 UTC MAIN commitmail json YAML

remove old guesswork code to determine VRAM size - we can rely on OBP now

(macallan)

2021-11-12 19:01:19 UTC MAIN commitmail json YAML

2021-11-12 18:58:14 UTC MAIN commitmail json YAML

crude beginnings of a driver for the Southland Media / Quantum 3D MGX
basic acceleration mostly works in 24bit colour
needs native hw cursor code
windowmaker produces visible artifacts, but it's good enough to run amiwm and
a few xterms

(macallan)

2021-11-11 19:37:30 UTC MAIN commitmail json YAML

provide an endian-flipped view of the framebuffer via mmap() if we know how
for now this is sparc64 only

(macallan)

2021-10-31 05:31:12 UTC MAIN commitmail json YAML

remove accidentially committed debug goop
thanks ryo@

(macallan)

2021-10-30 05:37:39 UTC MAIN commitmail json YAML

actually mmap() the blitter registers when asked to, while there do some
magic number reduction

(macallan)

2021-10-29 19:12:30 UTC MAIN commitmail json YAML

2021-10-29 19:10:14 UTC MAIN commitmail json YAML

install mgxreg.h so we can use it from Xorg

(macallan)

2021-10-22 19:22:43 UTC MAIN commitmail json YAML

2021-10-22 19:21:13 UTC MAIN commitmail json YAML

return 0 in mgx_ioctl()::FBIOG*
now Xorg can find us

(macallan)

2021-10-01 21:14:06 UTC MAIN commitmail json YAML

use quirk bit for devices that need sc_alwayson instead of adding yet another
if (uha->uiaa->uiaa_vendor == USB_VENDOR_..., remove entries now covered
by UQ_ALWAYS_ON

(macallan)

2021-10-01 21:09:50 UTC MAIN commitmail json YAML

add a quirk for devices that need ums::sc_alwayson

(macallan)

2021-10-01 21:03:51 UTC MAIN commitmail json YAML

2021-10-01 21:01:34 UTC MAIN commitmail json YAML

add PixArt Raspberry Pi Mouse

(macallan)

2021-09-18 23:54:13 UTC MAIN commitmail json YAML

explain why we skip over dev 1f func 7 in config space access functions
no functional change

(macallan)

2021-09-11 16:29:18 UTC MAIN commitmail json YAML

fix license copypasta
NFC

(macallan)

2021-09-10 23:32:17 UTC MAIN commitmail json YAML

this driver allows to read the speeds of fans controlled via mac-io/fans/*
found in some G5, for example my 7,3
based on guesswork and observation

(macallan)

2021-09-03 17:18:40 UTC MAIN commitmail json YAML

2021-08-22 23:11:59 UTC MAIN commitmail json YAML

set EXA_MIXED_PIXMAPS so we don't get pixmaps we can't handle in NVSolid()
while there shut up some related debug output and remove unused variables

(macallan)

2021-08-07 06:04:26 UTC MAIN commitmail json YAML

pass sensor locations to i2c devices if we can find them
tested on 2nd gen Mini

(macallan)

2021-07-30 22:07:14 UTC MAIN commitmail json YAML

2021-07-28 00:59:10 UTC MAIN commitmail json YAML

check temperatures a bit more often
while there, explain why the delay is variable

(macallan)

2021-07-28 00:36:00 UTC MAIN commitmail json YAML

adjust comments, break a long line
NFC

(macallan)

2021-07-27 23:38:42 UTC MAIN commitmail json YAML

first step towards abstracting thermal zone management out of the fcu driver
( and eventually, the smu driver )
todo:
- add sysctl()s to set zone parameters
- handle envsys
- adapt smu

(macallan)

2021-07-27 20:23:42 UTC MAIN commitmail json YAML

2021-07-25 00:11:43 UTC MAIN commitmail json YAML

don't put CPUs in separate zones, turns out there really isn't much that
keeps the airflow apart around them

(macallan)

2021-07-01 22:57:45 UTC MAIN commitmail json YAML

fix off by one which resulted in all idle time reported as interrupt time
final fix from nick@

(macallan)

2021-06-18 23:00:47 UTC MAIN commitmail json YAML

do ii2 locking dance in psoc_dump()

(macallan)

2021-06-18 22:57:18 UTC MAIN commitmail json YAML

use opt_psoc.h, suppress some debug output in !PSOC_DEBUG

(macallan)

2021-06-18 22:52:04 UTC MAIN commitmail json YAML

use opt_lmu.h
while there, remove an obsolete comment

(macallan)

2021-06-18 22:24:51 UTC MAIN commitmail json YAML

defflag LMU_DEBUG and PSOC_DEBUG

(macallan)

2021-05-21 21:21:01 UTC MAIN commitmail json YAML

add \n to attach output

(macallan)

2021-05-21 20:42:05 UTC MAIN commitmail json YAML

don't prop_object_retain(NULL)

(macallan)

2021-05-21 20:23:35 UTC MAIN commitmail json YAML

fix wsdisplay attachment in the New Order Of Things

(macallan)

2021-05-21 20:22:15 UTC MAIN commitmail json YAML

use probed VRAM size to determine where to put the cursor instead of blindly
assuming 16MB
also make sure the glyph cache can't overlap with the cursor

(macallan)

2021-04-24 00:49:26 UTC MAIN commitmail json YAML

add -l option to dump a list of available fonts

(macallan)

2021-04-24 00:15:37 UTC MAIN commitmail json YAML

add an ioctl() to get a list of fonts currently available via wsfont

(macallan)

2021-04-02 16:59:59 UTC MAIN commitmail json YAML

clarify comment in previous
( this is a hack, should go away when the root cause is fixed etc. )
no functional change

(macallan)

2021-04-01 22:02:20 UTC MAIN commitmail json YAML

avoid mapping 0xfffff000 - my beige G3 DSIs on it
with this my the machine boots again
tested on a variety of G4 and G5 models with no problems

(macallan)

2021-03-25 17:22:02 UTC MAIN commitmail json YAML

try WSDISPLAYIO_GET_EDID if DDC2 fails
now my iMac G5 correctly identifies its display

(macallan)

2021-03-11 19:36:11 UTC MAIN commitmail json YAML

add basic support for iMac G5 audio:
- match AOAShasta
- deal with headphone gpios labeled as lineout in OF
- set sc_mode to SNAPPER_IS_PCM3052 - OF makes it look like an unlabeled
  TAS3004
TODO:
- actually support pcm3052 instead of treating it like a sw codec

(macallan)

2021-03-10 19:45:41 UTC MAIN commitmail json YAML

switch G5 iMacs to full speed

(macallan)

2021-03-09 01:17:37 UTC MAIN commitmail json YAML

add support for the CPU temperature sensor found in iMac G5s

(macallan)

2021-03-02 06:31:25 UTC MAIN commitmail json YAML

add gffb
tested on 20" 1.8GHz iMac G5

(macallan)

2021-02-25 20:51:10 UTC MAIN commitmail json YAML

more node name adjustments
also, pass sensor names if we can find them
now we find and currectly use the hard drive temperature sensor on my iMac G5

(macallan)

2021-02-25 20:49:08 UTC MAIN commitmail json YAML

deal with node name inconsistencies between PowerMac10,x and 8,x
Now we find fans and iic devices on iMac G5

(macallan)

2021-02-25 19:11:44 UTC MAIN commitmail json YAML

match Geforce FX5200 Go found in some iMac G5 models

(macallan)