summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
diff options
context:
space:
mode:
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>2017-04-18 23:51:39 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 01:06:31 +0300
commit974db151d48b6793fc2b708d1c3f9ceee735fc5a (patch)
tree115ac761ce74e8de3e3ee3b9fb8461cae6e29bdf /drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
parent50f27269b8dd81d73c787dd18ba19a08bec128d3 (diff)
downloadlinux-974db151d48b6793fc2b708d1c3f9ceee735fc5a.tar.xz
drm/amd/display: remove unnecessary allocation for regamma_params inside opp
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/opp.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/opp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
index 521bd21eb5df..92c99c3b9002 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
@@ -203,7 +203,7 @@ enum opp_regamma {
struct output_pixel_processor {
struct dc_context *ctx;
uint32_t inst;
- struct pwl_params *regamma_params;
+ struct pwl_params regamma_params;
const struct opp_funcs *funcs;
};