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
nexedi
linux
Commits
73d72cff
Commit
73d72cff
authored
Feb 18, 2006
by
Dave Airlie
Committed by
Dave Airlie
Feb 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: fix brace placement
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
4e5e2e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
drivers/char/drm/r300_cmdbuf.c
drivers/char/drm/r300_cmdbuf.c
+2
-4
No files found.
drivers/char/drm/r300_cmdbuf.c
View file @
73d72cff
...
@@ -506,8 +506,7 @@ static __inline__ int r300_emit_bitblt_multi(drm_radeon_private_t *dev_priv,
...
@@ -506,8 +506,7 @@ static __inline__ int r300_emit_bitblt_multi(drm_radeon_private_t *dev_priv,
|
RADEON_GMC_DST_PITCH_OFFSET_CNTL
))
{
|
RADEON_GMC_DST_PITCH_OFFSET_CNTL
))
{
offset
=
cmd
[
2
]
<<
10
;
offset
=
cmd
[
2
]
<<
10
;
ret
=
r300_check_offset
(
dev_priv
,
offset
);
ret
=
r300_check_offset
(
dev_priv
,
offset
);
if
(
ret
)
if
(
ret
)
{
{
DRM_ERROR
(
"Invalid bitblt first offset is %08X
\n
"
,
offset
);
DRM_ERROR
(
"Invalid bitblt first offset is %08X
\n
"
,
offset
);
return
DRM_ERR
(
EINVAL
);
return
DRM_ERR
(
EINVAL
);
}
}
...
@@ -517,8 +516,7 @@ static __inline__ int r300_emit_bitblt_multi(drm_radeon_private_t *dev_priv,
...
@@ -517,8 +516,7 @@ static __inline__ int r300_emit_bitblt_multi(drm_radeon_private_t *dev_priv,
(
cmd
[
1
]
&
RADEON_GMC_DST_PITCH_OFFSET_CNTL
))
{
(
cmd
[
1
]
&
RADEON_GMC_DST_PITCH_OFFSET_CNTL
))
{
offset
=
cmd
[
3
]
<<
10
;
offset
=
cmd
[
3
]
<<
10
;
ret
=
r300_check_offset
(
dev_priv
,
offset
);
ret
=
r300_check_offset
(
dev_priv
,
offset
);
if
(
ret
)
if
(
ret
)
{
{
DRM_ERROR
(
"Invalid bitblt second offset is %08X
\n
"
,
offset
);
DRM_ERROR
(
"Invalid bitblt second offset is %08X
\n
"
,
offset
);
return
DRM_ERR
(
EINVAL
);
return
DRM_ERR
(
EINVAL
);
}
}
...
...
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