summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc/tilcdc_slave.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2013-08-06 21:04:38 +0530
committerRoland Dreier <roland@purestorage.com>2013-08-13 11:55:47 -0700
commitb298881fcf52b04f073d64e4c584ac050506d7b9 (patch)
tree6f808e3798630bfafe80b49eb5226e97d9470aca /drivers/gpu/drm/tilcdc/tilcdc_slave.c
parentb38a0ad8ec1129bc2fdadc3baed45ff70d5726e2 (diff)
RDMA/cxgb4: Always do GTS write if cidx_inc == CIDXINC_MASK
When polling, we do a GTS update if the accumulated cidx_inc == the CQ depth / 16. However, if the CQ is large enough, Cq depth / 16 exceeds the size of the field in the GTS word. So we also need to update if cidx_inc hits CIDXINC_MASK to avoid overflowing the field. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Vipul Pandya <vipul@chelsio.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_slave.c')
0 files changed, 0 insertions, 0 deletions