aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorYonatan Cohen <[email protected]>2017-11-13 10:51:16 +0200
committerDoug Ledford <[email protected]>2017-11-13 16:59:22 -0500
commit18bd90729237dc6ddbad01bc9618148224f03590 (patch)
treef3c00ca494484a90d359c971bdfeeca826ee231f /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentb0e9df6da25890448ebd134b7f647f16bced9abc (diff)
IB/uverbs: Add CQ moderation capability to query_device
The query_device function can now obtain the maximum values for cq_max_count and cq_period, needed for CQ moderation. cq_max_count is a 16 bits number that determines the number of CQEs to accumulate before generating an event. cq_period is a 16 bits number that determines the timeout in micro seconds from the last event generated, upon which a new event will be generated even if cq_max_count was not reached. Signed-off-by: Yonatan Cohen <[email protected]> Reviewed-by: Majd Dibbiny <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions