[DragonFlyBSD - Bug #2711] kernel i386 linux/highmem.h:34:2: error: implicit declaration of function 'PHYS_TO_DMAP'

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Aug 15 20:08:59 PDT 2014


Issue #2711 has been updated by davshao.

File restore_i386_i915.diff added

The attached patch restores i915 drm functionality at least for an i386 Lenovo Ideapad with Intel 945 graphics.  It also should have identical functionality for x86_64 machines.  The patch has been tested for x86_64 Intel integrated graphics G45 and HD Graphics.  Basically the kmap / kunmap functions for i386 only are replaced by the previously used sf_buf functions.

The patch is against

commit ffcfd82d02034a17cb4c9a62369e77682cdba2ef
Date:   Fri Aug 15 10:05:21 2014 -0700

    kernel - Reduce ig4 receive errors


----------------------------------------
Bug #2711: kernel i386 linux/highmem.h:34:2: error: implicit declaration of function 'PHYS_TO_DMAP'
http://bugs.dragonflybsd.org/issues/2711#change-12186

* Author: davshao
* Status: Feedback
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
i386 kernel compilation using latest master after

commit 82046b5c4af24ef479241453db63a2f5883c5f50
Date:   Thu Aug 14 09:09:59 2014 +0200

    drm/i915: Fix display corruption issues on Haswell

fails:

In file included from /usr/src/sys/dev/drm/i915/i915_gem_execbuffer.c:31:0:
/usr/src/sys/dev/drm/i915/../../../dev/drm/include/linux/highmem.h: In function 'kmap_atomic':
/usr/src/sys/dev/drm/i915/../../../dev/drm/include/linux/highmem.h:34:2: error: implicit declaration of function 'PHYS_TO_DMAP' [-Werror=implicit-function-declaration]
/usr/src/sys/dev/drm/i915/../../../dev/drm/include/linux/highmem.h:34:2: error: nested extern declaration of 'PHYS_TO_DMAP' [-Werror=nested-externs]



---Files--------------------------------
restore_i386_i915.diff (4.36 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list