diff options
| author | Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> | 2024-07-16 01:16:12 +0300 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-16 18:45:09 +0300 | 
| commit | d938ec1a12a22a4eedff319aa41cba48e9c5e544 (patch) | |
| tree | ddc283916feda0c88425920078dd9791f1bd49c3 /drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | |
| parent | 1200bce4de8798ff73d1a0011e84b5ff68ffc25c (diff) | |
| download | linux-d938ec1a12a22a4eedff319aa41cba48e9c5e544.tar.xz | |
drm/amd/display: Add simple struct doc to remove doc build warning
This commit is a part of a series that addresses the following build
warning for opp:
./drivers/gpu/drm/amd/display/dc/inc/hw/opp.h:1: warning: no structured
comments found
./drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h:1: warning: no structured
comments found
This commit fixes this issue by adding a simple kernel-doc to a struct
in the opp.h and the dpp.h files.
Cc: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 22 | 
1 files changed, 17 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h index 9ac7fc717a92..0150f2581ee4 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h @@ -147,16 +147,28 @@ struct cnv_color_keyer_params {  	int color_keyer_blue_high;  }; -/* new for dcn2: set the 8bit alpha values based on the 2 bit alpha - *ALPHA_2BIT_LUT. ALPHA_2BIT_LUT0   default: 0b00000000 - *ALPHA_2BIT_LUT. ALPHA_2BIT_LUT1   default: 0b01010101 - *ALPHA_2BIT_LUT. ALPHA_2BIT_LUT2   default: 0b10101010 - *ALPHA_2BIT_LUT. ALPHA_2BIT_LUT3   default: 0b11111111 +/** + * struct cnv_alpha_2bit_lut - Set the 8bit alpha values based on the 2 bit alpha   */  struct cnv_alpha_2bit_lut { +	/** +	* @lut0: ALPHA_2BIT_LUT. ALPHA_2BIT_LUT0. Default: 0b00000000 +	*/  	int lut0; + +	/** +	 * @lut1: ALPHA_2BIT_LUT. ALPHA_2BIT_LUT1. Default: 0b01010101 +	 */  	int lut1; + +	/** +	 * @lut2: ALPHA_2BIT_LUT. ALPHA_2BIT_LUT2. Default: 0b10101010 +	 */  	int lut2; + +	/** +	 * @lut3: ALPHA_2BIT_LUT. ALPHA_2BIT_LUT3. Default: 0b11111111 +	 */  	int lut3;  };  | 
