diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vce_v3_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c index 516882b07842..76d5d6893c89 100644 --- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | |||
@@ -589,7 +589,11 @@ static int vce_v3_0_wait_for_idle(void *handle) | |||
589 | return -ETIMEDOUT; | 589 | return -ETIMEDOUT; |
590 | } | 590 | } |
591 | 591 | ||
592 | #define AMDGPU_VCE_STATUS_BUSY_MASK 0x78 | 592 | #define VCE_STATUS_VCPU_REPORT_AUTO_BUSY_MASK 0x00000008L /* AUTO_BUSY */ |
593 | #define VCE_STATUS_VCPU_REPORT_RB0_BUSY_MASK 0x00000010L /* RB0_BUSY */ | ||
594 | #define VCE_STATUS_VCPU_REPORT_RB1_BUSY_MASK 0x00000020L /* RB1_BUSY */ | ||
595 | #define AMDGPU_VCE_STATUS_BUSY_MASK (VCE_STATUS_VCPU_REPORT_AUTO_BUSY_MASK | \ | ||
596 | VCE_STATUS_VCPU_REPORT_RB0_BUSY_MASK) | ||
593 | 597 | ||
594 | static int vce_v3_0_check_soft_reset(void *handle) | 598 | static int vce_v3_0_check_soft_reset(void *handle) |
595 | { | 599 | { |