Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6b70e481
Commit
6b70e481
authored
Jul 19, 2011
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau: magic to make auxch on new macbooks booted in EFI mode work
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
2228c6fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
drivers/gpu/drm/nouveau/nouveau_i2c.c
drivers/gpu/drm/nouveau/nouveau_i2c.c
+4
-1
No files found.
drivers/gpu/drm/nouveau/nouveau_i2c.c
View file @
6b70e481
...
@@ -286,7 +286,10 @@ nouveau_i2c_find(struct drm_device *dev, int index)
...
@@ -286,7 +286,10 @@ nouveau_i2c_find(struct drm_device *dev, int index)
val
=
0xe001
;
val
=
0xe001
;
}
}
nv_wr32
(
dev
,
reg
,
(
nv_rd32
(
dev
,
reg
)
&
~
0xf003
)
|
val
);
/* nfi, but neither auxch or i2c work if it's 1 */
nv_mask
(
dev
,
reg
+
0x0c
,
0x00000001
,
0x00000000
);
/* nfi, but switches auxch vs normal i2c */
nv_mask
(
dev
,
reg
+
0x00
,
0x0000f003
,
val
);
}
}
if
(
!
i2c
->
chan
&&
nouveau_i2c_init
(
dev
,
i2c
,
index
))
if
(
!
i2c
->
chan
&&
nouveau_i2c_init
(
dev
,
i2c
,
index
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment