diff options
| author | Dave Airlie <[email protected]> | 2018-09-28 09:30:11 +1000 | 
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2018-09-28 09:30:22 +1000 | 
| commit | fcb1349a2af5a3c4a1d789bb5d1a9b3e582652a3 (patch) | |
| tree | 8b1936b6d705f73fbbf63ed9314cc8d3aa286294 /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
| parent | adba0e5493ab21fb5098bc1654aca6826036273c (diff) | |
| parent | fbbdadf2faf17cd88e9c447701495540377c5743 (diff) | |
Merge branch 'drm-fixes-4.19' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
Just a few fixes for 4.19:
- Couple of suspend/resume fixes
- Fix EDID emulation with DC
Signed-off-by: Dave Airlie <[email protected]>
From: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index 0cc5190f4f36..5f3f54073818 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c @@ -258,6 +258,8 @@ int amdgpu_vce_suspend(struct amdgpu_device *adev)  {  	int i; +	cancel_delayed_work_sync(&adev->vce.idle_work); +  	if (adev->vce.vcpu_bo == NULL)  		return 0; @@ -268,7 +270,6 @@ int amdgpu_vce_suspend(struct amdgpu_device *adev)  	if (i == AMDGPU_MAX_VCE_HANDLES)  		return 0; -	cancel_delayed_work_sync(&adev->vce.idle_work);  	/* TODO: suspending running encoding sessions isn't supported */  	return -EINVAL;  } |