History log of /netbsd/sys/external/bsd/drm/dist/bsd-core/drm_drv.c (Results 1 – 25 of 26)
Revision Date Author Comments
# 7b40a746 10-Nov-2014 christos <christos@NetBSD.org>

fix the module class.


# 1a918832 25-Jul-2014 dholland <dholland@NetBSD.org>

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.


# 76258fa0 16-Mar-2014 dholland <dholland@NetBSD.org>

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

show more ...


# dbd4c9e7 22-Jul-2013 soren <soren@NetBSD.org>

Missing AB_QUIET newlines.


# db174502 29-Aug-2011 jmcneill <jmcneill@NetBSD.org>

have pci register itself as a module, and make PCI driver modules depend on it


# d0ffee45 03-Aug-2011 mrg <mrg@NetBSD.org>

add a little bit of DRM_NO_AGP to help build on ofppc


# e18530d5 27-Feb-2011 jmcneill <jmcneill@NetBSD.org>

use pa_intrpin instead of pa_intrline for irq#, since drivers treat irq=0
as "no irq" and this matches pa_intrpin encoding


# a3ccd86a 06-Nov-2010 mrg <mrg@NetBSD.org>

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 t

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.

show more ...


# b9e4d3a3 06-Dec-2009 dyoung <dyoung@NetBSD.org>

Delete the do-nothing device-activation hook, drm_activate().


# 6769a80c 02-Sep-2009 mrg <mrg@NetBSD.org>

- normalize netbsd drm_mtrr_del() with freebsd, removing a few #if's
- make the mtrr code do nothing on non-x86


# 783fe8b4 26-Aug-2009 mrg <mrg@NetBSD.org>

introduce an ugly but simple hack to work around external software
requirements: set the drm pci "domain" to the pci bus unit number.
this matches what libpciaccess does for netbsd and now drm is muc

introduce an ugly but simple hack to work around external software
requirements: set the drm pci "domain" to the pci bus unit number.
this matches what libpciaccess does for netbsd and now drm is much
happier again.

show more ...


# 60e6e507 23-Aug-2009 mrg <mrg@NetBSD.org>

on netbsd with the single final close() action, make sure we clean up
all the files attached to dev->files. we check for one per "open_count"
that is above 1. could perhaps assert() that we are emp

on netbsd with the single final close() action, make sure we clean up
all the files attached to dev->files. we check for one per "open_count"
that is above 1. could perhaps assert() that we are empty afterwards.

this fixes restarting X + drm after actually using drm.

show more ...


# c33a5886 24-Jun-2009 mrg <mrg@NetBSD.org>

convert a DRM_ERROR() to DRM_DEBUG(). its failure is not fatal
and it tends to trigger on almost all cards.


# 44d76def 20-Jun-2009 mrg <mrg@NetBSD.org>

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.


# 50fcbdf2 19-Jun-2009 mrg <mrg@NetBSD.org>

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 includ

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

show more ...


# d28a4dfe 30-Mar-2009 mrg <mrg@NetBSD.org>

- set dev->device to the device_t
- fix a DEBUG message
- apply from sys/dev:
revision 1.20
date: 2009/01/18 10:04:35; author: mrg; state: Exp; lines: +6 -2
Don't attempt to unload a DRM device th

- set dev->device to the device_t
- fix a DEBUG message
- apply from sys/dev:
revision 1.20
date: 2009/01/18 10:04:35; author: mrg; state: Exp; lines: +6 -2
Don't attempt to unload a DRM device that's in use. (Note:
Unloading doesn't work right in any case -- it doesn't clean up the
sysctl tree, among other things. This code needs Work, but at least
this prevents it crashing randomly due to autounload while X is
running.) Also, fix the dependency list for radeondrm.

contributed anonymously.

show more ...


# e2ae9c7d 21-Jul-2008 bjs <bjs@NetBSD.org>

Remove #ifdef __FreeBSD__ around DRM_UPDATE_DRAW ioctl, as we have drawable
code (and if it does not work, we must make it work!).

Add missing entry for DRM_MODESET_IOCTL.


# 616225d1 20-Jul-2008 bjs <bjs@NetBSD.org>

add forgotten initialization/destruction for tsk_lock.


# 8754a814 19-Jul-2008 mrg <mrg@NetBSD.org>

move an XXXNETBSD along with the assignment that moved


# b0c27870 19-Jul-2008 mrg <mrg@NetBSD.org>

merge cornflakes from git-change-04893aa99abfbed8eb6d7067a974fa1f31193c87.


# e3f4f888 19-Jul-2008 jmcneill <jmcneill@NetBSD.org>

PCI_PRODUCT works on pa_id, not pa_device


# 61ffbe1f 19-Jul-2008 bjs <bjs@NetBSD.org>

dev->pci_device should be assigned PCI_PRODUCT(pa->pa_id), not the id
itself.


# e87f5b54 19-Jul-2008 bjs <bjs@NetBSD.org>

set dev->kdev = kdev at open time, not in drm_ioctl.


# 4a648a5b 19-Jul-2008 jmcneill <jmcneill@NetBSD.org>

Implement drm_drawable gunk and drm_locked_task, untested. i915drm links now.


# 8ff8b7b2 19-Jul-2008 mrg <mrg@NetBSD.org>

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 wo

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.

show more ...


12