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
b807270c
Commit
b807270c
authored
Nov 01, 2017
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/imem/nv40: map bar2 write-combined
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
62465ac5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c
+3
-2
No files found.
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c
View file @
b807270c
...
@@ -67,6 +67,7 @@ nv40_instobj_ptrs = {
...
@@ -67,6 +67,7 @@ nv40_instobj_ptrs = {
static
void
static
void
nv40_instobj_release
(
struct
nvkm_memory
*
memory
)
nv40_instobj_release
(
struct
nvkm_memory
*
memory
)
{
{
wmb
();
}
}
static
void
__iomem
*
static
void
__iomem
*
...
@@ -253,7 +254,7 @@ nv40_instmem_new(struct nvkm_device *device, int index,
...
@@ -253,7 +254,7 @@ nv40_instmem_new(struct nvkm_device *device, int index,
else
else
bar
=
3
;
bar
=
3
;
imem
->
iomem
=
ioremap
(
device
->
func
->
resource_addr
(
device
,
bar
),
imem
->
iomem
=
ioremap
_wc
(
device
->
func
->
resource_addr
(
device
,
bar
),
device
->
func
->
resource_size
(
device
,
bar
));
device
->
func
->
resource_size
(
device
,
bar
));
if
(
!
imem
->
iomem
)
{
if
(
!
imem
->
iomem
)
{
nvkm_error
(
&
imem
->
base
.
subdev
,
"unable to map PRAMIN BAR
\n
"
);
nvkm_error
(
&
imem
->
base
.
subdev
,
"unable to map PRAMIN BAR
\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