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
ba19031a
Commit
ba19031a
authored
Apr 17, 2013
by
Alex Deucher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/radeon/si: fix typo in function name
Signed-off-by:
Alex Deucher
<
alexander.deucher@amd.com
>
parent
e38bb5ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/gpu/drm/radeon/si.c
drivers/gpu/drm/radeon/si.c
+2
-2
No files found.
drivers/gpu/drm/radeon/si.c
View file @
ba19031a
...
@@ -4749,7 +4749,7 @@ static void si_init_gfx_cgpg(struct radeon_device *rdev)
...
@@ -4749,7 +4749,7 @@ static void si_init_gfx_cgpg(struct radeon_device *rdev)
WREG32
(
RLC_AUTO_PG_CTRL
,
tmp
);
WREG32
(
RLC_AUTO_PG_CTRL
,
tmp
);
}
}
static
u32
get_cu_active_bitmap
(
struct
radeon_device
*
rdev
,
u32
se
,
u32
sh
)
static
u32
si_
get_cu_active_bitmap
(
struct
radeon_device
*
rdev
,
u32
se
,
u32
sh
)
{
{
u32
mask
=
0
,
tmp
,
tmp1
;
u32
mask
=
0
,
tmp
,
tmp1
;
int
i
;
int
i
;
...
@@ -4784,7 +4784,7 @@ static void si_init_ao_cu_mask(struct radeon_device *rdev)
...
@@ -4784,7 +4784,7 @@ static void si_init_ao_cu_mask(struct radeon_device *rdev)
cu_bitmap
=
0
;
cu_bitmap
=
0
;
counter
=
0
;
counter
=
0
;
for
(
k
=
0
;
k
<
rdev
->
config
.
si
.
max_cu_per_sh
;
k
++
)
{
for
(
k
=
0
;
k
<
rdev
->
config
.
si
.
max_cu_per_sh
;
k
++
)
{
if
(
get_cu_active_bitmap
(
rdev
,
i
,
j
)
&
mask
)
{
if
(
si_
get_cu_active_bitmap
(
rdev
,
i
,
j
)
&
mask
)
{
if
(
counter
<
2
)
if
(
counter
<
2
)
cu_bitmap
|=
mask
;
cu_bitmap
|=
mask
;
counter
++
;
counter
++
;
...
...
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