Bug 10221

Summary: Intel IGD OpRegion support in Linux
Product: Drivers Reporter: Zhang Rui (rui.zhang)
Component: Video(Other)Assignee: Jesse Barnes (jbarnes)
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: high CC: acpi-bugzilla, borych, michael.fu, mjg59-kernel
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: any Subsystem:
Regression: --- Bisected commit-id:
Bug Depends on:    
Bug Blocks: 9902, 9915, 9995, 11093, 11095, 56331    

Description Zhang Rui 2008-03-11 01:45:15 UTC
Hardware Environment: Intel graphics chipset newer than 965GM
Problem Description:
Intel IGD OpRegion focuses on the next generation proprietary communication mechanisms between graphics driver and system/Video BIOS, which has already been supported by Windows Vista. The support in Linux is not finished yet, which brings some problems for users, e.g. the malfuntion for brightness up/down hotkey press.
Comment 1 Hong Liu 2008-03-11 02:20:20 UTC
We will start working on adding kernel modesetting into drm driver this year.

OpRegion support will also be started that time.

Thanks,
Hong
Comment 2 Zhang Rui 2008-07-03 01:31:11 UTC
Patch already available.
Comment 3 Zhang Rui 2008-07-03 19:51:15 UTC
Hi, Jessie,
The patch is still not in base kernel,
when will it be upstream?
Comment 4 Jesse Barnes 2008-07-04 10:12:04 UTC
Hi Zhang, we wanted to fix one last issue we found with T61.  When both the i915 and ACPI video drivers are loaded, hotkey response takes about a second, but it should be instant.  It seems like the ACPI event for the hotkey isn't getting delivered to the i915 opregion code right away; maybe there's something in the ACPI video support on T61s that times out waiting for something?  Do you have a T61 test platform?
Comment 5 Zhang Rui 2008-09-23 20:55:50 UTC
The opregion patches are not in the upstream kernel yet. but it must be in some guy's tree, right? :)
as we still have some open bugs depends on this one, jesse, can you point to me where we can get these patches and run some test?
Comment 6 Zhang Rui 2008-09-23 22:45:23 UTC
hmm, seems that the opregion patches are already in linux-next tree.

Carlos and Sebastian,
can you please get the latest source code from linux-next tree,
and see if the opregion patches help?
Comment 7 Erik Boritsch 2008-11-23 07:22:20 UTC
Does that mean that opregion support is included in 2.6.28?
Comment 8 Zhang Rui 2008-11-23 18:46:26 UTC
yes.