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
c49c0b44
Commit
c49c0b44
authored
Nov 26, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/devinit: bump priv ring timeouts before executing scripts
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
15606cb4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
drivers/gpu/drm/nouveau/core/include/core/device.h
drivers/gpu/drm/nouveau/core/include/core/device.h
+1
-1
drivers/gpu/drm/nouveau/core/subdev/devinit/nv50.c
drivers/gpu/drm/nouveau/core/subdev/devinit/nv50.c
+9
-0
No files found.
drivers/gpu/drm/nouveau/core/include/core/device.h
View file @
c49c0b44
...
...
@@ -16,6 +16,7 @@ enum nv_subdev_type {
* to during POST.
*/
NVDEV_SUBDEV_DEVINIT
,
NVDEV_SUBDEV_IBUS
,
NVDEV_SUBDEV_GPIO
,
NVDEV_SUBDEV_I2C
,
NVDEV_SUBDEV_DEVINIT_LAST
=
NVDEV_SUBDEV_I2C
,
...
...
@@ -31,7 +32,6 @@ enum nv_subdev_type {
NVDEV_SUBDEV_TIMER
,
NVDEV_SUBDEV_FB
,
NVDEV_SUBDEV_LTC
,
NVDEV_SUBDEV_IBUS
,
NVDEV_SUBDEV_INSTMEM
,
NVDEV_SUBDEV_VM
,
NVDEV_SUBDEV_BAR
,
...
...
drivers/gpu/drm/nouveau/core/subdev/devinit/nv50.c
View file @
c49c0b44
...
...
@@ -26,6 +26,7 @@
#include <subdev/bios/dcb.h>
#include <subdev/bios/disp.h>
#include <subdev/bios/init.h>
#include <subdev/ibus.h>
#include <subdev/vga.h>
#include "nv50.h"
...
...
@@ -91,6 +92,7 @@ int
nv50_devinit_init
(
struct
nouveau_object
*
object
)
{
struct
nouveau_bios
*
bios
=
nouveau_bios
(
object
);
struct
nouveau_ibus
*
ibus
=
nouveau_ibus
(
object
);
struct
nv50_devinit_priv
*
priv
=
(
void
*
)
object
;
struct
nvbios_outp
info
;
struct
dcb_output
outp
;
...
...
@@ -105,6 +107,13 @@ nv50_devinit_init(struct nouveau_object *object)
}
}
/* some boards appear to require certain priv register timeouts
* to be bumped before runing devinit scripts. not a clue why
* the vbios engineers didn't make the scripts just work...
*/
if
(
priv
->
base
.
post
&&
ibus
)
nv_ofuncs
(
ibus
)
->
init
(
nv_object
(
ibus
));
ret
=
nouveau_devinit_init
(
&
priv
->
base
);
if
(
ret
)
return
ret
;
...
...
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