projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb7ad55
)
drm/amdgpu: enable UVD VM only on polaris
author
Christian König
<
[email protected]
>
Mon, 25 Jul 2016 14:37:06 +0000
(16:37 +0200)
committer
Alex Deucher
<
[email protected]
>
Fri, 29 Jul 2016 18:37:07 +0000
(14:37 -0400)
Stoney support it, but doesn't has unlimited session support.
Signed-off-by: Christian König <
[email protected]
>
Reviewed-by: Leo Liu <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
index 1791566aae9dda4bee491bf55327218e1ffd1dde..7f21102bfb99d9145ee118d6800e8abb48d1a934 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
@@
-1009,7
+1009,7
@@
static const struct amdgpu_ring_funcs uvd_v6_0_ring_vm_funcs = {
static void uvd_v6_0_set_ring_funcs(struct amdgpu_device *adev)
{
- if (adev->asic_type >= CHIP_
STONEY
) {
+ if (adev->asic_type >= CHIP_
POLARIS10
) {
adev->uvd.ring.funcs = &uvd_v6_0_ring_vm_funcs;
DRM_INFO("UVD is enabled in VM mode\n");
} else {