drm/amdgpu: add vcpu_bo cpu address for vce
authorLeo Liu <leo.liu@amd.com>
Wed, 31 May 2017 18:07:36 +0000 (14:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jun 2017 20:00:21 +0000 (16:00 -0400)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h

index 0a7f18c461e44a8e6cfffca505f56e52fe8aec27..c93f74a1d0e220e8aea2e483828d488bfc0d5d93 100644 (file)
@@ -33,6 +33,7 @@
 struct amdgpu_vce {
        struct amdgpu_bo        *vcpu_bo;
        uint64_t                gpu_addr;
+       void                    *cpu_addr;
        unsigned                fw_version;
        unsigned                fb_version;
        atomic_t                handles[AMDGPU_MAX_VCE_HANDLES];