diff options
author | Jun Lei <Jun.Lei@amd.com> | 2018-04-26 10:24:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-05-18 17:08:28 -0400 |
commit | 109ece8d43cdb491a968b3690e947e27225f886e (patch) | |
tree | b916e2cdb1df214ee32e6335522e81c440df973f | |
parent | 8fc06ebc2bb719cddb041bcb14b5ca87adbcd57f (diff) |
drm/amd/display: constify a few dc_surface_update fields
Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 7a9f600662ce..9cfde0ccf4e9 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h | |||
@@ -503,18 +503,18 @@ struct dc_surface_update { | |||
503 | struct dc_plane_state *surface; | 503 | struct dc_plane_state *surface; |
504 | 504 | ||
505 | /* isr safe update parameters. null means no updates */ | 505 | /* isr safe update parameters. null means no updates */ |
506 | struct dc_flip_addrs *flip_addr; | 506 | const struct dc_flip_addrs *flip_addr; |
507 | struct dc_plane_info *plane_info; | 507 | const struct dc_plane_info *plane_info; |
508 | struct dc_scaling_info *scaling_info; | 508 | const struct dc_scaling_info *scaling_info; |
509 | 509 | ||
510 | /* following updates require alloc/sleep/spin that is not isr safe, | 510 | /* following updates require alloc/sleep/spin that is not isr safe, |
511 | * null means no updates | 511 | * null means no updates |
512 | */ | 512 | */ |
513 | struct dc_gamma *gamma; | 513 | const struct dc_gamma *gamma; |
514 | struct dc_transfer_func *in_transfer_func; | 514 | const struct dc_transfer_func *in_transfer_func; |
515 | 515 | ||
516 | struct dc_csc_transform *input_csc_color_matrix; | 516 | const struct dc_csc_transform *input_csc_color_matrix; |
517 | struct fixed31_32 *coeff_reduction_factor; | 517 | const struct fixed31_32 *coeff_reduction_factor; |
518 | }; | 518 | }; |
519 | 519 | ||
520 | /* | 520 | /* |