CVS log for src/sys/arch/arm/sunxi/sunxi_hdmi.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / sunxi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.14.16.3: download - view: text, markup, annotated - select for diffs
Sun Oct 16 17:11:05 2022 UTC (2 years, 1 month ago) by bouyer
Branches: bouyer-sunxi-drm
Diff to: previous 1.14.16.2: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.16.2: +3 -2
lines
Propagate videomode back to tcon
Revision 1.14.16.2: download - view: text, markup, annotated - select for diffs
Sun Oct 16 14:56:04 2022 UTC (2 years, 1 month ago) by bouyer
Branches: bouyer-sunxi-drm
Diff to: previous 1.14.16.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.16.1: +409 -190
lines
Work in progress: convert sunxi_hdmi to drm
Revision 1.14.16.1: download - view: text, markup, annotated - select for diffs
Sun Oct 2 10:37:12 2022 UTC (2 years, 2 months ago) by bouyer
Branches: bouyer-sunxi-drm
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +23 -29
lines
Patch from Robert Swindells: start converting the A20 console driver to
drm2.
It builds but panics at boot because of missing helper functions for
debe.
Revision 1.10.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:19 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +9 -8
lines
Sync with HEAD.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:20 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
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,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
HEAD
Branch point for: bouyer-sunxi-drm
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4
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.13: download - view: text, markup, annotated - select for diffs
Wed Jan 27 02:09:39 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Use DEVICE_COMPAT_EOL.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jan 25 14:20:39 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -4
lines
Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jan 18 02:35:49 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -7
lines
Remove "struct of_compat_data" and replace its usage with
"struct device_compatible_entry"; they are ABI-compatible.
Fix several "loses const qualifier" bugs encountered during
this conversion.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:38 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +33 -54
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Dec 23 18:20:02 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
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-futex
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5
lines
No need to use I2C_F_POLL here.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Dec 23 00:24:02 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
When deciding to delay (rather than kpause), pay attention to
I2C_F_POLL, not 'cold'.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 22 23:23:30 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -33
lines
Cleanup i2c bus acquire / release, centralizing all of the logic into
iic_acquire_bus() / iic_release_bus(). "acquire" and "release" hooks
no longer need to be provided by back-end controller drivers (only if
they need special handling, e.g. powering on the i2c controller).
This results in the removal of a bunch of rendundant code from each
back-end controller driver.
Assert that we are not in hard interrupt context in iic_acquire_bus(),
iic_exec(), and iic_release_bus().
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jul 19 10:54:26 2019 UTC (5 years, 4 months ago) by bouyer
Branches: MAIN
CVS tags: phil-wifi-20191119,
netbsd-9-base,
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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +23 -20
lines
Don't allocate edid informations on stack, it's too large (struct edid_info is
near 3KB), and causes a stack overflow, corrupting proc0's struct pcb.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:56 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Sync with HEAD
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:37 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20190609,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
Merge the [pgoyette-compat] branch
Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:27 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.3: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.3: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:24 2018 UTC (6 years, 3 months ago) by riastradh
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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:40 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.2: +38 -24
lines
Sync with HEAD
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jun 1 17:18:44 2018 UTC (6 years, 6 months ago) by bouyer
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +38 -24
lines
Defer display hardware reset to pipeline activation. This way, if we have a
pipeline setup which we can't manage, the simple framebuffer will keep working.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:12 2018 UTC (6 years, 8 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: +1229 -0
lines
Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
Revision 1.3.2.1
Tue Apr 3 16:17:59 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.3: +0 -1229
lines
file sunxi_hdmi.c was added on branch pgoyette-compat on 2018-04-07 04:12:12 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 3 16:17:59 2018 UTC (6 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407
Branch point for: pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -2
lines
disable all clocks at end of attach function, and re-enable ahb and mod only
in activate function.
enable ram gate (in debe) and video plls (in tcon) only when the video output
is enabled. Saves about 20mw when both video outputs are off.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Apr 3 13:38:13 2018 UTC (6 years, 8 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -5
lines
A10 and A20 should have the same display hardware, so consistenly support
sun4i-a10 the same way as sun7i-a20.
This would need to be tested on a real A10.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Apr 3 12:52:16 2018 UTC (6 years, 8 months ago) by bouyer
Branches: MAIN
work in progress on porting graphics drivers from arm/allwinner to fdt.
sunxidebe: display backend drivers
sunxitcon: lcd controller driver
sunxihdmi: hdmi controller driver
sunxidep: display engine pipeline driver. Its role is only to parse the
fdt display-engine node, and activate de backend drivers based on the
content of allwinner,pipelines
So far HDMI and lvds output works, in dual-framebuffer mode.
It has only been tested on A20. It should be OK on the A10 too, but
will likely need more work for other SoCs.
Console is not handled yet, and it conflicts with the simplefb driver if
it has been activated by u-boot.
CVSweb <webmaster@jp.NetBSD.org>