Home | History | Annotate | Download | only in bsd-core
History log of /src/sys/external/bsd/drm/dist/bsd-core/radeon_drv.c
RevisionDateAuthorComments
 1.12  28-Aug-2011  jmcneill Split out ati_pcigart into a separate module so it can be shared with r128drm
 1.11  28-Aug-2011  jmcneill set default WARNS for modules to 3 -- the only one that needs < 3 now is pf
 1.10  05-Jul-2010  mrg move all the radeondrm firmware images into the filesystem. check that
some firmware sizes are the expected size. (XXX make all.)

based upon similar changes seen in the linux radeon drm driver.

this saves about 250KB in the kernel or module.
 1.9  03-Mar-2010  mrg branches: 1.9.2;
make suspend/resume actually work:
- we have to DRM_LOCK()/DRM_UNLOCK(), thus s/rad_dev/dev/ in a variable name
- only call into radeon_cp_{stop,resume}() if the device is active

with this my nforce4 dual core amd system is able to suspend/resume with both
X and drm active.
 1.8  24-Feb-2010  dyoung A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
 1.7  08-Jan-2010  dyoung branches: 1.7.2;
Expand PMF_FN_* macros.
 1.6  14-Dec-2009  kefren add suspend/resume hooks for command processor
 1.5  12-Dec-2009  kefren add stub pmf hook
 1.4  06-Dec-2009  dyoung Delete the do-nothing device-activation hook, drm_activate().
 1.3  19-Jun-2009  mrg merge the changes from drm 85b9f737db0d2a845e4d7e2bbf9ad12ff9e2227c
with our changes and the work recently done by Arto Huusko
<arto.huusko@pp2.inet.fi> and FUKAUMI Naoki <fun@naobsd.org>.

it includes all the changes arto provided from both mesa-drm and
the r6xx-r7xx-support branch. it does not yet include code to
handle the (deleted) drm_pciids.h file, but i'll probably just
check in a generated one for now.

i have not yet merged the changes from outside this dir.


from arto's messages to tech-x11:

The important change that was needed is that drm_scatter.c was
fixed to return pointer to all allocated pages, not just the
beginning of the allocated segments.

Other changes:

- drm_scatter maps COHERENT memory
- drm_drawable: drawable handle allocation is done
inside lock
- drm_memory: when mapping "agp" memory, store offset
of mapped area, so that new requests to same offset
return the same area instead of trying to remap
and fail
- drm_vm: use bus_space_mmap for frame buffer and registers

- r600_cp.c: ioremapfree allocated gart range
- radeon_cp.c: use mtsleep
- some memset calls I had added had their args swapped,
and no memory was cleared
 1.2  19-Jul-2008  mrg branches: 1.2.2; 1.2.4; 1.2.6; 1.2.10; 1.2.14; 1.2.18; 1.2.20;
pull over many many changes from netbsd-current sys/dev/{,pci/}drm/.
make the mesa-drm style Makefile's actually run on netbsd (but i doubt
they work yet.)

this still has a lot to go. it doesn't work yet, but it's getting
close.

most of this is from other authors than myself: yorrick, drochner,
jared, bjs, all contributed a lot more than i have so far, but there's
a bunch of clean up from myself in here as well.
 1.1  19-Jul-2008  mrg branches: 1.1.1;
Initial revision
 1.1.1.2  19-Jun-2009  mrg import mesa-drm git from version 85b9f737db0d2a845e4d7e2bbf9ad12ff9e2227c.
 1.1.1.1  19-Jul-2008  mrg import mesa-drm git from version 5d27fd94afaaf434c3a92af0075420b550055bfb,
which is approximately june 25th or so.
 1.2.20.1  21-Apr-2010  matt sync to netbsd-5
 1.2.18.5  11-Aug-2010  yamt sync with head.
 1.2.18.4  11-Mar-2010  yamt sync with head
 1.2.18.3  18-Jul-2009  yamt sync with head.
 1.2.18.2  04-May-2009  yamt sync with head.
 1.2.18.1  19-Jul-2008  yamt file radeon_drv.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:29 +0000
 1.2.14.1  23-Jul-2009  jym Sync with HEAD.
 1.2.10.2  21-Nov-2010  riz Pull up following patch (requested by mrg in ticket #1406):
sys/external/bsd/drm/dist/bsd-core/radeon_drv.c: patch

Make suspend/resume actually work with radeondrm configured.
From Pierre Pronchery in kern/43327.
 1.2.10.1  20-Jun-2009  snj Apply patch (requested by mrg in ticket #823):
import mesa-drm git from version 85b9f737db0d2a845e4d7e2bbf9ad12ff9e2227c.
--
merge the changes from drm 85b9f737db0d2a845e4d7e2bbf9ad12ff9e2227c
with our changes and the work recently done by Arto Huusko and FUKAUMI
Naoki.

it includes all the changes arto provided from both mesa-drm and
the r6xx-r7xx-support branch. it does not yet include code to
handle the (deleted) drm_pciids.h file, but i'll probably just
check in a generated one for now.

i have not yet merged the changes from outside this dir.

from arto's messages to tech-x11:

The important change that was needed is that drm_scatter.c was
fixed to return pointer to all allocated pages, not just the
beginning of the allocated segments.

Other changes:

- drm_scatter maps COHERENT memory
- drm_drawable: drawable handle allocation is done
inside lock
- drm_memory: when mapping "agp" memory, store offset
of mapped area, so that new requests to same offset
return the same area instead of trying to remap
and fail
- drm_vm: use bus_space_mmap for frame buffer and registers

- r600_cp.c: ioremapfree allocated gart range
- radeon_cp.c: use mtsleep
- some memset calls I had added had their args swapped,
and no memory was cleared
--
add a freshly generated drm_pciids.h
--
some minor clean up:
- reduce diffs to mesa-drm where possible
- fix various formatting issues
- netbsd uses major 180 for drm (XXX)
 1.2.6.2  28-Sep-2008  mjf Sync with HEAD.
 1.2.6.1  19-Jul-2008  mjf file radeon_drv.c was added on branch mjf-devfs2 on 2008-09-28 10:40:37 +0000
 1.2.4.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.4.1  19-Jul-2008  wrstuden file radeon_drv.c was added on branch wrstuden-revivesa on 2008-09-18 04:36:48 +0000
 1.2.2.2  28-Jul-2008  simonb Sync with head.
 1.2.2.1  19-Jul-2008  simonb file radeon_drv.c was added on branch simonb-wapbl on 2008-07-28 14:37:29 +0000
 1.7.2.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.7.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.9.2.1  05-Mar-2011  rmind sync with head

RSS XML Feed