The NetBSD Project

CVS log for src/sys/external/bsd/drm2/radeon/radeondrmkmsfb.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / external / bsd / drm2 / radeon

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 18 23:34:03 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: triaxx-drm, thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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, HEAD
Changes since 1.16: +3 -9 lines
Diff to previous 1.16 (colored)

drm: Simplify async framebuffer child task attachment logic.

No need for scheduling the task to fail.  Nix needless error
branches.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jul 18 23:33:53 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.15: +7 -18 lines
Diff to previous 1.15 (colored)

drm: Fix asynchronous attach logic for drm framebuffer devices.

The driver-specific sc_scheduled boolean flag was racy.  It is
necessary to use config_pending_incr/decr to hold up console
selection and userland start (and block detach, not that that works
yet) until the drmfb attach has completed.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 19 10:33:00 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

Remove last users of drmP.h.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 19 01:47:41 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.13: +3 -5 lines
Diff to previous 1.13 (colored)

struct radeon_framebuffer is no more.

Revision 1.7.14.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:00 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.7.14.1: +2 -3 lines
Diff to previous 1.7.14.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 6 07:31:20 2019 UTC (4 years, 3 months ago) by mrg
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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, 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
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored)

remove stray ;

Revision 1.7.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:08:33 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.7: +60 -230 lines
Diff to previous 1.7 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 31 03:41:32 2019 UTC (4 years, 9 months ago) by maya
Branch: MAIN
CVS Tags: phil-wifi-20190609, 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
Changes since 1.11: +5 -2 lines
Diff to previous 1.11 (colored)

Restore previous KASSERT but with the same condition as in nouveaufb.c,
which is the code I was trying to mimic.

Thanks riastradh for the heads up and fix.

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 31 03:28:48 2019 UTC (4 years, 9 months ago) by maya
Branch: MAIN
Changes since 1.10: +2 -5 lines
Diff to previous 1.10 (colored)

Quickly hide a KASSERT that fires, hopefully before people trip over it.

Revision 1.10 / (download) - annotate - [select for diffs], Fri May 31 02:35:08 2019 UTC (4 years, 9 months ago) by maya
Branch: MAIN
Changes since 1.9: +60 -243 lines
Diff to previous 1.9 (colored)

Teach radeondrmkmsfb to use drmfb instead of its own, duplicated logic.

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 31 01:58:07 2019 UTC (4 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.8: +16 -3 lines
Diff to previous 1.8 (colored)

Make the first EDID we find available to genfb

Revision 1.7.12.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:37 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 27 13:36:14 2018 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, isaki-audio2-base, isaki-audio2
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

Remove temporary drm_fb_helper_set_config stub from old code.

Revision 1.3.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:00 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.6.2: +35 -5 lines
Diff to previous 1.3.6.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

update from HEAD

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:00 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.6: +6 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:45 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.6: +6 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:54 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.1: +6 -4 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 20 12:25:07 2017 UTC (7 years, 1 month ago) by maya
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.6: +6 -4 lines
Diff to previous 1.6 (colored)

Check pmf_device_register return value. NFC
Appeases static analyzers.

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Thu Feb 11 23:02:54 2016 UTC (8 years ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Changes since 1.3.4.2: +4 -4 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1083):
	sys/external/bsd/drm2/radeon/radeondrmkmsfb.c: revision 1.6
set the "width" and "height" parameters from the surface_width and
surface_height members.  idea from the intel code and jmcneill@.
this makes the fb on my RV370 use the full display size, not the
(not actually connected) 800x600 the svideo output supports.
X still starts up at 800x600 mode, but xrandr can fix that.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:03 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 5 20:52:46 2015 UTC (8 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

set the "width" and "height" parameters from the surface_width and
surface_height members.  idea from the intel code and jmcneill@.

this makes the fb on my RV370 use the full display size, not the
(not actually connected) 800x600 the svideo output supports.

X still starts up at 800x600 mode, but xrandr can fix that.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Wed Dec 3 23:00:17 2014 UTC (9 years, 3 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.3.4.1: +32 -3 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

Pull up following revision(s) (requested by chs in ticket #290):
	sys/external/bsd/drm2/radeon/radeondrmkmsfb.c: revision 1.4
apply several changes from intelfb.c revs 1.7 through 1.9:
 - provide a setmode callback for genfb
 - add a pmf shutdown handler to switch genfb into polling mode
 - no need to call drm_fb_helper_set_config after genfb attaches,
   as the setmode callback is called by genfb_attach

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Fri Nov 28 10:03:03 2014 UTC (9 years, 3 months ago) by martin
Branch: netbsd-7
Changes since 1.3: +3 -4 lines
Diff to previous 1.3 (colored)

Pull up following revision(s) (requested by nonaka in ticket #272):
	sys/external/bsd/drm2/dist/drm/radeon/radeon_fb.c: revision 1.5
	sys/external/bsd/drm2/radeon/radeondrmkmsfb.h: revision 1.2
	sys/external/bsd/drm2/radeon/radeondrmkmsfb.c: revision 1.5
Use correct linebytes.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 18 09:28:36 2014 UTC (9 years, 3 months ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored)

Use correct linebytes.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 12 16:07:17 2014 UTC (9 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.3: +32 -3 lines
Diff to previous 1.3 (colored)

apply several changes from intelfb.c revs 1.7 through 1.9:
 - provide a setmode callback for genfb
 - add a pmf shutdown handler to switch genfb into polling mode
 - no need to call drm_fb_helper_set_config after genfb attaches,
   as the setmode callback is called by genfb_attach

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:22 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.3.6.1: +346 -0 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:40 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.3.2.1: +346 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Rebase.

Revision 1.3.6.1, Sat Jul 26 07:02:13 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.3: +0 -346 lines
FILE REMOVED

file radeondrmkmsfb.c was added on branch tls-maxphys on 2014-08-20 00:04:22 +0000

Revision 1.3.2.1, Sat Jul 26 07:02:13 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.3: +0 -346 lines
FILE REMOVED

file radeondrmkmsfb.c was added on branch tls-earlyentropy on 2014-08-10 06:55:40 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 26 07:02:13 2014 UTC (9 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: tls-maxphys, tls-earlyentropy, netbsd-7
Changes since 1.2: +9 -13 lines
Diff to previous 1.2 (colored)

Fix radeon framebuffer mmapping.

The framebuffer is not a system-RAM-backed, TTM-managed object;
rather, it is a VRAM-backed object.  So we have to use its bus
address, which is a little less sketchy with bus_space_mmap anyway.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 25 16:35:43 2014 UTC (9 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.1: +5 -2 lines
Diff to previous 1.1 (colored)

Prettify intelfb/radeondrmkmsfb autoconf output.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 25 12:35:03 2014 UTC (9 years, 7 months ago) by riastradh
Branch: MAIN

Hook up radeondrmkmsfb code.

Builds, not testable yet.

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>