Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Rodrigo Siqueira and committed by
Alex Deucher
d938ec1a 1200bce4

+32 -5
+17 -5
drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
··· 147 147 int color_keyer_blue_high; 148 148 }; 149 149 150 - /* new for dcn2: set the 8bit alpha values based on the 2 bit alpha 151 - *ALPHA_2BIT_LUT. ALPHA_2BIT_LUT0 default: 0b00000000 152 - *ALPHA_2BIT_LUT. ALPHA_2BIT_LUT1 default: 0b01010101 153 - *ALPHA_2BIT_LUT. ALPHA_2BIT_LUT2 default: 0b10101010 154 - *ALPHA_2BIT_LUT. ALPHA_2BIT_LUT3 default: 0b11111111 150 + /** 151 + * struct cnv_alpha_2bit_lut - Set the 8bit alpha values based on the 2 bit alpha 155 152 */ 156 153 struct cnv_alpha_2bit_lut { 154 + /** 155 + * @lut0: ALPHA_2BIT_LUT. ALPHA_2BIT_LUT0. Default: 0b00000000 156 + */ 157 157 int lut0; 158 + 159 + /** 160 + * @lut1: ALPHA_2BIT_LUT. ALPHA_2BIT_LUT1. Default: 0b01010101 161 + */ 158 162 int lut1; 163 + 164 + /** 165 + * @lut2: ALPHA_2BIT_LUT. ALPHA_2BIT_LUT2. Default: 0b10101010 166 + */ 159 167 int lut2; 168 + 169 + /** 170 + * @lut3: ALPHA_2BIT_LUT. ALPHA_2BIT_LUT3. Default: 0b11111111 171 + */ 160 172 int lut3; 161 173 }; 162 174
+15
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
··· 205 205 struct fixed31_32 user_brightness; 206 206 }; 207 207 208 + /** 209 + * struct pwl_float_data - Fixed point RGB color 210 + */ 208 211 struct pwl_float_data { 212 + /** 213 + * @r: Component Red. 214 + */ 209 215 struct fixed31_32 r; 216 + 217 + /** 218 + * @g: Component Green. 219 + */ 220 + 210 221 struct fixed31_32 g; 222 + 223 + /** 224 + * @b: Component Blue. 225 + */ 211 226 struct fixed31_32 b; 212 227 }; 213 228