Home | History | Annotate | Download | only in bsd-core
History log of /src/sys/external/bsd/drm/dist/bsd-core/drm_irq.c
RevisionDateAuthorComments
 1.16  23-May-2020  ad Move proc_lock into the data segment. It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.
 1.15  29-Mar-2014  christos fix pci_intr_string
 1.14  05-Mar-2011  jakllsch branches: 1.14.4; 1.14.14; 1.14.18;
Make interrupt establishment failure be noted like most other PCI drivers do.
 1.13  24-Feb-2011  mrg convert all crtc values passed in from userland to be unsigned instead
of signed. there's still some more internal to the i915 driver that
should be converted.

tested on a radeon x1550.
 1.12  01-Jul-2010  rmind branches: 1.12.2; 1.12.4;
Remove pfind() and pgfind(), fix locking in various broken uses of these.
Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags
and have consistent behaviour. Provide proc_find_raw() for special cases.
Fix memory leak in sysctl_proc_corename().

COMPAT_LINUX: rework ptrace() locking, minimise differences between
different versions per-arch.

Note: while this change adds some formal cosmetics for COMPAT_DARWIN and
COMPAT_IRIX - locking there is utterly broken (for ages).

Fixes PR/43176.
 1.11  27-Sep-2009  mrg branches: 1.11.2; 1.11.4;
make sure to call pci_intr_*stablish() with the right first argument;
it worked by C-luck on x86, but macppc picked it up.
 1.10  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.9  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.8  29-Mar-2009  mrg branches: 1.8.2;
fix a device_t-ification.
 1.7  29-Jul-2008  bjs branches: 1.7.2; 1.7.4; 1.7.6; 1.7.8; 1.7.12; 1.7.16;
Fix type-o.
 1.6  25-Jul-2008  bjs branches: 1.6.2;
in the git sources, timo is jiffies + 5*DRM_HZ, not 5*DRM_HZ
 1.5  25-Jul-2008  mrg merge git-change-2580a065d81be645a14af1e91b8441f7e72fcbe4.
 1.4  19-Jul-2008  mrg merge cornflakes from git-change-04893aa99abfbed8eb6d7067a974fa1f31193c87.
 1.3  19-Jul-2008  jmcneill Implement drm_drawable gunk and drm_locked_task, untested. i915drm links now.
 1.2  19-Jul-2008  mrg 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.4  19-Jun-2009  mrg import mesa-drm git from version 85b9f737db0d2a845e4d7e2bbf9ad12ff9e2227c.
 1.1.1.3  25-Jul-2008  mrg import mesa-drm git from change 2580a065d81be645a14af1e91b8441f7e72fcbe4.
this pulls in a few vblank fixes.
 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.6.2.3  31-Jul-2008  simonb Sync with head.
 1.6.2.2  28-Jul-2008  simonb Sync with head.
 1.6.2.1  25-Jul-2008  simonb file drm_irq.c was added on branch simonb-wapbl on 2008-07-28 14:37:28 +0000
 1.7.16.1  21-Apr-2010  matt sync to netbsd-5
 1.7.12.2  23-Jul-2009  jym Sync with HEAD.
 1.7.12.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.8.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.7.6.1  28-Apr-2009  skrll Sync with HEAD.
 1.7.4.2  28-Sep-2008  mjf Sync with HEAD.
 1.7.4.1  29-Jul-2008  mjf file drm_irq.c was added on branch mjf-devfs2 on 2008-09-28 10:40:37 +0000
 1.7.2.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.7.2.1  29-Jul-2008  wrstuden file drm_irq.c was added on branch wrstuden-revivesa on 2008-09-18 04:36:47 +0000
 1.8.2.5  11-Aug-2010  yamt sync with head.
 1.8.2.4  11-Mar-2010  yamt sync with head
 1.8.2.3  18-Jul-2009  yamt sync with head.
 1.8.2.2  04-May-2009  yamt sync with head.
 1.8.2.1  29-Mar-2009  yamt file drm_irq.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:29 +0000
 1.11.4.3  06-Mar-2011  rmind sync with head (and fix few botches with this)
 1.11.4.2  05-Mar-2011  rmind sync with head
 1.11.4.1  03-Jul-2010  rmind sync with head
 1.11.2.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.12.4.1  05-Mar-2011  bouyer Sync with HEAD
 1.12.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.14.18.1  18-May-2014  rmind sync with head
 1.14.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed