diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-08-06 17:39:38 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-08-30 22:30:34 +0200 |
commit | 5e884f606cdba9c599c9c9373808f272ae794088 (patch) | |
tree | 37ff80e016bf2b79d91bd4be289dcceab9691e93 /drivers/gpu/drm/radeon/evergreen.c | |
parent | drm/radeon/dpm: add new callback for powergating UVD (v4) (diff) | |
download | linux-5e884f606cdba9c599c9c9373808f272ae794088.tar.xz linux-5e884f606cdba9c599c9c9373808f272ae794088.zip |
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) UVD_RBC_RB_RPTR, UVD_RBC_RB_WPTR, 0, 0xfffff, RADEON_CP_PACKET2); if (!r) - r = r600_uvd_init(rdev); + r = r600_uvd_init(rdev, true); if (r) DRM_ERROR("radeon: error initializing UVD (%d).\n", r); |