Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
797fd5b9
Commit
797fd5b9
authored
Apr 13, 2010
by
Marek Olšák
Committed by
Dave Airlie
Apr 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/radeon/kms: r300 fix CS checker to allow zbuffer-only fastfill
Signed-off-by:
Marek Olšák
<
maraeo@gmail.com
>
parent
88b04507
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r100.c
+1
-1
drivers/gpu/drm/radeon/r100_track.h
drivers/gpu/drm/radeon/r100_track.h
+1
-1
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/r300.c
+1
-1
No files found.
drivers/gpu/drm/radeon/r100.c
View file @
797fd5b9
...
@@ -2974,7 +2974,7 @@ int r100_cs_track_check(struct radeon_device *rdev, struct r100_cs_track *track)
...
@@ -2974,7 +2974,7 @@ int r100_cs_track_check(struct radeon_device *rdev, struct r100_cs_track *track)
for
(
i
=
0
;
i
<
track
->
num_cb
;
i
++
)
{
for
(
i
=
0
;
i
<
track
->
num_cb
;
i
++
)
{
if
(
track
->
cb
[
i
].
robj
==
NULL
)
{
if
(
track
->
cb
[
i
].
robj
==
NULL
)
{
if
(
!
(
track
->
fastfill
||
track
->
color_channel_mask
||
if
(
!
(
track
->
zb_cb_clear
||
track
->
color_channel_mask
||
track
->
blend_read_enable
))
{
track
->
blend_read_enable
))
{
continue
;
continue
;
}
}
...
...
drivers/gpu/drm/radeon/r100_track.h
View file @
797fd5b9
...
@@ -75,7 +75,7 @@ struct r100_cs_track {
...
@@ -75,7 +75,7 @@ struct r100_cs_track {
struct
r100_cs_track_texture
textures
[
R300_TRACK_MAX_TEXTURE
];
struct
r100_cs_track_texture
textures
[
R300_TRACK_MAX_TEXTURE
];
bool
z_enabled
;
bool
z_enabled
;
bool
separate_cube
;
bool
separate_cube
;
bool
fastfill
;
bool
zb_cb_clear
;
bool
blend_read_enable
;
bool
blend_read_enable
;
};
};
...
...
drivers/gpu/drm/radeon/r300.c
View file @
797fd5b9
...
@@ -1043,7 +1043,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
...
@@ -1043,7 +1043,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
break
;
break
;
case
0x4d1c
:
case
0x4d1c
:
/* ZB_BW_CNTL */
/* ZB_BW_CNTL */
track
->
fastfill
=
!!
(
idx_value
&
(
1
<<
2
));
track
->
zb_cb_clear
=
!!
(
idx_value
&
(
1
<<
5
));
break
;
break
;
case
0x4e04
:
case
0x4e04
:
/* RB3D_BLENDCNTL */
/* RB3D_BLENDCNTL */
...
...
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