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
d0ae7fcc
Commit
d0ae7fcc
authored
Jul 26, 2012
by
Alex Deucher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/radeon: fill in gpu init for Oland
Signed-off-by:
Alex Deucher
<
alexander.deucher@amd.com
>
parent
624d3524
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
drivers/gpu/drm/radeon/si.c
drivers/gpu/drm/radeon/si.c
+19
-1
No files found.
drivers/gpu/drm/radeon/si.c
View file @
d0ae7fcc
...
@@ -1127,7 +1127,8 @@ static void si_tiling_mode_table_init(struct radeon_device *rdev)
...
@@ -1127,7 +1127,8 @@ static void si_tiling_mode_table_init(struct radeon_device *rdev)
}
}
WREG32
(
GB_TILE_MODE0
+
(
reg_offset
*
4
),
gb_tile_moden
);
WREG32
(
GB_TILE_MODE0
+
(
reg_offset
*
4
),
gb_tile_moden
);
}
}
}
else
if
(
rdev
->
family
==
CHIP_VERDE
)
{
}
else
if
((
rdev
->
family
==
CHIP_VERDE
)
||
(
rdev
->
family
==
CHIP_OLAND
))
{
for
(
reg_offset
=
0
;
reg_offset
<
num_tile_mode_states
;
reg_offset
++
)
{
for
(
reg_offset
=
0
;
reg_offset
<
num_tile_mode_states
;
reg_offset
++
)
{
switch
(
reg_offset
)
{
switch
(
reg_offset
)
{
case
0
:
/* non-AA compressed depth or any compressed stencil */
case
0
:
/* non-AA compressed depth or any compressed stencil */
...
@@ -1566,6 +1567,23 @@ static void si_gpu_init(struct radeon_device *rdev)
...
@@ -1566,6 +1567,23 @@ static void si_gpu_init(struct radeon_device *rdev)
rdev
->
config
.
si
.
max_gs_threads
=
32
;
rdev
->
config
.
si
.
max_gs_threads
=
32
;
rdev
->
config
.
si
.
max_hw_contexts
=
8
;
rdev
->
config
.
si
.
max_hw_contexts
=
8
;
rdev
->
config
.
si
.
sc_prim_fifo_size_frontend
=
0x20
;
rdev
->
config
.
si
.
sc_prim_fifo_size_backend
=
0x40
;
rdev
->
config
.
si
.
sc_hiz_tile_fifo_size
=
0x30
;
rdev
->
config
.
si
.
sc_earlyz_tile_fifo_size
=
0x130
;
gb_addr_config
=
VERDE_GB_ADDR_CONFIG_GOLDEN
;
break
;
case
CHIP_OLAND
:
rdev
->
config
.
si
.
max_shader_engines
=
1
;
rdev
->
config
.
si
.
max_tile_pipes
=
4
;
rdev
->
config
.
si
.
max_cu_per_sh
=
6
;
rdev
->
config
.
si
.
max_sh_per_se
=
1
;
rdev
->
config
.
si
.
max_backends_per_se
=
2
;
rdev
->
config
.
si
.
max_texture_channel_caches
=
4
;
rdev
->
config
.
si
.
max_gprs
=
256
;
rdev
->
config
.
si
.
max_gs_threads
=
16
;
rdev
->
config
.
si
.
max_hw_contexts
=
8
;
rdev
->
config
.
si
.
sc_prim_fifo_size_frontend
=
0x20
;
rdev
->
config
.
si
.
sc_prim_fifo_size_frontend
=
0x20
;
rdev
->
config
.
si
.
sc_prim_fifo_size_backend
=
0x40
;
rdev
->
config
.
si
.
sc_prim_fifo_size_backend
=
0x40
;
rdev
->
config
.
si
.
sc_hiz_tile_fifo_size
=
0x30
;
rdev
->
config
.
si
.
sc_hiz_tile_fifo_size
=
0x30
;
...
...
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