Home | History | Annotate | Download | only in radeon
History log of /src/sys/external/bsd/drm2/radeon/radeondrmkmsfb.c
RevisionDateAuthorComments
 1.17  18-Jul-2022  riastradh drm: Simplify async framebuffer child task attachment logic.

No need for scheduling the task to fail. Nix needless error
branches.
 1.16  18-Jul-2022  riastradh 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.
 1.15  19-Dec-2021  riastradh Remove last users of drmP.h.
 1.14  19-Dec-2021  riastradh struct radeon_framebuffer is no more.
 1.13  06-Nov-2019  mrg remove stray ;
 1.12  31-May-2019  maya 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.
 1.11  31-May-2019  maya Quickly hide a KASSERT that fires, hopefully before people trip over it.
 1.10  31-May-2019  maya Teach radeondrmkmsfb to use drmfb instead of its own, duplicated logic.
 1.9  31-May-2019  jmcneill Make the first EDID we find available to genfb
 1.8  27-Aug-2018  riastradh Remove temporary drm_fb_helper_set_config stub from old code.
 1.7  20-Jan-2017  maya branches: 1.7.12; 1.7.14;
Check pmf_device_register return value. NFC
Appeases static analyzers.
 1.6  05-Nov-2015  mrg branches: 1.6.2; 1.6.4;
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.
 1.5  18-Nov-2014  nonaka branches: 1.5.2;
Use correct linebytes.
 1.4  12-Nov-2014  chs 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
 1.3  26-Jul-2014  riastradh branches: 1.3.2; 1.3.4; 1.3.6;
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.
 1.2  25-Jul-2014  riastradh Prettify intelfb/radeondrmkmsfb autoconf output.
 1.1  25-Jul-2014  riastradh Hook up radeondrmkmsfb code.

Builds, not testable yet.
 1.3.6.3  03-Dec-2017  jdolecek update from HEAD
 1.3.6.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.6.1  26-Jul-2014  tls file radeondrmkmsfb.c was added on branch tls-maxphys on 2014-08-20 00:04:22 +0000
 1.3.4.3  11-Feb-2016  snj 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.
 1.3.4.2  03-Dec-2014  snj 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
 1.3.4.1  28-Nov-2014  martin 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.
 1.3.2.2  10-Aug-2014  tls Rebase.
 1.3.2.1  26-Jul-2014  tls file radeondrmkmsfb.c was added on branch tls-earlyentropy on 2014-08-10 06:55:40 +0000
 1.5.2.2  05-Feb-2017  skrll Sync with HEAD
 1.5.2.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.6.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.6.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.7.14.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.7.14.1  10-Jun-2019  christos Sync with HEAD
 1.7.12.1  06-Sep-2018  pgoyette Sync with HEAD

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

RSS XML Feed