]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
drm/i915: Restore pci_enable_busmaster() call in the init path
authordumbbell <dumbbell@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 15 Feb 2016 07:35:40 +0000 (07:35 +0000)
committerdumbbell <dumbbell@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 15 Feb 2016 07:35:40 +0000 (07:35 +0000)
commit48be85fd845dced6d92c5b503a7571485f1d5095
tree29659bddd5ba8b79bac6cfc0ea064204523bf945
parent4a8286113106060b4e34e182578284af7fd4820d
drm/i915: Restore pci_enable_busmaster() call in the init path

This fixes a GPU hang on i945GM.

While here, merge some minor fixes to DRM core and i915:
  * Remove obsolete drm_agp_*_memory() prototypes
  * Fix comment in drm_fops.c (outisde -> outside)
  * Fix some formatting issues in drm_stub.c (spaces -> tabs)

Approved by: re (marius)
MFC of: r288653, r288952, r293851
Submitted by: <s3erios@gmail.com>
Differential Revision: https://reviews.freebsd.org/D3413

git-svn-id: svn://svn.freebsd.org/base/stable/10@295623 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/drm2/drmP.h
sys/dev/drm2/drm_fops.c
sys/dev/drm2/drm_stub.c
sys/dev/drm2/i915/i915_dma.c
sys/dev/drm2/i915/intel_opregion.c