Skip to content

Commit 9550099

Browse files
surajk8aknautiyal
authored andcommitted
drm/i915/drm: Fix comment for YCbCr20 qp table declaration
Fix comment for YCbCr420 qp table declaration of max value where the min value is 4 and the max value is 12/15/18 depending on bpc. Signed-off-by: Suraj Kandpal <[email protected]> Reviewed-by: Ankit Nautiyal <[email protected]> Signed-off-by: Ankit Nautiyal <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ef4374f commit 9550099

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

drivers/gpu/drm/i915/display/intel_qp_tables.c

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@
1717
/* from BPP 6 to 36 in steps of 0.5 */
1818
#define RC_RANGE_QP444_12BPC_MAX_NUM_BPP 61
1919

20-
/* from BPP 6 to 24 in steps of 0.5 */
20+
/* For YCbCr420 the bits_per_pixel sent in PPS params
21+
* is double the target bpp. The below values represent
22+
* the target bpp.
23+
*/
24+
/* from BPP 4 to 12 in steps of 0.5 */
2125
#define RC_RANGE_QP420_8BPC_MAX_NUM_BPP 17
2226

23-
/* from BPP 6 to 30 in steps of 0.5 */
27+
/* from BPP 4 to 15 in steps of 0.5 */
2428
#define RC_RANGE_QP420_10BPC_MAX_NUM_BPP 23
2529

26-
/* from BPP 6 to 36 in steps of 0.5 */
30+
/* from BPP 4 to 18 in steps of 0.5 */
2731
#define RC_RANGE_QP420_12BPC_MAX_NUM_BPP 29
2832

2933
/*

0 commit comments

Comments
 (0)