From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
stable@vger.kernel.org, Lewis Huang <Lewis.Huang@amd.com>,
Aric Cyr <Aric.Cyr@amd.com>,
Qingqing Zhuo <qingqing.zhuo@amd.com>,
Alex Deucher <alexander.deucher@amd.com>,
Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.8 066/255] drm/amd/display: change global buffer to local buffer
Date: Tue, 1 Sep 2020 17:08:42 +0200 [thread overview]
Message-ID: <20200901151003.893400403@linuxfoundation.org> (raw)
In-Reply-To: <20200901151000.800754757@linuxfoundation.org>
From: Lewis Huang <Lewis.Huang@amd.com>
[ Upstream commit 8ae5b155928c9183c2f37b5c4eec21037d958699 ]
[Why]
Multi-adapter calculate regamma table at the same time.
Two thread used the same global variable cause race
condition.
[How]
Change global buffer to local buffer
Signed-off-by: Lewis Huang <Lewis.Huang@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
.../amd/display/amdgpu_dm/amdgpu_dm_color.c | 10 +-
.../drm/amd/display/modules/color/Makefile | 4 +
.../amd/display/modules/color/color_gamma.c | 115 ++++++++++--------
.../amd/display/modules/color/color_gamma.h | 18 ++-
.../amd/display/modules/color/color_table.c | 48 ++++++++
.../amd/display/modules/color/color_table.h | 47 +++++++
6 files changed, 183 insertions(+), 59 deletions(-)
create mode 100644 drivers/gpu/drm/amd/display/modules/color/color_table.c
create mode 100644 drivers/gpu/drm/amd/display/modules/color/color_table.h
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
index 4dfb6b55bb2ed..b321ff654df42 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c
@@ -195,10 +195,13 @@ static int __set_legacy_tf(struct dc_transfer_func *func,
bool has_rom)
{
struct dc_gamma *gamma = NULL;
+ struct calculate_buffer cal_buffer = {0};
bool res;
ASSERT(lut && lut_size == MAX_COLOR_LEGACY_LUT_ENTRIES);
+ cal_buffer.buffer_index = -1;
+
gamma = dc_create_gamma();
if (!gamma)
return -ENOMEM;
@@ -208,7 +211,7 @@ static int __set_legacy_tf(struct dc_transfer_func *func,
__drm_lut_to_dc_gamma(lut, gamma, true);
res = mod_color_calculate_regamma_params(func, gamma, true, has_rom,
- NULL);
+ NULL, &cal_buffer);
dc_gamma_release(&gamma);
@@ -221,10 +224,13 @@ static int __set_output_tf(struct dc_transfer_func *func,
bool has_rom)
{
struct dc_gamma *gamma = NULL;
+ struct calculate_buffer cal_buffer = {0};
bool res;
ASSERT(lut && lut_size == MAX_COLOR_LUT_ENTRIES);
+ cal_buffer.buffer_index = -1;
+
gamma = dc_create_gamma();
if (!gamma)
return -ENOMEM;
@@ -248,7 +254,7 @@ static int __set_output_tf(struct dc_transfer_func *func,
*/
gamma->type = GAMMA_CS_TFM_1D;
res = mod_color_calculate_regamma_params(func, gamma, false,
- has_rom, NULL);
+ has_rom, NULL, &cal_buffer);
}
dc_gamma_release(&gamma);
diff --git a/drivers/gpu/drm/amd/display/modules/color/Makefile b/drivers/gpu/drm/amd/display/modules/color/Makefile
index 65c33a76951a4..3ee7f27ff93b9 100644
--- a/drivers/gpu/drm/amd/display/modules/color/Makefile
+++ b/drivers/gpu/drm/amd/display/modules/color/Makefile
@@ -25,6 +25,10 @@
MOD_COLOR = color_gamma.o
+ifdef CONFIG_DRM_AMD_DC_DCN
+MOD_COLOR += color_table.o
+endif
+
AMD_DAL_MOD_COLOR = $(addprefix $(AMDDALPATH)/modules/color/,$(MOD_COLOR))
#$(info ************ DAL COLOR MODULE MAKEFILE ************)
diff --git a/drivers/gpu/drm/amd/display/modules/color/color_gamma.c b/drivers/gpu/drm/amd/display/modules/color/color_gamma.c
index bcfe34ef8c28d..b8695660b480e 100644
--- a/drivers/gpu/drm/amd/display/modules/color/color_gamma.c
+++ b/drivers/gpu/drm/amd/display/modules/color/color_gamma.c
@@ -30,20 +30,10 @@
#include "opp.h"
#include "color_gamma.h"
-#define NUM_PTS_IN_REGION 16
-#define NUM_REGIONS 32
-#define MAX_HW_POINTS (NUM_PTS_IN_REGION*NUM_REGIONS)
-
static struct hw_x_point coordinates_x[MAX_HW_POINTS + 2];
-static struct fixed31_32 pq_table[MAX_HW_POINTS + 2];
-static struct fixed31_32 de_pq_table[MAX_HW_POINTS + 2];
-
// these are helpers for calculations to reduce stack usage
// do not depend on these being preserved across calls
-static struct fixed31_32 scratch_1;
-static struct fixed31_32 scratch_2;
-static struct translate_from_linear_space_args scratch_gamma_args;
/* Helper to optimize gamma calculation, only use in translate_from_linear, in
* particular the dc_fixpt_pow function which is very expensive
@@ -56,9 +46,6 @@ static struct translate_from_linear_space_args scratch_gamma_args;
* just multiply with 2^gamma which can be computed once, and save the result so we
* recursively compute all the values.
*/
-static struct fixed31_32 pow_buffer[NUM_PTS_IN_REGION];
-static struct fixed31_32 gamma_of_2; // 2^gamma
-int pow_buffer_ptr = -1;
/*sRGB 709 2.2 2.4 P3*/
static const int32_t gamma_numerator01[] = { 31308, 180000, 0, 0, 0};
static const int32_t gamma_numerator02[] = { 12920, 4500, 0, 0, 0};
@@ -66,9 +53,6 @@ static const int32_t gamma_numerator03[] = { 55, 99, 0, 0, 0};
static const int32_t gamma_numerator04[] = { 55, 99, 0, 0, 0};
static const int32_t gamma_numerator05[] = { 2400, 2200, 2200, 2400, 2600};
-static bool pq_initialized; /* = false; */
-static bool de_pq_initialized; /* = false; */
-
/* one-time setup of X points */
void setup_x_points_distribution(void)
{
@@ -250,6 +234,8 @@ void precompute_pq(void)
struct fixed31_32 scaling_factor =
dc_fixpt_from_fraction(80, 10000);
+ struct fixed31_32 *pq_table = mod_color_get_table(type_pq_table);
+
/* pow function has problems with arguments too small */
for (i = 0; i < 32; i++)
pq_table[i] = dc_fixpt_zero;
@@ -269,7 +255,7 @@ void precompute_de_pq(void)
uint32_t begin_index, end_index;
struct fixed31_32 scaling_factor = dc_fixpt_from_int(125);
-
+ struct fixed31_32 *de_pq_table = mod_color_get_table(type_de_pq_table);
/* X points is 2^-25 to 2^7
* De-gamma X is 2^-12 to 2^0 – we are skipping first -12-(-25) = 13 regions
*/
@@ -339,6 +325,9 @@ static struct fixed31_32 translate_from_linear_space(
{
const struct fixed31_32 one = dc_fixpt_from_int(1);
+ struct fixed31_32 scratch_1, scratch_2;
+ struct calculate_buffer *cal_buffer = args->cal_buffer;
+
if (dc_fixpt_le(one, args->arg))
return one;
@@ -352,21 +341,21 @@ static struct fixed31_32 translate_from_linear_space(
return scratch_1;
} else if (dc_fixpt_le(args->a0, args->arg)) {
- if (pow_buffer_ptr == 0) {
- gamma_of_2 = dc_fixpt_pow(dc_fixpt_from_int(2),
+ if (cal_buffer->buffer_index == 0) {
+ cal_buffer->gamma_of_2 = dc_fixpt_pow(dc_fixpt_from_int(2),
dc_fixpt_recip(args->gamma));
}
scratch_1 = dc_fixpt_add(one, args->a3);
- if (pow_buffer_ptr < 16)
+ if (cal_buffer->buffer_index < 16)
scratch_2 = dc_fixpt_pow(args->arg,
dc_fixpt_recip(args->gamma));
else
- scratch_2 = dc_fixpt_mul(gamma_of_2,
- pow_buffer[pow_buffer_ptr%16]);
+ scratch_2 = dc_fixpt_mul(cal_buffer->gamma_of_2,
+ cal_buffer->buffer[cal_buffer->buffer_index%16]);
- if (pow_buffer_ptr != -1) {
- pow_buffer[pow_buffer_ptr%16] = scratch_2;
- pow_buffer_ptr++;
+ if (cal_buffer->buffer_index != -1) {
+ cal_buffer->buffer[cal_buffer->buffer_index%16] = scratch_2;
+ cal_buffer->buffer_index++;
}
scratch_1 = dc_fixpt_mul(scratch_1, scratch_2);
@@ -413,15 +402,17 @@ static struct fixed31_32 translate_from_linear_space_long(
args->a1);
}
-static struct fixed31_32 calculate_gamma22(struct fixed31_32 arg, bool use_eetf)
+static struct fixed31_32 calculate_gamma22(struct fixed31_32 arg, bool use_eetf, struct calculate_buffer *cal_buffer)
{
struct fixed31_32 gamma = dc_fixpt_from_fraction(22, 10);
+ struct translate_from_linear_space_args scratch_gamma_args;
scratch_gamma_args.arg = arg;
scratch_gamma_args.a0 = dc_fixpt_zero;
scratch_gamma_args.a1 = dc_fixpt_zero;
scratch_gamma_args.a2 = dc_fixpt_zero;
scratch_gamma_args.a3 = dc_fixpt_zero;
+ scratch_gamma_args.cal_buffer = cal_buffer;
scratch_gamma_args.gamma = gamma;
if (use_eetf)
@@ -467,14 +458,18 @@ static struct fixed31_32 translate_to_linear_space(
static struct fixed31_32 translate_from_linear_space_ex(
struct fixed31_32 arg,
struct gamma_coefficients *coeff,
- uint32_t color_index)
+ uint32_t color_index,
+ struct calculate_buffer *cal_buffer)
{
+ struct translate_from_linear_space_args scratch_gamma_args;
+
scratch_gamma_args.arg = arg;
scratch_gamma_args.a0 = coeff->a0[color_index];
scratch_gamma_args.a1 = coeff->a1[color_index];
scratch_gamma_args.a2 = coeff->a2[color_index];
scratch_gamma_args.a3 = coeff->a3[color_index];
scratch_gamma_args.gamma = coeff->user_gamma[color_index];
+ scratch_gamma_args.cal_buffer = cal_buffer;
return translate_from_linear_space(&scratch_gamma_args);
}
@@ -742,10 +737,11 @@ static void build_pq(struct pwl_float_data_ex *rgb_regamma,
struct fixed31_32 output;
struct fixed31_32 scaling_factor =
dc_fixpt_from_fraction(sdr_white_level, 10000);
+ struct fixed31_32 *pq_table = mod_color_get_table(type_pq_table);
- if (!pq_initialized && sdr_white_level == 80) {
+ if (!mod_color_is_table_init(type_pq_table) && sdr_white_level == 80) {
precompute_pq();
- pq_initialized = true;
+ mod_color_set_table_init_state(type_pq_table, true);
}
/* TODO: start index is from segment 2^-24, skipping first segment
@@ -787,12 +783,12 @@ static void build_de_pq(struct pwl_float_data_ex *de_pq,
{
uint32_t i;
struct fixed31_32 output;
-
+ struct fixed31_32 *de_pq_table = mod_color_get_table(type_de_pq_table);
struct fixed31_32 scaling_factor = dc_fixpt_from_int(125);
- if (!de_pq_initialized) {
+ if (!mod_color_is_table_init(type_de_pq_table)) {
precompute_de_pq();
- de_pq_initialized = true;
+ mod_color_set_table_init_state(type_de_pq_table, true);
}
@@ -811,7 +807,9 @@ static void build_de_pq(struct pwl_float_data_ex *de_pq,
static bool build_regamma(struct pwl_float_data_ex *rgb_regamma,
uint32_t hw_points_num,
- const struct hw_x_point *coordinate_x, enum dc_transfer_func_predefined type)
+ const struct hw_x_point *coordinate_x,
+ enum dc_transfer_func_predefined type,
+ struct calculate_buffer *cal_buffer)
{
uint32_t i;
bool ret = false;
@@ -827,20 +825,21 @@ static bool build_regamma(struct pwl_float_data_ex *rgb_regamma,
if (!build_coefficients(coeff, type))
goto release;
- memset(pow_buffer, 0, NUM_PTS_IN_REGION * sizeof(struct fixed31_32));
- pow_buffer_ptr = 0; // see variable definition for more info
+ memset(cal_buffer->buffer, 0, NUM_PTS_IN_REGION * sizeof(struct fixed31_32));
+ cal_buffer->buffer_index = 0; // see variable definition for more info
+
i = 0;
while (i <= hw_points_num) {
/*TODO use y vs r,g,b*/
rgb->r = translate_from_linear_space_ex(
- coord_x->x, coeff, 0);
+ coord_x->x, coeff, 0, cal_buffer);
rgb->g = rgb->r;
rgb->b = rgb->r;
++coord_x;
++rgb;
++i;
}
- pow_buffer_ptr = -1; // reset back to no optimize
+ cal_buffer->buffer_index = -1;
ret = true;
release:
kvfree(coeff);
@@ -932,7 +931,8 @@ static void hermite_spline_eetf(struct fixed31_32 input_x,
static bool build_freesync_hdr(struct pwl_float_data_ex *rgb_regamma,
uint32_t hw_points_num,
const struct hw_x_point *coordinate_x,
- const struct freesync_hdr_tf_params *fs_params)
+ const struct freesync_hdr_tf_params *fs_params,
+ struct calculate_buffer *cal_buffer)
{
uint32_t i;
struct pwl_float_data_ex *rgb = rgb_regamma;
@@ -969,7 +969,7 @@ static bool build_freesync_hdr(struct pwl_float_data_ex *rgb_regamma,
max_content = max_display;
if (!use_eetf)
- pow_buffer_ptr = 0; // see var definition for more info
+ cal_buffer->buffer_index = 0; // see var definition for more info
rgb += 32; // first 32 points have problems with fixed point, too small
coord_x += 32;
for (i = 32; i <= hw_points_num; i++) {
@@ -988,7 +988,7 @@ static bool build_freesync_hdr(struct pwl_float_data_ex *rgb_regamma,
if (dc_fixpt_lt(scaledX, dc_fixpt_zero))
output = dc_fixpt_zero;
else
- output = calculate_gamma22(scaledX, use_eetf);
+ output = calculate_gamma22(scaledX, use_eetf, cal_buffer);
rgb->r = output;
rgb->g = output;
@@ -1008,7 +1008,7 @@ static bool build_freesync_hdr(struct pwl_float_data_ex *rgb_regamma,
++coord_x;
++rgb;
}
- pow_buffer_ptr = -1;
+ cal_buffer->buffer_index = -1;
return true;
}
@@ -1606,7 +1606,7 @@ static void build_new_custom_resulted_curve(
}
static void apply_degamma_for_user_regamma(struct pwl_float_data_ex *rgb_regamma,
- uint32_t hw_points_num)
+ uint32_t hw_points_num, struct calculate_buffer *cal_buffer)
{
uint32_t i;
@@ -1619,7 +1619,7 @@ static void apply_degamma_for_user_regamma(struct pwl_float_data_ex *rgb_regamma
i = 0;
while (i != hw_points_num + 1) {
rgb->r = translate_from_linear_space_ex(
- coord_x->x, &coeff, 0);
+ coord_x->x, &coeff, 0, cal_buffer);
rgb->g = rgb->r;
rgb->b = rgb->r;
++coord_x;
@@ -1674,7 +1674,8 @@ static bool map_regamma_hw_to_x_user(
#define _EXTRA_POINTS 3
bool calculate_user_regamma_coeff(struct dc_transfer_func *output_tf,
- const struct regamma_lut *regamma)
+ const struct regamma_lut *regamma,
+ struct calculate_buffer *cal_buffer)
{
struct gamma_coefficients coeff;
const struct hw_x_point *coord_x = coordinates_x;
@@ -1706,11 +1707,11 @@ bool calculate_user_regamma_coeff(struct dc_transfer_func *output_tf,
}
while (i != MAX_HW_POINTS + 1) {
output_tf->tf_pts.red[i] = translate_from_linear_space_ex(
- coord_x->x, &coeff, 0);
+ coord_x->x, &coeff, 0, cal_buffer);
output_tf->tf_pts.green[i] = translate_from_linear_space_ex(
- coord_x->x, &coeff, 1);
+ coord_x->x, &coeff, 1, cal_buffer);
output_tf->tf_pts.blue[i] = translate_from_linear_space_ex(
- coord_x->x, &coeff, 2);
+ coord_x->x, &coeff, 2, cal_buffer);
++coord_x;
++i;
}
@@ -1723,7 +1724,8 @@ bool calculate_user_regamma_coeff(struct dc_transfer_func *output_tf,
}
bool calculate_user_regamma_ramp(struct dc_transfer_func *output_tf,
- const struct regamma_lut *regamma)
+ const struct regamma_lut *regamma,
+ struct calculate_buffer *cal_buffer)
{
struct dc_transfer_func_distributed_points *tf_pts = &output_tf->tf_pts;
struct dividers dividers;
@@ -1756,7 +1758,7 @@ bool calculate_user_regamma_ramp(struct dc_transfer_func *output_tf,
scale_user_regamma_ramp(rgb_user, ®amma->ramp, dividers);
if (regamma->flags.bits.applyDegamma == 1) {
- apply_degamma_for_user_regamma(rgb_regamma, MAX_HW_POINTS);
+ apply_degamma_for_user_regamma(rgb_regamma, MAX_HW_POINTS, cal_buffer);
copy_rgb_regamma_to_coordinates_x(coordinates_x,
MAX_HW_POINTS, rgb_regamma);
}
@@ -1943,7 +1945,8 @@ static bool calculate_curve(enum dc_transfer_func_predefined trans,
struct dc_transfer_func_distributed_points *points,
struct pwl_float_data_ex *rgb_regamma,
const struct freesync_hdr_tf_params *fs_params,
- uint32_t sdr_ref_white_level)
+ uint32_t sdr_ref_white_level,
+ struct calculate_buffer *cal_buffer)
{
uint32_t i;
bool ret = false;
@@ -1979,7 +1982,8 @@ static bool calculate_curve(enum dc_transfer_func_predefined trans,
build_freesync_hdr(rgb_regamma,
MAX_HW_POINTS,
coordinates_x,
- fs_params);
+ fs_params,
+ cal_buffer);
ret = true;
} else if (trans == TRANSFER_FUNCTION_HLG) {
@@ -2008,7 +2012,8 @@ static bool calculate_curve(enum dc_transfer_func_predefined trans,
build_regamma(rgb_regamma,
MAX_HW_POINTS,
coordinates_x,
- trans);
+ trans,
+ cal_buffer);
ret = true;
}
@@ -2018,7 +2023,8 @@ static bool calculate_curve(enum dc_transfer_func_predefined trans,
bool mod_color_calculate_regamma_params(struct dc_transfer_func *output_tf,
const struct dc_gamma *ramp, bool mapUserRamp, bool canRomBeUsed,
- const struct freesync_hdr_tf_params *fs_params)
+ const struct freesync_hdr_tf_params *fs_params,
+ struct calculate_buffer *cal_buffer)
{
struct dc_transfer_func_distributed_points *tf_pts = &output_tf->tf_pts;
struct dividers dividers;
@@ -2090,7 +2096,8 @@ bool mod_color_calculate_regamma_params(struct dc_transfer_func *output_tf,
tf_pts,
rgb_regamma,
fs_params,
- output_tf->sdr_ref_white_level);
+ output_tf->sdr_ref_white_level,
+ cal_buffer);
if (ret) {
map_regamma_hw_to_x_user(ramp, coeff, rgb_user,
diff --git a/drivers/gpu/drm/amd/display/modules/color/color_gamma.h b/drivers/gpu/drm/amd/display/modules/color/color_gamma.h
index 7f56226ba77a9..37ffbef6602b0 100644
--- a/drivers/gpu/drm/amd/display/modules/color/color_gamma.h
+++ b/drivers/gpu/drm/amd/display/modules/color/color_gamma.h
@@ -26,6 +26,8 @@
#ifndef COLOR_MOD_COLOR_GAMMA_H_
#define COLOR_MOD_COLOR_GAMMA_H_
+#include "color_table.h"
+
struct dc_transfer_func;
struct dc_gamma;
struct dc_transfer_func_distributed_points;
@@ -83,6 +85,12 @@ struct freesync_hdr_tf_params {
unsigned int skip_tm; // skip tm
};
+struct calculate_buffer {
+ int buffer_index;
+ struct fixed31_32 buffer[NUM_PTS_IN_REGION];
+ struct fixed31_32 gamma_of_2;
+};
+
struct translate_from_linear_space_args {
struct fixed31_32 arg;
struct fixed31_32 a0;
@@ -90,6 +98,7 @@ struct translate_from_linear_space_args {
struct fixed31_32 a2;
struct fixed31_32 a3;
struct fixed31_32 gamma;
+ struct calculate_buffer *cal_buffer;
};
void setup_x_points_distribution(void);
@@ -99,7 +108,8 @@ void precompute_de_pq(void);
bool mod_color_calculate_regamma_params(struct dc_transfer_func *output_tf,
const struct dc_gamma *ramp, bool mapUserRamp, bool canRomBeUsed,
- const struct freesync_hdr_tf_params *fs_params);
+ const struct freesync_hdr_tf_params *fs_params,
+ struct calculate_buffer *cal_buffer);
bool mod_color_calculate_degamma_params(struct dc_color_caps *dc_caps,
struct dc_transfer_func *output_tf,
@@ -109,10 +119,12 @@ bool mod_color_calculate_degamma_curve(enum dc_transfer_func_predefined trans,
struct dc_transfer_func_distributed_points *points);
bool calculate_user_regamma_coeff(struct dc_transfer_func *output_tf,
- const struct regamma_lut *regamma);
+ const struct regamma_lut *regamma,
+ struct calculate_buffer *cal_buffer);
bool calculate_user_regamma_ramp(struct dc_transfer_func *output_tf,
- const struct regamma_lut *regamma);
+ const struct regamma_lut *regamma,
+ struct calculate_buffer *cal_buffer);
#endif /* COLOR_MOD_COLOR_GAMMA_H_ */
diff --git a/drivers/gpu/drm/amd/display/modules/color/color_table.c b/drivers/gpu/drm/amd/display/modules/color/color_table.c
new file mode 100644
index 0000000000000..692e536e7d057
--- /dev/null
+++ b/drivers/gpu/drm/amd/display/modules/color/color_table.c
@@ -0,0 +1,48 @@
+/*
+ * Copyright (c) 2019 Advanced Micro Devices, Inc. (unpublished)
+ *
+ * All rights reserved. This notice is intended as a precaution against
+ * inadvertent publication and does not imply publication or any waiver
+ * of confidentiality. The year included in the foregoing notice is the
+ * year of creation of the work.
+ */
+
+#include "color_table.h"
+
+static struct fixed31_32 pq_table[MAX_HW_POINTS + 2];
+static struct fixed31_32 de_pq_table[MAX_HW_POINTS + 2];
+static bool pq_initialized;
+static bool de_pg_initialized;
+
+bool mod_color_is_table_init(enum table_type type)
+{
+ bool ret = false;
+
+ if (type == type_pq_table)
+ ret = pq_initialized;
+ if (type == type_de_pq_table)
+ ret = de_pg_initialized;
+
+ return ret;
+}
+
+struct fixed31_32 *mod_color_get_table(enum table_type type)
+{
+ struct fixed31_32 *table = NULL;
+
+ if (type == type_pq_table)
+ table = pq_table;
+ if (type == type_de_pq_table)
+ table = de_pq_table;
+
+ return table;
+}
+
+void mod_color_set_table_init_state(enum table_type type, bool state)
+{
+ if (type == type_pq_table)
+ pq_initialized = state;
+ if (type == type_de_pq_table)
+ de_pg_initialized = state;
+}
+
diff --git a/drivers/gpu/drm/amd/display/modules/color/color_table.h b/drivers/gpu/drm/amd/display/modules/color/color_table.h
new file mode 100644
index 0000000000000..2621dd6194027
--- /dev/null
+++ b/drivers/gpu/drm/amd/display/modules/color/color_table.h
@@ -0,0 +1,47 @@
+/*
+ * Copyright 2016 Advanced Micro Devices, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * Authors: AMD
+ *
+ */
+
+
+#ifndef COLOR_MOD_COLOR_TABLE_H_
+#define COLOR_MOD_COLOR_TABLE_H_
+
+#include "dc_types.h"
+
+#define NUM_PTS_IN_REGION 16
+#define NUM_REGIONS 32
+#define MAX_HW_POINTS (NUM_PTS_IN_REGION*NUM_REGIONS)
+
+enum table_type {
+ type_pq_table,
+ type_de_pq_table
+};
+
+bool mod_color_is_table_init(enum table_type type);
+
+struct fixed31_32 *mod_color_get_table(enum table_type type);
+
+void mod_color_set_table_init_state(enum table_type type, bool state);
+
+#endif /* COLOR_MOD_COLOR_TABLE_H_ */
--
2.25.1
next prev parent reply other threads:[~2020-09-01 16:10 UTC|newest]
Thread overview: 263+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-01 15:07 [PATCH 5.8 000/255] 5.8.6-rc1 review Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 001/255] khugepaged: khugepaged_test_exit() check mmget_still_valid() Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 002/255] ASoC: intel/skl/hda - fix probe regression on systems without i915 Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 003/255] ALSA: hda/hdmi: Add quirk to force connectivity Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 004/255] ALSA: pci: delete repeated words in comments Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 005/255] ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 006/255] ALSA: hda/hdmi: Use force connectivity quirk on another HP desktop Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 007/255] drm/amdgpu: fix RAS memory leak in error case Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 008/255] EDAC/mc: Call edac_inc_ue_error() before panic Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 009/255] ASoC: img: Fix a reference count leak in img_i2s_in_set_fmt Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 010/255] ASoC: img-parallel-out: Fix a reference count leak Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 011/255] ASoC: tegra: Fix reference count leaks Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 012/255] mfd: intel-lpss: Add Intel Emmitsburg PCH PCI IDs Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 013/255] arm64: dts: qcom: msm8916: Pull down PDM GPIOs during sleep Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 014/255] powerpc/xive: Ignore kmemleak false positives Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 015/255] media: pci: ttpci: av7110: fix possible buffer overflow caused by bad DMA value in debiirq() Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 016/255] gcc-plugins/stackleak: Dont instrument itself Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 017/255] blktrace: ensure our debugfs dir exists Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 018/255] staging: rts5208: fix memleaks on error handling paths in probe Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 019/255] scsi: target: tcmu: Fix crash on ARM during cmd completion Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 020/255] mfd: intel-lpss: Add Intel Tiger Lake PCH-H PCI IDs Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 021/255] iommu/iova: Dont BUG on invalid PFNs Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 022/255] platform/chrome: cros_ec_sensorhub: Fix EC timestamp overflow Greg Kroah-Hartman
2020-09-01 15:07 ` [PATCH 5.8 023/255] drm/amdkfd: Fix reference count leaks Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 024/255] drm/radeon: fix multiple reference count leak Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 025/255] drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 026/255] drm/amd/display: fix ref count leak in amdgpu_drm_ioctl Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 027/255] drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 028/255] drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 029/255] drm/amdgpu/fence: " Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 030/255] drm/amdkfd: " Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 031/255] drm/amdgpu/pm: " Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 032/255] scsi: lpfc: Fix shost refcount mismatch when deleting vport Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 033/255] xfs: Dont allow logging of XFS_ISTALE inodes Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 034/255] scsi: target: Fix xcopy sess release leak Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 035/255] selftests/powerpc: Purge extra count_pmc() calls of ebb selftests Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 036/255] f2fs: remove write attribute of main_blkaddr sysfs node Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 037/255] f2fs: fix error path in do_recover_data() Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 038/255] MIPS: KVM: Limit Trap-and-Emulate to MIPS32R2 only Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 039/255] omapfb: fix multiple reference count leaks due to pm_runtime_get_sync Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 040/255] PCI: Fix pci_create_slot() reference count leak Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 041/255] ARM: dts: ls1021a: output PPS signal on FIPER2 Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 042/255] rtlwifi: rtl8192cu: Prevent leaking urb Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 043/255] mips/vdso: Fix resource leaks in genvdso.c Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 044/255] ALSA: hda: Add support for Loongson 7A1000 controller Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 045/255] gpu: host1x: Put gathers BO on pinning error Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 046/255] cec-api: prevent leaking memory through hole in structure Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 047/255] ASoC: Intel: sof_sdw_rt711: remove properties in card remove Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 048/255] HID: quirks: add NOGET quirk for Logitech GROUP Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 049/255] f2fs: fix use-after-free issue Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 050/255] drm/nouveau/drm/noveau: fix reference count leak in nouveau_fbcon_open Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 051/255] drm/nouveau: fix reference count leak in nv50_disp_atomic_commit Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 052/255] drm/nouveau: Fix reference count leak in nouveau_connector_detect Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 053/255] locking/lockdep: Fix overflow in presentation of average lock-time Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 054/255] btrfs: file: reserve qgroup space after the hole punch range is locked Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 055/255] btrfs: make btrfs_qgroup_check_reserved_leak take btrfs_inode Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 056/255] scsi: iscsi: Do not put host in iscsi_set_flashnode_param() Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 057/255] netfilter: nf_tables: report EEXIST on overlaps Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 058/255] ceph: fix potential mdsc use-after-free crash Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 059/255] ceph: do not access the kiocb after aio requests Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 060/255] scsi: fcoe: Memory leak fix in fcoe_sysfs_fcf_del() Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 061/255] i2c: i801: Add support for Intel Tiger Lake PCH-H Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 062/255] EDAC/ie31200: Fallback if host bridge device is already initialized Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 063/255] hugetlbfs: prevent filesystem stacking of hugetlbfs Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 064/255] media: davinci: vpif_capture: fix potential double free Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 065/255] media: i2c: imx290: fix reset GPIO pin handling Greg Kroah-Hartman
2020-09-01 15:08 ` Greg Kroah-Hartman [this message]
2020-09-01 15:08 ` [PATCH 5.8 067/255] drm/amd/display: fix compilation error on allmodconfig Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 068/255] KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 069/255] powerpc/spufs: add CONFIG_COREDUMP dependency Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 070/255] dmaengine: idxd: fix PCI_MSI build errors Greg Kroah-Hartman
2020-09-01 17:13 ` Dave Jiang
2020-09-01 15:08 ` [PATCH 5.8 071/255] USB: sisusbvga: Fix a potential UB casued by left shifting a negative value Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 072/255] mmc: sdhci-of-arasan: fix timings allocation code Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 073/255] brcmfmac: Set timeout value when configuring power save Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 074/255] pinctrl: mediatek: avoid virtual gpio trying to set reg Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 075/255] pinctrl: mediatek: fix build for tristate changes Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 076/255] efi: provide empty efi_enter_virtual_mode implementation Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 077/255] arm64: Fix __cpu_logical_map undefined issue Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 078/255] net: openvswitch: introduce common code for flushing flows Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 079/255] PCI: qcom: Add missing ipq806x clocks in PCIe driver Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 080/255] PCI: qcom: Change duplicate PCI reset to phy reset Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 081/255] PCI: qcom: Add missing reset for ipq806x Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 082/255] PM / devfreq: Fix the wrong end with semicolon Greg Kroah-Hartman
2020-09-01 15:08 ` [PATCH 5.8 083/255] cpufreq: intel_pstate: Fix EPP setting via sysfs in active mode Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 084/255] ALSA: usb-audio: Add capture support for Saffire 6 (USB 1.1) Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 085/255] nfsd: fix oops on mixed NFSv4/NFSv3 client access Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 086/255] block: respect queue limit of max discard segment Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 087/255] block: virtio_blk: fix handling single range discard request Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 088/255] drm/msm/adreno: fix updating ring fence Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 089/255] block: Fix page_is_mergeable() for compound pages Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 090/255] bfq: fix blkio cgroup leakage v4 Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 091/255] hwmon: (nct7904) Correct divide by 0 Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 092/255] blk-mq: insert request not through ->queue_rq into sw/scheduler queue Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 093/255] blkcg: fix memleak for iolatency Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 094/255] nvmet: fix a memory leak Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 095/255] nvme-fc: Fix wrong return value in __nvme_fc_init_request() Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 096/255] nvme: multipath: round-robin: fix single non-optimized path case Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 097/255] null_blk: fix passing of REQ_FUA flag in null_handle_rq Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 098/255] habanalabs: Fix memory corruption in debugfs Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 099/255] drm/etnaviv: always start/stop scheduler in timeout processing Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 100/255] i2c: core: Dont fail PRP0001 enumeration when no ID table exist Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 101/255] i2c: rcar: in slave mode, clear NACK earlier Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 102/255] vdpa: ifcvf: return err when fail to request config irq Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 103/255] vdpa: ifcvf: free config irq in ifcvf_free_irq() Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 104/255] usb: gadget: f_tcm: Fix some resource leaks in some error paths Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 105/255] video: fbdev: controlfb: Fix build for COMPILE_TEST=y && PPC_PMAC=n Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 106/255] spi: stm32: clear only asserted irq flags on interrupt Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 107/255] jbd2: make sure jh have b_transaction set in refile/unfile_buffer Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 108/255] ext4: dont BUG on inconsistent journal feature Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 109/255] ext4: handle read only external journal device Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 110/255] ext4: skip non-loaded groups at cr=0/1 when scanning for good groups Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 111/255] drm/virtio: fix memory leak in virtio_gpu_cleanup_object() Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 112/255] ext4: abort the filesystem if failed to async write metadata buffer Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 113/255] jbd2: abort journal if free a async write error " Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 114/255] ext4: handle option set by mount flags correctly Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 115/255] ext4: handle error of ext4_setup_system_zone() on remount Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 116/255] ext4: correctly restore system zone info when remount fails Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 117/255] fs: prevent BUG_ON in submit_bh_wbc() Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 118/255] spi: stm32h7: fix race condition at end of transfer Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 119/255] spi: stm32: fix fifo threshold level in case of short transfer Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 120/255] spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 121/255] spi: stm32: always perform registers configuration prior to transfer Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 122/255] drm/amd/powerplay: correct Vega20 cached smu feature state Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 123/255] drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 124/255] drm/amd/display: Fix LFC multiplier changing erratically Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 125/255] drm/amd/display: Switch to immediate mode for updating infopackets Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 126/255] selftests/bpf: Fix segmentation fault in test_progs Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 127/255] libbpf: Handle GCC built-in types for Arm NEON Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 128/255] netfilter: avoid ipv6 -> nf_defrag_ipv6 module dependency Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 129/255] libbpf: Prevent overriding errno when logging errors Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 130/255] tools/bpftool: Fix compilation warnings in 32-bit mode Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 131/255] selftest/bpf: " Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 132/255] selftests/bpf: Fix btf_dump test cases on 32-bit arches Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 133/255] selftests/bpf: Correct various core_reloc 64-bit assumptions Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 134/255] can: j1939: transport: j1939_xtp_rx_dat_one(): compare own packets to detect corruptions Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 135/255] dma-pool: fix coherent pool allocations for IOMMU mappings Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 136/255] dma-pool: Only allocate from CMA when in same memory zone Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 137/255] drivers/net/wan/hdlc_x25: Added needed_headroom and a skb->len check Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 138/255] ALSA: hda/realtek: Add model alc298-samsung-headphone Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 139/255] s390/cio: add cond_resched() in the slow_eval_known_fn() loop Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 140/255] ASoC: wm8994: Avoid attempts to read unreadable registers Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 141/255] ALSA: usb-audio: ignore broken processing/extension unit Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 142/255] selftests: disable rp_filter for icmp_redirect.sh Greg Kroah-Hartman
2020-09-01 15:09 ` [PATCH 5.8 143/255] scsi: fcoe: Fix I/O path allocation Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 144/255] scsi: ufs: Fix possible infinite loop in ufshcd_hold Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 145/255] scsi: ufs: Improve interrupt handling for shared interrupts Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 146/255] scsi: ufs: Clean up completed request without interrupt notification Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 147/255] scsi: scsi_debug: Fix scp is NULL errors Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 148/255] scsi: qla2xxx: Flush all sessions on zone disable Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 149/255] scsi: qla2xxx: Flush I/O " Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 150/255] scsi: qla2xxx: Indicate correct supported speeds for Mezz card Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 151/255] scsi: qla2xxx: Fix login timeout Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 152/255] scsi: qla2xxx: Check if FW supports MQ before enabling Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 153/255] scsi: qla2xxx: Fix null pointer access during disconnect from subsystem Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 154/255] Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command" Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 155/255] macvlan: validate setting of multiple remote source MAC addresses Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 156/255] net: gianfar: Add of_node_put() before goto statement Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 157/255] drm/amdgpu: fix NULL pointer access issue when unloading driver Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 158/255] drm/amdkfd: fix the wrong sdma instance query for renoir Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 159/255] bpf: Fix a rcu_sched stall issue with bpf task/task_file iterator Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 160/255] bpf: Avoid visit same object multiple times Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 161/255] ext4: limit the length of per-inode prealloc list Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 162/255] powerpc/perf: Fix soft lockups due to missed interrupt accounting Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 163/255] libbpf: Fix map index used in error message Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 164/255] bpf: selftests: global_funcs: Check err_str before strstr Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 165/255] arm64: Move handling of erratum 1418040 into C code Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 166/255] arm64: Allow booting of late CPUs affected by erratum 1418040 Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 167/255] hwmon: (gsc-hwmon) Scale temperature to millidegrees Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 168/255] block: fix get_max_io_size() Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 169/255] block: loop: set discard granularity and alignment for block device backed loop Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 170/255] HID: i2c-hid: Always sleep 60ms after I2C_HID_PWR_ON commands Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 171/255] blk-mq: order adding requests to hctx->dispatch and checking SCHED_RESTART Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 172/255] btrfs: reset compression level for lzo on remount Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 173/255] btrfs: check the right error variable in btrfs_del_dir_entries_in_log Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 174/255] btrfs: fix space cache memory leak after transaction abort Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 175/255] btrfs: detect nocow for swap after snapshot delete Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 176/255] fbcon: prevent user font height or width change from causing potential out-of-bounds access Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 177/255] USB: lvtest: return proper error code in probe Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 178/255] vt: defer kfree() of vc_screenbuf in vc_do_resize() Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 179/255] vt_ioctl: change VT_RESIZEX ioctl to check for error return from vc_resize() Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 180/255] serial: samsung: Removes the IRQ not found warning Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 181/255] serial: pl011: Fix oops on -EPROBE_DEFER Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 182/255] serial: pl011: Dont leak amba_ports entry on driver register error Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 183/255] serial: stm32: avoid kernel warning on absence of optional IRQ Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 184/255] serial: 8250_exar: Fix number of ports for Commtech PCIe cards Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 185/255] serial: 8250: change lock order in serial8250_do_startup() Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 186/255] io_uring: clear req->result on IOPOLL re-issue Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 187/255] writeback: Protect inode->i_io_list with inode->i_lock Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 188/255] writeback: Avoid skipping inode writeback Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 189/255] writeback: Fix sync livelock due to b_dirty_time processing Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 190/255] XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 191/255] usb: renesas-xhci: remove version check Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 192/255] usb: host: xhci-tegra: otg usb2/usb3 port init Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 193/255] usb: host: xhci-tegra: fix tegra_xusb_get_phy() Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 194/255] usb: host: xhci: fix ep context print mismatch in debugfs Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 195/255] xhci: Do warm-reset when both CAS and XDEV_RESUME are set Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 196/255] xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 197/255] io-wq: fix hang after cancelling pending hashed work Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 198/255] KVM: arm64: Set HCR_EL2.PTW to prevent AT taking synchronous exception Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 199/255] arm64: vdso32: make vdso32 install conditional Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 200/255] PM: sleep: core: Fix the handling of pending runtime resume requests Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 201/255] powerpc/32s: Disable VMAP stack which CONFIG_ADB_PMU Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 202/255] powerpc/perf: Fix crashes with generic_compat_pmu & BHRB Greg Kroah-Hartman
2020-09-01 15:10 ` [PATCH 5.8 203/255] device property: Fix the secondary firmware node handling in set_primary_fwnode() Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 204/255] crypto: af_alg - Work around empty control messages without MSG_MORE Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 205/255] usbip: Implement a match function to fix usbip Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 206/255] genirq/matrix: Deal with the sillyness of for_each_cpu() on UP Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 207/255] irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 208/255] x86/irq: Unbreak interrupt affinity setting Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 209/255] x86/hotplug: Silence APIC only after all interrupts are migrated Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 210/255] drm/i915: Fix cmd parser desc matching with masks Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 211/255] drm/etnaviv: fix external abort seen on GC600 rev 0x19 Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 212/255] drm/dp_mst: Dont return error code when crtc is null Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 213/255] drm/modeset-lock: Take the modeset BKL for legacy drivers Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 214/255] drm/amdgpu: Fix buffer overflow in INFO ioctl Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 215/255] drm/amd/display: use correct scale for actual_brightness Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 216/255] drm/amdgpu/gfx10: refine mgcg setting Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 217/255] drm/amd/powerplay: Fix hardmins not being sent to SMU for RV Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 218/255] drm/amd/pm: correct Vega10 swctf limit setting Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 219/255] drm/amd/pm: correct Vega12 " Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 220/255] drm/amd/pm: correct Vega20 " Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 221/255] drm/amd/pm: correct the thermal alert temperature limit settings Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 222/255] USB: yurex: Fix bad gfp argument Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 223/255] usb: uas: Add quirk for PNY Pro Elite Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 224/255] USB: quirks: Add no-lpm quirk for another Raydium touchscreen Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 225/255] USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 226/255] USB: Ignore UAS for JMicron JMS567 ATA/ATAPI Bridge Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 227/255] usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe() Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 228/255] USB: gadget: u_f: add overflow checks to VLA macros Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 229/255] USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb() Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 230/255] USB: gadget: u_f: Unbreak offset calculation in VLAs Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 231/255] usb: dwc3: gadget: Dont setup more than requested Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 232/255] usb: dwc3: gadget: Fix handling ZLP Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 233/255] usb: dwc3: gadget: Handle ZLP for sg requests Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 234/255] USB: cdc-acm: rework notification_buffer resizing Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 235/255] usb: storage: Add unusual_uas entry for Sony PSZ drives Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 236/255] USB: Also match device drivers using the ->match vfunc Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 237/255] USB: Fix device driver race Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 238/255] usb: typec: ucsi: Fix AB BA lock inversion Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 239/255] usb: typec: ucsi: Fix 2 unlocked ucsi_run_command calls Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 240/255] usb: typec: ucsi: Rework ppm_lock handling Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 241/255] usb: typec: ucsi: Hold con->lock for the entire duration of ucsi_register_port() Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 242/255] usb: typec: tcpm: Fix Fix source hard reset response for TDA 2.3.1.1 and TDA 2.3.1.2 failures Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 243/255] io_uring: dont recurse on tsk->sighand->siglock with signalfd Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 244/255] io_uring: dont use poll handler if file cant be nonblocking read/written Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 245/255] io_uring: make offset == -1 consistent with preadv2/pwritev2 Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 246/255] drm/atomic-helper: reset vblank on crtc reset Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 247/255] fbmem: pull fbcon_update_vcs() out of fb_set_var() Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 248/255] mm/page_counter: fix various data races at memsw Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 249/255] HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage() Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 250/255] drm/vmwgfx/stdu: Use drm_mode_config_reset Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 251/255] drm/vmwgfx/sou: " Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 252/255] drm/vmwgfx/ldu: " Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 253/255] libbpf: Fix build on ppc64le architecture Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 254/255] dma-pool: Fix an uninitialized variable bug in atomic_pool_expand() Greg Kroah-Hartman
2020-09-01 15:11 ` [PATCH 5.8 255/255] ALSA: usb-audio: Update documentation comment for MS2109 quirk Greg Kroah-Hartman
2020-09-01 19:42 ` [PATCH 5.8 000/255] 5.8.6-rc1 review Holger Hoffstätte
2020-09-02 7:40 ` Greg Kroah-Hartman
2020-09-01 22:19 ` Shuah Khan
2020-09-03 9:29 ` Greg Kroah-Hartman
2020-09-02 5:44 ` Naresh Kamboju
2020-09-02 7:38 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200901151003.893400403@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=Aric.Cyr@amd.com \
--cc=Lewis.Huang@amd.com \
--cc=alexander.deucher@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=qingqing.zhuo@amd.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).