diff options
author | Monk Liu <Monk.Liu@amd.com> | 2017-03-08 15:53:19 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:55:36 -0400 |
commit | 2e2e3c7f182e26fb518c13ab683aac7918dffb67 (patch) | |
tree | 12f4edef98a1f5e3a20cd160c43b85e1525dbc6d /drivers/gpu/drm/amd/amdgpu/vid.h | |
parent | 9ccd52eb248b0d8f0450e1201a8064f5ab1ec07e (diff) | |
download | talos-obmc-linux-2e2e3c7f182e26fb518c13ab683aac7918dffb67.tar.gz talos-obmc-linux-2e2e3c7f182e26fb518c13ab683aac7918dffb67.zip |
drm/amdgpu:enable MCBP for SR-IOV (v2)
Apply the new IB during IB emit for SRIOV with MCBP
v2: agd: use define instead of magic number
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vid.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vid.h b/drivers/gpu/drm/amd/amdgpu/vid.h index 7a3863a45f0a..b3a86e0e96e6 100644 --- a/drivers/gpu/drm/amd/amdgpu/vid.h +++ b/drivers/gpu/drm/amd/amdgpu/vid.h @@ -195,6 +195,7 @@ * 1 - Stream * 2 - Bypass */ +#define INDIRECT_BUFFER_PRE_ENB(x) ((x) << 21) #define PACKET3_COPY_DATA 0x40 #define PACKET3_PFP_SYNC_ME 0x42 #define PACKET3_SURFACE_SYNC 0x43 |