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
4f4b7834
Commit
4f4b7834
authored
Aug 08, 2016
by
Alex Deucher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/amdgpu: add virtual dce support for iceland
Signed-off-by:
Alex Deucher
<
alexander.deucher@amd.com
>
parent
2579de43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
2 deletions
+56
-2
drivers/gpu/drm/amd/amdgpu/vi.c
drivers/gpu/drm/amd/amdgpu/vi.c
+56
-2
No files found.
drivers/gpu/drm/amd/amdgpu/vi.c
View file @
4f4b7834
...
...
@@ -823,6 +823,60 @@ static const struct amdgpu_ip_block_version topaz_ip_blocks[] =
},
};
static
const
struct
amdgpu_ip_block_version
topaz_ip_blocks_vd
[]
=
{
/* ORDER MATTERS! */
{
.
type
=
AMD_IP_BLOCK_TYPE_COMMON
,
.
major
=
2
,
.
minor
=
0
,
.
rev
=
0
,
.
funcs
=
&
vi_common_ip_funcs
,
},
{
.
type
=
AMD_IP_BLOCK_TYPE_GMC
,
.
major
=
7
,
.
minor
=
4
,
.
rev
=
0
,
.
funcs
=
&
gmc_v7_0_ip_funcs
,
},
{
.
type
=
AMD_IP_BLOCK_TYPE_IH
,
.
major
=
2
,
.
minor
=
4
,
.
rev
=
0
,
.
funcs
=
&
iceland_ih_ip_funcs
,
},
{
.
type
=
AMD_IP_BLOCK_TYPE_SMC
,
.
major
=
7
,
.
minor
=
1
,
.
rev
=
0
,
.
funcs
=
&
amdgpu_pp_ip_funcs
,
},
{
.
type
=
AMD_IP_BLOCK_TYPE_DCE
,
.
major
=
1
,
.
minor
=
0
,
.
rev
=
0
,
.
funcs
=
&
dce_virtual_ip_funcs
,
},
{
.
type
=
AMD_IP_BLOCK_TYPE_GFX
,
.
major
=
8
,
.
minor
=
0
,
.
rev
=
0
,
.
funcs
=
&
gfx_v8_0_ip_funcs
,
},
{
.
type
=
AMD_IP_BLOCK_TYPE_SDMA
,
.
major
=
2
,
.
minor
=
4
,
.
rev
=
0
,
.
funcs
=
&
sdma_v2_4_ip_funcs
,
},
};
static
const
struct
amdgpu_ip_block_version
tonga_ip_blocks
[]
=
{
/* ORDER MATTERS! */
...
...
@@ -1390,8 +1444,8 @@ int vi_set_ip_blocks(struct amdgpu_device *adev)
if
(
amdgpu_virtual_display
)
{
switch
(
adev
->
asic_type
)
{
case
CHIP_TOPAZ
:
adev
->
ip_blocks
=
topaz_ip_blocks
;
adev
->
num_ip_blocks
=
ARRAY_SIZE
(
topaz_ip_blocks
);
adev
->
ip_blocks
=
topaz_ip_blocks
_vd
;
adev
->
num_ip_blocks
=
ARRAY_SIZE
(
topaz_ip_blocks
_vd
);
break
;
case
CHIP_FIJI
:
adev
->
ip_blocks
=
fiji_ip_blocks_vd
;
...
...
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