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
Kirill Smelkov
linux
Commits
9cc264a3
Commit
9cc264a3
authored
Aug 20, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/falcon: switch to gpuobj accessor macros
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
cd821077
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
+3
-1
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c
View file @
9cc264a3
...
@@ -175,8 +175,10 @@ _nvkm_falcon_init(struct nvkm_object *object)
...
@@ -175,8 +175,10 @@ _nvkm_falcon_init(struct nvkm_object *object)
return
ret
;
return
ret
;
}
}
nvkm_kmap
(
falcon
->
core
);
for
(
i
=
0
;
i
<
falcon
->
code
.
size
;
i
+=
4
)
for
(
i
=
0
;
i
<
falcon
->
code
.
size
;
i
+=
4
)
nv_wo32
(
falcon
->
core
,
i
,
falcon
->
code
.
data
[
i
/
4
]);
nvkm_wo32
(
falcon
->
core
,
i
,
falcon
->
code
.
data
[
i
/
4
]);
nvkm_done
(
falcon
->
core
);
}
}
/* upload firmware bootloader (or the full code segments) */
/* upload firmware bootloader (or the full code segments) */
...
...
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