Lines Matching refs:sdirty
1022 struct vmw_kms_sou_surface_dirty *sdirty = in vmw_sou_surface_fifo_commit() local
1023 container_of(dirty, typeof(*sdirty), base); in vmw_sou_surface_fifo_commit()
1025 s32 trans_x = dirty->unit->crtc.x - sdirty->dst_x; in vmw_sou_surface_fifo_commit()
1026 s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y; in vmw_sou_surface_fifo_commit()
1043 cmd->body.destRect.left = sdirty->left; in vmw_sou_surface_fifo_commit()
1044 cmd->body.destRect.right = sdirty->right; in vmw_sou_surface_fifo_commit()
1045 cmd->body.destRect.top = sdirty->top; in vmw_sou_surface_fifo_commit()
1046 cmd->body.destRect.bottom = sdirty->bottom; in vmw_sou_surface_fifo_commit()
1048 cmd->body.srcRect.left = sdirty->left + trans_x; in vmw_sou_surface_fifo_commit()
1049 cmd->body.srcRect.right = sdirty->right + trans_x; in vmw_sou_surface_fifo_commit()
1050 cmd->body.srcRect.top = sdirty->top + trans_y; in vmw_sou_surface_fifo_commit()
1051 cmd->body.srcRect.bottom = sdirty->bottom + trans_y; in vmw_sou_surface_fifo_commit()
1053 cmd->body.srcImage.sid = sdirty->sid; in vmw_sou_surface_fifo_commit()
1058 blit->left -= sdirty->left; in vmw_sou_surface_fifo_commit()
1059 blit->right -= sdirty->left; in vmw_sou_surface_fifo_commit()
1060 blit->top -= sdirty->top; in vmw_sou_surface_fifo_commit()
1061 blit->bottom -= sdirty->top; in vmw_sou_surface_fifo_commit()
1066 sdirty->left = sdirty->top = S32_MAX; in vmw_sou_surface_fifo_commit()
1067 sdirty->right = sdirty->bottom = S32_MIN; in vmw_sou_surface_fifo_commit()
1080 struct vmw_kms_sou_surface_dirty *sdirty = in vmw_sou_surface_clip() local
1081 container_of(dirty, typeof(*sdirty), base); in vmw_sou_surface_clip()
1093 sdirty->left = min_t(s32, sdirty->left, dirty->unit_x1); in vmw_sou_surface_clip()
1094 sdirty->top = min_t(s32, sdirty->top, dirty->unit_y1); in vmw_sou_surface_clip()
1095 sdirty->right = max_t(s32, sdirty->right, dirty->unit_x2); in vmw_sou_surface_clip()
1096 sdirty->bottom = max_t(s32, sdirty->bottom, dirty->unit_y2); in vmw_sou_surface_clip()
1136 struct vmw_kms_sou_surface_dirty sdirty; in vmw_kms_sou_do_surface_dirty() local
1152 sdirty.base.fifo_commit = vmw_sou_surface_fifo_commit; in vmw_kms_sou_do_surface_dirty()
1153 sdirty.base.clip = vmw_sou_surface_clip; in vmw_kms_sou_do_surface_dirty()
1154 sdirty.base.dev_priv = dev_priv; in vmw_kms_sou_do_surface_dirty()
1155 sdirty.base.fifo_reserve_size = sizeof(struct vmw_kms_sou_dirty_cmd) + in vmw_kms_sou_do_surface_dirty()
1157 sdirty.base.crtc = crtc; in vmw_kms_sou_do_surface_dirty()
1159 sdirty.sid = srf->id; in vmw_kms_sou_do_surface_dirty()
1160 sdirty.left = sdirty.top = S32_MAX; in vmw_kms_sou_do_surface_dirty()
1161 sdirty.right = sdirty.bottom = S32_MIN; in vmw_kms_sou_do_surface_dirty()
1162 sdirty.dst_x = dest_x; in vmw_kms_sou_do_surface_dirty()
1163 sdirty.dst_y = dest_y; in vmw_kms_sou_do_surface_dirty()
1167 &sdirty.base); in vmw_kms_sou_do_surface_dirty()