History log of /src/sys/external/bsd/drm/dist/shared-core/radeon_cp.c |
Revision | | Date | Author | Comments |
1.13 |
| 30-May-2011 |
joerg | Remove invalid const, the content is later passed to free.
|
1.12 |
| 30-Mar-2011 |
tron | Fix build of "radeondrm" kernel module.
|
1.11 |
| 30-Mar-2011 |
mlelstv | Add missing agp.h include file.
|
1.10 |
| 27-Mar-2011 |
mlelstv | Make code compile when the kernel has no support for AGP. For now this also rules out PCIE support without AGP because all the code is drm_agpsupport.c
|
1.9 |
| 06-Nov-2010 |
mrg | branches: 1.9.2; call the sysctl destroy functions upon failure and unload, which should fix PR#40029. while there, fix the radeon unload, which was improperly matching mutex init/destroy operations and leading to trying to destroy lock that was never initialised.
|
1.8 |
| 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.7 |
| 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.6 |
| 08-Aug-2009 |
mrg | branches: 1.6.2; 1.6.4; - stash the fbmap into the radeon dev_priv handle so we can .. - call drm_rmmap() in radeon_do_cleanup_cp on the two maps created - in several vblank functions, check to make sure we have mappings enabled before doing something that might blow up. fixes PR#41715.
|
1.5 |
| 20-Jun-2009 |
mrg | some minor clean up: - reduce diffs to mesa-drm where possible - fix various formatting issues - netbsd uses major 180 for drm (XXX)
no functional changes intended.
|
1.4 |
| 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.3 |
| 30-Mar-2009 |
mrg | branches: 1.3.2; apply from sys/dev: revision 1.12 date: 2009/03/29 19:37:25; author: mrg; state: Exp; lines: +9 -3 XXX: for now, add the DRM_NETBSD_HANDLE2ADDR() hack in a few places. update a debug message.
|
1.2 |
| 20-Jul-2008 |
bjs | branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8; 1.2.10; 1.2.14; 1.2.18; Add a forgotten mtsleep().
|
1.1 |
| 19-Jul-2008 |
mrg | branches: 1.1.1; Initial revision
|
1.1.1.3 |
| 19-Jun-2009 |
mrg | import mesa-drm git from version 85b9f737db0d2a845e4d7e2bbf9ad12ff9e2227c.
|
1.1.1.2 |
| 19-Jul-2008 |
mrg | import mesa-drm git at change 04893aa99abfbed8eb6d7067a974fa1f31193c87.
|
1.1.1.1 |
| 19-Jul-2008 |
mrg | import mesa-drm git from version 5d27fd94afaaf434c3a92af0075420b550055bfb, which is approximately june 25th or so.
|
1.2.18.1 |
| 21-Apr-2010 |
matt | sync to netbsd-5
|
1.2.14.2 |
| 23-Jul-2009 |
jym | Sync with HEAD.
|
1.2.14.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.2.10.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.2.10.2 |
| 14-Aug-2009 |
snj | Pull up following revision(s) (requested by mrg in ticket #907): sys/external/bsd/drm/dist/shared-core/radeon_cp.c: revision 1.6 sys/external/bsd/drm/dist/shared-core/radeon_drv.h: revision 1.6 sys/external/bsd/drm/dist/shared-core/radeon_irq.c: revision 1.3 - stash the fbmap into the radeon dev_priv handle so we can .. - call drm_rmmap() in radeon_do_cleanup_cp on the two maps created - in several vblank functions, check to make sure we have mappings enabled before doing something that might blow up. fixes PR#41715.
|
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.8.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.2.6.2 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.2.6.1 |
| 20-Jul-2008 |
mjf | file radeon_cp.c was added on branch mjf-devfs2 on 2008-09-28 10:40:45 +0000
|
1.2.4.2 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.2.4.1 |
| 20-Jul-2008 |
wrstuden | file radeon_cp.c was added on branch wrstuden-revivesa on 2008-09-18 04:36:52 +0000
|
1.2.2.2 |
| 28-Jul-2008 |
simonb | Sync with head.
|
1.2.2.1 |
| 20-Jul-2008 |
simonb | file radeon_cp.c was added on branch simonb-wapbl on 2008-07-28 14:37:32 +0000
|
1.3.2.5 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.3.2.4 |
| 19-Aug-2009 |
yamt | sync with head.
|
1.3.2.3 |
| 18-Jul-2009 |
yamt | sync with head.
|
1.3.2.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.3.2.1 |
| 30-Mar-2009 |
yamt | file radeon_cp.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:34 +0000
|
1.6.4.4 |
| 31-May-2011 |
rmind | sync with head
|
1.6.4.3 |
| 21-Apr-2011 |
rmind | sync with head
|
1.6.4.2 |
| 05-Mar-2011 |
rmind | sync with head
|
1.6.4.1 |
| 30-May-2010 |
rmind | sync with head
|
1.6.2.1 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.9.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|