Home | History | Annotate | Download | only in shared-core
History log of /src/sys/external/bsd/drm/dist/shared-core/r600_cp.c
RevisionDateAuthorComments
 1.4  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.3  26-Jun-2010  mrg add minimal support for radeon 5xxx. there's not enough for it to be
useful yet, but that's not a big deal since the latest xf86-video-ati
doesn't support DRM on these yet.

new microcode images obtained from:
http://people.freedesktop.org/~agd5f/radeon_ucode/

XXX: need to fix max_hw_contexts handling at the very least.

XXX: should convert radeondrm to use firmload(9)
 1.2  24-May-2010  mrg implement DRM_RADEON_CS ioctl, necessary for r600_dri to function.

this is mostly from freebsd (though it also exists in other versions
of the drm code) svn commits:

--
SVN rev 196470 on 2009-08-23 14:55:57Z by rnoland

Add kernel support for Radeon R6/7xx 3D.

You will still need Mesa from git and possibly an updated DDX driver,
but this is working fairly well now.
--
SVN rev 196142 on 2009-08-12 12:57:02Z by rnoland

Add support for radeon RS880 IGP chips to drm.
--
SVN rev 195501 on 2009-07-09 16:39:28Z by rnoland

Add support for Radeon HD 4770 (RV740) chips.
--
SVN rev 196471 on 2009-08-23 15:02:58Z by rnoland

Add GET_PARAM support for Z pipes.

This is needed for occulsion queries on rv530 chips.
--
SVN rev 198695 on 2009-10-30 18:07:22Z by rnoland

A bit of cleanup work on radeon_freelist_get()

* Fix the main loop to search all buffers before sleeping.
* Remove dead code
--
SVN rev 197606 on 2009-09-28 22:41:28Z by rnoland

Fix offset handling
--
SVN rev 197605 on 2009-09-28 22:40:29Z by rnoland

radeon_family is an enum, so ordering can be important.

sync up with what amd is shipping.
--
SVN rev 197603 on 2009-09-28 22:37:07Z by rnoland

R600 doesn't support IRQs yet, so don't try to use them.
--

special thanks to robert noland @ freebsd for making this an
easy port!
 1.1  19-Jun-2009  mrg branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.10;
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.1.10.2  21-Apr-2010  matt sync to netbsd-5
 1.1.10.1  19-Jun-2009  matt file r600_cp.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:02 +0000
 1.1.8.3  05-Mar-2011  rmind sync with head
 1.1.8.2  03-Jul-2010  rmind sync with head
 1.1.8.1  30-May-2010  rmind sync with head
 1.1.6.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.1.4.3  11-Aug-2010  yamt sync with head.
 1.1.4.2  18-Jul-2009  yamt sync with head.
 1.1.4.1  19-Jun-2009  yamt file r600_cp.c was added on branch yamt-nfs-mp on 2009-07-18 14:53:18 +0000
 1.1.2.3  08-Dec-2010  riz Patch the following files (requested by mrg in ticket #1488):
sys/dev/pci/drm/files.pcidrm
sys/external/bsd/drm/dist/bsd-core/drmP.h
sys/external/bsd/drm/dist/bsd-core/drm_pciids.h
sys/external/bsd/drm/dist/bsd-core/drm_sysctl.c
sys/external/bsd/drm/dist/shared-core/r600_blit.c
sys/external/bsd/drm/dist/shared-core/r600_cp.c
sys/external/bsd/drm/dist/shared-core/radeon_cp.c
sys/external/bsd/drm/dist/shared-core/radeon_cs.c
sys/external/bsd/drm/dist/shared-core/radeon_drm.h
sys/external/bsd/drm/dist/shared-core/radeon_drv.h
sys/external/bsd/drm/dist/shared-core/radeon_state.c

implement DRM_RADEON_CS ioctl, necessary for r600_dri to function.
this is mostly from freebsd (though it also exists in other versions
of the drm code.)

only use bus_space*() on drm_local_map_ts that have been mapped into
some bus space somewhere. otherwise, just use normal accesses since
it is normal memory.
 1.1.2.2  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.1.2.1  19-Jun-2009  snj file r600_cp.c was added on branch netbsd-5 on 2009-06-20 23:42:53 +0000

RSS XML Feed