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


Keyword substitution: kv
Default branch: MAIN


Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jul 18 23:34:03 2022 UTC (2 years, 8 months ago) by riastradh
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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -9 lines
drm: Simplify async framebuffer child task attachment logic.

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

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jul 18 23:33:53 2022 UTC (2 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -18 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 19 10:33:00 2021 UTC (3 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -3 lines
Remove last users of drmP.h.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Dec 19 01:47:41 2021 UTC (3 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -5 lines
struct radeon_framebuffer is no more.

Revision 1.7.14.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:00 2020 UTC (4 years, 11 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.7.14.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.14.1: +2 -3 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Nov 6 07:31:20 2019 UTC (5 years, 4 months ago) by mrg
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-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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3 lines
remove stray ;

Revision 1.7.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:08:33 2019 UTC (5 years, 9 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +60 -230 lines
Sync with HEAD

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri May 31 03:41:32 2019 UTC (5 years, 9 months ago) by maya
Branches: MAIN
CVS tags: phil-wifi-20190609, 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.11: preferred, colored
Changes since revision 1.11: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri May 31 03:28:48 2019 UTC (5 years, 9 months ago) by maya
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -5 lines
Quickly hide a KASSERT that fires, hopefully before people trip over it.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri May 31 02:35:08 2019 UTC (5 years, 9 months ago) by maya
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +60 -243 lines
Teach radeondrmkmsfb to use drmfb instead of its own, duplicated logic.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 31 01:58:07 2019 UTC (5 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +16 -3 lines
Make the first EDID we find available to genfb

Revision 1.7.12.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:37 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +5 -5 lines
Sync with HEAD

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

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Aug 27 13:36:14 2018 UTC (6 years, 6 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, isaki-audio2-base, isaki-audio2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -5 lines
Remove temporary drm_fb_helper_set_config stub from old code.

Revision 1.3.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:00 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.3.6.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.6.2: +35 -5 lines
update from HEAD

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:00 2017 UTC (7 years, 11 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +6 -4 lines
Sync with HEAD

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:45 2017 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +6 -4 lines
Sync with HEAD

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:54 2017 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +6 -4 lines
Sync with HEAD

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jan 20 12:25:07 2017 UTC (8 years, 2 months ago) by maya
Branches: 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-3-RELEASE, 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -4 lines
Check pmf_device_register return value. NFC
Appeases static analyzers.

Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Thu Feb 11 23:02:54 2016 UTC (9 years, 1 month ago) by snj
Branches: 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
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.2: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:03 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
Sync with HEAD (as of 26th Dec)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Nov 5 20:52:46 2015 UTC (9 years, 4 months ago) by mrg
Branches: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 3 23:00:17 2014 UTC (10 years, 3 months ago) by snj
Branches: 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
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +32 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 28 10:03:03 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 18 09:28:36 2014 UTC (10 years, 4 months ago) by nonaka
Branches: MAIN
CVS tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -4 lines
Use correct linebytes.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Nov 12 16:07:17 2014 UTC (10 years, 4 months ago) by chs
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +32 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:22 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.3.6.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.6.1: +346 -0 lines
Rebase to HEAD as of a few days ago.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:55:40 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +346 -0 lines
Rebase.

Revision 1.3.6.1
Sat Jul 26 07:02:13 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.3: +0 -346 lines
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 (10 years, 7 months ago) by tls
Branches: tls-earlyentropy
FILE REMOVED
Changes since revision 1.3: +0 -346 lines
file radeondrmkmsfb.c was added on branch tls-earlyentropy on 2014-08-10 06:55:40 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jul 26 07:02:13 2014 UTC (10 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: tls-maxphys, tls-earlyentropy, netbsd-7
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -13 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 25 16:35:43 2014 UTC (10 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -2 lines
Prettify intelfb/radeondrmkmsfb autoconf output.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jul 25 12:35:03 2014 UTC (10 years, 8 months ago) by riastradh
Branches: MAIN
Hook up radeondrmkmsfb code.

Builds, not testable yet.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>