Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libva
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
videolan
libva
Commits
b2aade85
Commit
b2aade85
authored
May 18, 2010
by
Xiang, Haihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i965_drv_vidoe: update max_thread for rendering
parent
a3adec01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
i965_drv_video/i965_render.c
i965_drv_video/i965_render.c
+10
-6
No files found.
i965_drv_video/i965_render.c
View file @
b2aade85
...
...
@@ -329,12 +329,14 @@ i965_subpic_render_wm_unit(VADriverContextP ctx)
wm_state
->
wm4
.
stats_enable
=
0
;
wm_state
->
wm4
.
sampler_state_pointer
=
render_state
->
wm
.
sampler
->
offset
>>
5
;
if
(
IS_IRONLAKE
(
i965
->
intel
.
device_id
))
if
(
IS_IRONLAKE
(
i965
->
intel
.
device_id
))
{
wm_state
->
wm4
.
sampler_count
=
0
;
/* hardware requirement */
else
wm_state
->
wm5
.
max_threads
=
12
*
6
-
1
;
}
else
{
wm_state
->
wm4
.
sampler_count
=
(
render_state
->
wm
.
sampler_count
+
3
)
/
4
;
wm_state
->
wm5
.
max_threads
=
10
*
5
-
1
;
}
wm_state
->
wm5
.
max_threads
=
PS_MAX_THREADS
-
1
;
wm_state
->
wm5
.
thread_dispatch_enable
=
1
;
wm_state
->
wm5
.
enable_16_pix
=
1
;
wm_state
->
wm5
.
enable_8_pix
=
0
;
...
...
@@ -392,12 +394,14 @@ i965_render_wm_unit(VADriverContextP ctx)
wm_state
->
wm4
.
stats_enable
=
0
;
wm_state
->
wm4
.
sampler_state_pointer
=
render_state
->
wm
.
sampler
->
offset
>>
5
;
if
(
IS_IRONLAKE
(
i965
->
intel
.
device_id
))
if
(
IS_IRONLAKE
(
i965
->
intel
.
device_id
))
{
wm_state
->
wm4
.
sampler_count
=
0
;
/* hardware requirement */
else
wm_state
->
wm5
.
max_threads
=
12
*
6
-
1
;
}
else
{
wm_state
->
wm4
.
sampler_count
=
(
render_state
->
wm
.
sampler_count
+
3
)
/
4
;
wm_state
->
wm5
.
max_threads
=
10
*
5
-
1
;
}
wm_state
->
wm5
.
max_threads
=
PS_MAX_THREADS
-
1
;
wm_state
->
wm5
.
thread_dispatch_enable
=
1
;
wm_state
->
wm5
.
enable_16_pix
=
1
;
wm_state
->
wm5
.
enable_8_pix
=
0
;
...
...
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