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
5ae65fae
Commit
5ae65fae
authored
May 20, 2003
by
Dave Jones
Committed by
Dave Jones
May 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Log broken applications that pass crap flags so they can be fixed.
parent
c1ef3a2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/char/agp/generic.c
drivers/char/agp/generic.c
+4
-0
No files found.
drivers/char/agp/generic.c
View file @
5ae65fae
...
...
@@ -431,6 +431,8 @@ static void agp_v3_parse_one(u32 *mode, u32 *cmd, u32 *tmp)
* AGP2.x 4x -> AGP3.0 4x.
*/
if
(
*
mode
&
AGPSTAT2_4X
)
{
printk
(
KERN_INFO
PFX
"%s passes broken AGP3 flags (%x). Fixed.
\n
"
,
current
->
comm
,
*
mode
);
*
mode
&=
~
AGPSTAT2_4X
;
*
mode
|=
AGPSTAT3_4X
;
}
...
...
@@ -440,6 +442,8 @@ static void agp_v3_parse_one(u32 *mode, u32 *cmd, u32 *tmp)
* but have been passed an AGP 2.x mode.
* Convert AGP 1x,2x,4x -> AGP 3.0 4x.
*/
printk
(
KERN_INFO
PFX
"%s passes broken AGP2 flags (%x) in AGP3 mode. Fixed.
\n
"
,
current
->
comm
,
*
mode
);
*
mode
&=
~
(
AGPSTAT2_4X
|
AGPSTAT2_2X
|
AGPSTAT2_1X
);
*
mode
|=
AGPSTAT3_4X
;
}
...
...
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