Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
xorg
driver
xf86-video-r128
Commits
e65e95c8
Commit
e65e95c8
authored
Apr 28, 2008
by
Dave Airlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
r128: fix bios size setting for pciaccess
parent
a4fafa97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/r128_driver.c
src/r128_driver.c
+2
-1
No files found.
src/r128_driver.c
View file @
e65e95c8
...
...
@@ -488,7 +488,8 @@ static Bool R128GetBIOSParameters(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10)
(info->VBIOS[(v) + 3] << 24))
#ifdef XSERVER_LIBPCIACCESS
info
->
VBIOS
=
xalloc
(
info
->
PciInfo
->
rom_size
);
int
size
=
info
->
PciInfo
->
rom_size
>
R128_VBIOS_SIZE
?
info
->
PciInfo
->
rom_size
:
R128_VBIOS_SIZE
;
info
->
VBIOS
=
xalloc
(
size
);
#else
info
->
VBIOS
=
xalloc
(
R128_VBIOS_SIZE
);
#endif
...
...
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