Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6187392 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] vsp1: fix CodingStyle violations on multi-line comments



Several multi-line comments added at the vsp1 patch series
violate the Kernel CodingStyle. Fix them.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent c9f49607
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -242,7 +242,8 @@ static int bru_set_selection(struct v4l2_subdev *subdev,
		goto done;
	}

	/* The compose rectangle top left corner must be inside the output
	/*
	 * The compose rectangle top left corner must be inside the output
	 * frame.
	 */
	format = vsp1_entity_get_pad_format(&bru->entity, config,
+2 −1
Original line number Diff line number Diff line
@@ -224,7 +224,8 @@ static void clu_configure(struct vsp1_entity *entity,

	switch (params) {
	case VSP1_ENTITY_PARAMS_INIT: {
		/* The format can't be changed during streaming, only verify it
		/*
		 * The format can't be changed during streaming, only verify it
		 * at setup time and store the information internally for future
		 * runtime configuration calls.
		 */
+14 −7
Original line number Diff line number Diff line
@@ -296,7 +296,8 @@ struct vsp1_dl_list *vsp1_dl_list_get(struct vsp1_dl_manager *dlm)
		dl = list_first_entry(&dlm->free, struct vsp1_dl_list, list);
		list_del(&dl->list);

		/* The display list chain must be initialised to ensure every
		/*
		 * The display list chain must be initialised to ensure every
		 * display list can assert list_empty() if it is not in a chain.
		 */
		INIT_LIST_HEAD(&dl->chain);
@@ -315,7 +316,8 @@ static void __vsp1_dl_list_put(struct vsp1_dl_list *dl)
	if (!dl)
		return;

	/* Release any linked display-lists which were chained for a single
	/*
	 * Release any linked display-lists which were chained for a single
	 * hardware operation.
	 */
	if (dl->has_chain) {
@@ -325,7 +327,8 @@ static void __vsp1_dl_list_put(struct vsp1_dl_list *dl)

	dl->has_chain = false;

	/* We can't free fragments here as DMA memory can only be freed in
	/*
	 * We can't free fragments here as DMA memory can only be freed in
	 * interruptible context. Move all fragments to the display list
	 * manager's list of fragments to be freed, they will be
	 * garbage-collected by the work queue.
@@ -437,7 +440,8 @@ static void vsp1_dl_list_fill_header(struct vsp1_dl_list *dl, bool is_last)
	struct vsp1_dl_body *dlb;
	unsigned int num_lists = 0;

	/* Fill the header with the display list bodies addresses and sizes. The
	/*
	 * Fill the header with the display list bodies addresses and sizes. The
	 * address of the first body has already been filled when the display
	 * list was allocated.
	 */
@@ -456,7 +460,8 @@ static void vsp1_dl_list_fill_header(struct vsp1_dl_list *dl, bool is_last)

	dl->header->num_lists = num_lists;

	/* If this display list's chain is not empty, we are on a list, where
	/*
	 * If this display list's chain is not empty, we are on a list, where
	 * the next item in the list is the display list entity which should be
	 * automatically queued by the hardware.
	 */
@@ -482,7 +487,8 @@ void vsp1_dl_list_commit(struct vsp1_dl_list *dl)
	if (dl->dlm->mode == VSP1_DL_MODE_HEADER) {
		struct vsp1_dl_list *dl_child;

		/* In header mode the caller guarantees that the hardware is
		/*
		 * In header mode the caller guarantees that the hardware is
		 * idle at this point.
		 */

@@ -495,7 +501,8 @@ void vsp1_dl_list_commit(struct vsp1_dl_list *dl)
			vsp1_dl_list_fill_header(dl_child, last);
		}

		/* Commit the head display list to hardware. Chained headers
		/*
		 * Commit the head display list to hardware. Chained headers
		 * will auto-start.
		 */
		vsp1_write(vsp1, VI6_DL_HDR_ADDR(dlm->index), dl->dma);
+2 −1
Original line number Diff line number Diff line
@@ -283,7 +283,8 @@ int vsp1_du_atomic_update(struct device *dev, unsigned int rpf_index,
		cfg->pixelformat, cfg->pitch, &cfg->mem[0], &cfg->mem[1],
		&cfg->mem[2], cfg->zpos);

	/* Store the format, stride, memory buffer address, crop and compose
	/*
	 * Store the format, stride, memory buffer address, crop and compose
	 * rectangles and Z-order position and for the input.
	 */
	fmtinfo = vsp1_get_format_info(vsp1, cfg->pixelformat);
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ enum vsp1_entity_type {
	VSP1_ENTITY_WPF,
};

/*
/**
 * enum vsp1_entity_params - Entity configuration parameters class
 * @VSP1_ENTITY_PARAMS_INIT - Initial parameters
 * @VSP1_ENTITY_PARAMS_PARTITION - Per-image partition parameters
Loading