Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
76f62551
Commit
76f62551
authored
Jan 08, 2007
by
Thomas Hellstrom
Committed by
Dave Airlie
Feb 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
via: some PCI posting flushes
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
21d37bbc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
drivers/char/drm/via_dma.c
drivers/char/drm/via_dma.c
+3
-1
drivers/char/drm/via_dmablit.c
drivers/char/drm/via_dmablit.c
+2
-0
No files found.
drivers/char/drm/via_dma.c
View file @
76f62551
...
...
@@ -480,6 +480,7 @@ static int via_hook_segment(drm_via_private_t * dev_priv,
VIA_WRITE
(
VIA_REG_TRANSET
,
(
HC_ParaType_PreCR
<<
16
));
VIA_WRITE
(
VIA_REG_TRANSPACE
,
pause_addr_hi
);
VIA_WRITE
(
VIA_REG_TRANSPACE
,
pause_addr_lo
);
VIA_READ
(
VIA_REG_TRANSPACE
);
}
}
return
paused
;
...
...
@@ -557,8 +558,9 @@ static void via_cmdbuf_start(drm_via_private_t * dev_priv)
VIA_WRITE
(
VIA_REG_TRANSPACE
,
pause_addr_hi
);
VIA_WRITE
(
VIA_REG_TRANSPACE
,
pause_addr_lo
);
DRM_WRITEMEMORYBARRIER
();
VIA_WRITE
(
VIA_REG_TRANSPACE
,
command
|
HC_HAGPCMNT_MASK
);
VIA_READ
(
VIA_REG_TRANSPACE
);
}
static
void
via_pad_cache
(
drm_via_private_t
*
dev_priv
,
int
qwords
)
...
...
drivers/char/drm/via_dmablit.c
View file @
76f62551
...
...
@@ -218,7 +218,9 @@ via_fire_dmablit(drm_device_t *dev, drm_via_sg_info_t *vsg, int engine)
VIA_WRITE
(
VIA_PCI_DMA_MR0
+
engine
*
0x04
,
VIA_DMA_MR_CM
|
VIA_DMA_MR_TDIE
);
VIA_WRITE
(
VIA_PCI_DMA_BCR0
+
engine
*
0x10
,
0
);
VIA_WRITE
(
VIA_PCI_DMA_DPR0
+
engine
*
0x10
,
vsg
->
chain_start
);
DRM_WRITEMEMORYBARRIER
();
VIA_WRITE
(
VIA_PCI_DMA_CSR0
+
engine
*
0x04
,
VIA_DMA_CSR_DE
|
VIA_DMA_CSR_TS
);
VIA_READ
(
VIA_PCI_DMA_CSR0
+
engine
*
0x04
);
}
/*
...
...
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