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
13ba8a24
Commit
13ba8a24
authored
Jun 16, 2004
by
Dave Jones
Committed by
Dave Jones
Jun 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Extra debugging info just in case.
Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
fb5cd424
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drivers/char/agp/generic.c
drivers/char/agp/generic.c
+5
-1
No files found.
drivers/char/agp/generic.c
View file @
13ba8a24
...
@@ -468,7 +468,7 @@ static void agp_v3_parse_one(u32 *mode, u32 *cmd, u32 *tmp)
...
@@ -468,7 +468,7 @@ static void agp_v3_parse_one(u32 *mode, u32 *cmd, u32 *tmp)
if
(
!
(
*
tmp
&
AGPSTAT3_8X
))
{
if
(
!
(
*
tmp
&
AGPSTAT3_8X
))
{
*
cmd
&=
~
(
AGPSTAT3_8X
|
AGPSTAT3_RSVD
);
*
cmd
&=
~
(
AGPSTAT3_8X
|
AGPSTAT3_RSVD
);
*
cmd
|=
~
AGPSTAT3_4X
;
*
cmd
|=
~
AGPSTAT3_4X
;
printk
(
"%s requested AGPx8 but
device
not capable.
\n
"
,
current
->
comm
);
printk
(
"%s requested AGPx8 but
graphic card
not capable.
\n
"
,
current
->
comm
);
return
;
return
;
}
}
/* All set, bridge & device can do AGP x8*/
/* All set, bridge & device can do AGP x8*/
...
@@ -489,6 +489,10 @@ static void agp_v3_parse_one(u32 *mode, u32 *cmd, u32 *tmp)
...
@@ -489,6 +489,10 @@ static void agp_v3_parse_one(u32 *mode, u32 *cmd, u32 *tmp)
printk
(
KERN_INFO
PFX
"Badness. Don't know which AGP mode to set. "
printk
(
KERN_INFO
PFX
"Badness. Don't know which AGP mode to set. "
"[cmd:%x tmp:%x fell back to:- cmd:%x tmp:%x]
\n
"
,
"[cmd:%x tmp:%x fell back to:- cmd:%x tmp:%x]
\n
"
,
origcmd
,
origtmp
,
*
cmd
,
*
tmp
);
origcmd
,
origtmp
,
*
cmd
,
*
tmp
);
if
(
!
(
*
cmd
&
AGPSTAT3_4X
))
printk
(
KERN_INFO
PFX
"Bridge couldn't do AGP x4.
\n
"
);
if
(
!
(
*
tmp
&
AGPSTAT3_4X
))
printk
(
KERN_INFO
PFX
"Graphic card couldn't do AGP x4.
\n
"
);
}
}
}
}
}
}
...
...
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