summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2015-04-06drm_calloc -> kcallocJonathan Gray
2015-04-06add/use some more errno remappingJonathan Gray
2015-04-06Now we have dev_priv->mm.gtt_base_addr we can set fb_base and removeJonathan Gray
an ifdef. The code that uses fb_base itself remains #if 0'd out.
2015-04-06Add an empty drm_sysfs_hotplug_event() function and use itJonathan Gray
and the existing drm_sysfs* functions to remove some ifdefs.
2015-04-06Convert to if_input(); ok mpi@Miod Vallat
2015-04-06Add get_user() and put_user() compatibility interfaces and use them.Mark Kettenis
ok jsg@
2015-04-06add back some more static use to reduce the diff to linuxJonathan Gray
2015-04-06No need to use a temporary pointer variable after the drm struct nameJonathan Gray
in the softc changed a while back.
2015-04-06add and use macros for wake_up/wake_up_all/wake_up_all_lockedJonathan Gray
2015-04-06Convert some udelay() calls back to DRM_UDELAY() whereJonathan Gray
the wrapper is still used in the original linux code.
2015-04-05Work-in-progress support for non-accelerated X11 on *some* sti(4) frame buffers;Miod Vallat
based upon the old HP ngle X11 driver. Currently limited to CRX (720/735/750), Timber (710, old 715), Artist (712, 715) and EG (B-series), however the colormap isn't set up correctly on Timber and EG yet. Joint work with Artem Falcon, now in good enough shape to be worked further in the tree.
2015-04-05Consistently use #if 0/#endif to handle our lack of DRM_MINOR_CONTROL.Mark Kettenis
Change an #ifdef notyet into #ifdef __linux__ as we'll never have sysfs. Remove #ifdef notyet around WARN macro since we have it now.
2015-04-05whitespaceMark Kettenis
2015-04-05Another round of reducing diffs with Linux. This one moves the variousMark Kettenis
copy_to_user and copy_from_user functions into drm_linux.h and uses them instead of copyin/copyout and DRM_COPY_*. Also move the timespec functions, and put i915_gem_object_is_purgable() where it belongs. Uncovered a bug where the arguments to copyout() were in the wrong order. ok jsg@
2015-04-04Use config_suspend() instead of dereferencing ca_activate directly toMartin Pieuchot
support drivers that do not need any specific suspend/resume magic and do not have an activate function. config_suspend() will automagically propagate the event to the children of the driver. Needed at least by kauaiata(4/macppc). ok deraadt@, mlarkin@
2015-04-03Fix unsigned vs signed comparison in for() loop condition causing an infiniteMiod Vallat
loop for WSDISPLAYIO_PUTCMAP ioctl with idx == 0; reported by Artem Falcon. [according to my investigation, none of the other for() loops in the kernel are affected by a similar issue]
2015-04-03resync i915_drv.h to make it diffable to linuxJonathan Gray
ok kettenis@
2015-04-03change types/macros to reduce the diff to linuxJonathan Gray
2015-04-03Translate PAGE_MASK usage for the way it is defined in our kernel.Jonathan Gray
This code is not called.
2015-04-02use correct capitalization of 'BlackBerry'Jasper Lievisse Adriaanse
"sure" deraadt@
2015-04-01fix typo in comment; OK mpi@Gleydson Soares
2015-04-01Correct comments.Masao Uebayashi
2015-04-01Kill useless comments talking about ether_input().Martin Pieuchot
2015-04-01Remove annoying comment mentionning ether_output().Martin Pieuchot
2015-04-01Small cleanups when attaching sensors, from David Higgs.Martin Pieuchot
2015-03-31Upon finding an AUX slot that has no driver for it (such as theJoshua Stein
ramdisks that don't have the pms driver), setup a dummy interrupt handler to receive and discard data from the slot. This is a less invasive way of fixing the repeating keys/delay problem that occurs on newer ThinkPads when touching the trackpad/trackstick while typing during the installer. This has been in snapshots for a bit.
2015-03-30Convert, convert, convert 'em all to if_input(), tralalalala...Martin Pieuchot
Tested by sebastia@
2015-03-30Convert to if_input().Martin Pieuchot
Tested by sebastia@
2015-03-30Convert to if_input(), tested by sebastia@.Martin Pieuchot
2015-03-29Restore user-loaded vga fonts upon X11->VT switch and upon resume; fromMiod Vallat
dan mclaughlin, thanks!
2015-03-29In vga_load_font(), keep track of the font bits being passed by the caller,Miod Vallat
should the need to free them arise; and only perform the `use font' logic if we are in the `use font' case (i.e. font->data == NULL). Prompted by a discussion with dan mclaughlin on tech@
2015-03-28match on the RTS5249 found on the dell xps 13, treat it as a 5229Joshua Stein
ok stsp
2015-03-27Convert to if_input().Martin Pieuchot
Tested by and ok uaa@
2015-03-27simply do if_input() between splnet() and splx(), like other driversuaa
(such as if_udav.c). ok by mpi@
2015-03-26additional params from libdrm 2.4.60Jonathan Gray
2015-03-26Use the 0x10 extended capability to determine if the trackstickJonathan Gray
buttons are wired to the trackpad and need to be re-routed to the trackstick. Without this change the buttons on 2015 thinkpads get picked up as extended buttons that show up as scroll up/down. Remove the X1 Carbon 2015 (LEN0048) and X250 (LEN0046) from the top button area/soft buttons quirks list. Also avoid using the quirk list entirely if the capability bit is set. Based on work from jcs@ with feedback from mpi@ ok mpi@ jcs@
2015-03-25Expand ehci_{add,del}_intr_list() macros.Martin Pieuchot
ehci(4) is using a TAILQ_* to keep track of the pending transfers. In this context "pending" means submitted to the hardware. Now that we are no longer fiddling with the internal of the TAILQ_* there's no good reason to keep these macro, but more importantly this will let us reuse the 'inext' field to get rid of the other hand-rolled lists of xfers. No functional change.
2015-03-25Merge ehci_device_request() into ehci_device_ctrl_start() to matchMartin Pieuchot
what's done with other transfer types. No functional change.
2015-03-25Remove more DPRINTFs, this file is almost in a readable state now.Martin Pieuchot
2015-03-25Use KASSERT() to check when/if URQ_REQUEST is correctly set just likeMartin Pieuchot
xhci(4) does.
2015-03-25Remove EHCI_DEBUG chunks that make things harder to understand.Martin Pieuchot
Over the years I understood that debugging USB HCD problems without hardware access do not work and even in this case it's easier to write a specific debug/prinf diff.
2015-03-24Convert to if_input().Martin Pieuchot
Apparently krw@ test diffs faster than I can commit them!
2015-03-24Convert to if_input() but I won't tell your the story of krw@Martin Pieuchot
fighting trolls and daemons with old wireless cards to be able to find the correct hardware to test this diff.
2015-03-24Convert to if_input(). Tested by jsg@ who found that at least one hisMartin Pieuchot
(newer) machine can't set the device in a configurated state. But this is a USB-related problem.
2015-03-24Convert to if_input(), untested but kettenis@ will mop up later ifMartin Pieuchot
necessary. ok kettenis@, dlg@
2015-03-23unlock MII on smsc_miibus_writereg errorJonathan Gray
from Patrick Wildt
2015-03-23Return an error if getting the config descriptor failed.Jonathan Gray
Avoids a NULL dereference encountered with a device I have. ok mpi@
2015-03-23Convert to if_input(), tested by jsg@, thanks!Martin Pieuchot
2015-03-23Not all iwm hardware supports the 5GHz band. Make setting 11a ratesJonathan Gray
and scanning conditional on the 5GHz support bit in the nvm. Problem reported and fix tested by Mattieu Baptiste. ok stsp@ kettenis@
2015-03-21Print speeds consistently.Martin Pieuchot
ok brynet@, miod@