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

drm/amd: add missing fill of the array`s first element

In function fill_iram_v_2, the ram_table->bright_neg_gain`s
first element [0][0] seems to be missing. This change is just
to make the code a bit readable.

Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Bernard Zhao and committed by
Alex Deucher
1ed0b2dd d4dd3364

+1
+1
drivers/gpu/drm/amd/display/modules/power/power_helpers.c
··· 353 353 ram_table->bright_pos_gain[4][1] = 0x20; 354 354 ram_table->bright_pos_gain[4][2] = 0x20; 355 355 ram_table->bright_pos_gain[4][3] = 0x20; 356 + ram_table->bright_neg_gain[0][0] = 0x00; 356 357 ram_table->bright_neg_gain[0][1] = 0x00; 357 358 ram_table->bright_neg_gain[0][2] = 0x00; 358 359 ram_table->bright_neg_gain[0][3] = 0x00;