The NetBSD Project

CVS log for src/sys/arch/arm/sunxi/sunxi_tcon.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13.2.3 / (download) - annotate - [select for diffs], Sun Oct 16 17:23:40 2022 UTC (17 months, 4 weeks ago) by bouyer
Branch: bouyer-sunxi-drm
Changes since 1.13.2.2: +3 -3 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored)

sunxi_tcon1_set_videomode: use DRM_MODE_FLAGS_*

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Sun Oct 16 17:21:46 2022 UTC (17 months, 4 weeks ago) by bouyer
Branch: bouyer-sunxi-drm
Changes since 1.13.2.1: +3 -3 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored)

sunxi_tcon1_set_videomode() wants a drm_display_mode

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sun Oct 16 17:08:46 2022 UTC (17 months, 4 weeks ago) by bouyer
Branch: bouyer-sunxi-drm
Changes since 1.13: +140 -5 lines
Diff to previous 1.13 (colored)

Abandon sunxi_lcdc for the A20, there's too much pieces missing.
Convert sunxi_tcon to drm. Actually it's connected to DRM only when
in LVDS mode; for HDMI sunxi_hdmi does the interface.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Aug 20 20:25:27 2021 UTC (2 years, 7 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, 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, bouyer-sunxi-drm-base, HEAD
Branch point for: bouyer-sunxi-drm
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

fix various typos in comments and log messages.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Aug 19 20:56:36 2021 UTC (2 years, 7 months ago) by andvar
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

s/memry/memory+s/softare/software/+s/grapics/graphics+s/ouput/output

Revision 1.7.14.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:19 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.7: +9 -8 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 27 03:10:20 2021 UTC (3 years, 2 months ago) by thorpej
Branch: 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
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

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.10 / (download) - annotate - [select for diffs], Wed Jan 27 02:09:39 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Use DEVICE_COMPAT_EOL.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 25 14:20:39 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +3 -4 lines
Diff to previous 1.8 (colored)

Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 18 02:35:49 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +9 -7 lines
Diff to previous 1.7 (colored)

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.5.2.4 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:40 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.5.2.3: +77 -61 lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 1 17:18:44 2018 UTC (5 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, 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, isaki-audio2-base, isaki-audio2, 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
Changes since 1.6: +77 -61 lines
Diff to previous 1.6 (colored)

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.5.2.3 / (download) - annotate - [select for diffs], Mon Apr 16 01:59:53 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.5.2.2: +51 -2 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 7 18:09:33 2018 UTC (6 years ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Changes since 1.5: +51 -2 lines
Diff to previous 1.5 (colored)

Allow the graphic driver to be the kernel's console.
Match either from the allwinner,pipeline entry in the simple-framebuffer
fdt entry, or from console= from the command line.
console=fb0 and console=fb1 selects display backend unit 0 or 1 respectively;
console=fb selects the first activated display backend.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:12 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.5.2.1: +859 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.5.2.1, Fri Apr 6 08:23:40 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.5: +0 -859 lines
FILE REMOVED

file sunxi_tcon.c was added on branch pgoyette-compat on 2018-04-07 04:12:12 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 6 08:23:40 2018 UTC (6 years ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-compat-0407
Branch point for: pgoyette-compat
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Fix bad cut'n'paste, pointed out by David Binderman in PR port-arm/53158

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 4 16:01:05 2018 UTC (6 years ago) by bouyer
Branch: MAIN
Changes since 1.3: +22 -8 lines
Diff to previous 1.3 (colored)

Reset more regs at attach time, just in case.
As the mux is in unit 0 but is used by both units, we have to keep
  unit 0's ahb clock enabled.
Properly set sc_output_type.

Now pipeline 1 can be activated without activating pipeline 0 first.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 3 16:17:59 2018 UTC (6 years ago) by bouyer
Branch: MAIN
Changes since 1.2: +31 -2 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Tue Apr 3 13:38:13 2018 UTC (6 years ago) by bouyer
Branch: MAIN
Changes since 1.1: +3 -4 lines
Diff to previous 1.1 (colored)

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) - annotate - [select for diffs], Tue Apr 3 12:52:16 2018 UTC (6 years ago) by bouyer
Branch: 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.

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>