diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-08-06 11:39:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-08-30 16:30:34 -0400 |
commit | 5e884f606cdba9c599c9c9373808f272ae794088 (patch) | |
tree | 37ff80e016bf2b79d91bd4be289dcceab9691e93 /drivers/gpu/drm/radeon/evergreen.c | |
parent | 9e9d976205626c3bd92776181cde6a2dda648c2b (diff) |
drm/radeon: restructure UVD code to handle UVD PG (v2)
When we PG (powergate) UVD, we need to re-initialize it
before we can use it again.
v2: rebase on UVD stop fixes
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 2ce12ee3e67f..710c1d4ae5db 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c | |||
@@ -5296,7 +5296,7 @@ static int evergreen_startup(struct radeon_device *rdev) | |||
5296 | UVD_RBC_RB_RPTR, UVD_RBC_RB_WPTR, | 5296 | UVD_RBC_RB_RPTR, UVD_RBC_RB_WPTR, |
5297 | 0, 0xfffff, RADEON_CP_PACKET2); | 5297 | 0, 0xfffff, RADEON_CP_PACKET2); |
5298 | if (!r) | 5298 | if (!r) |
5299 | r = r600_uvd_init(rdev); | 5299 | r = r600_uvd_init(rdev, true); |
5300 | 5300 | ||
5301 | if (r) | 5301 | if (r) |
5302 | DRM_ERROR("radeon: error initializing UVD (%d).\n", r); | 5302 | DRM_ERROR("radeon: error initializing UVD (%d).\n", r); |