Skip to contentSkip to conversation

drm/amd/display: Drop AMD_EDID_UTILITY defines

PATCH In review Harry Wentland 2 participants 2 messages Nov 28, 2019 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Drop AMD_EDID_UTILITY defines

We don't use this upstream in the Linux kernel.

---
 drivers/gpu/drm/amd/display/dc/dc_dsc.h      | 2 --
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 8 --------
 drivers/gpu/drm/amd/display/dc/dc_types.h    | 4 ----
 3 files changed, 14 deletions(-)
drivers/gpu/drm/amd/display/dc/dc_dsc.h +0 -2
index a782ae18a1c5..cc9915e545cd 100644
@@ -41,10 +41,8 @@ struct dc_dsc_bw_range {
 
 struct display_stream_compressor {
 	const struct dsc_funcs *funcs;
-#ifndef AMD_EDID_UTILITY
 	struct dc_context *ctx;
 	int inst;
-#endif
 };
 
 bool dc_dsc_parse_dsc_dpcd(const uint8_t *dpcd_dsc_basic_data,
drivers/gpu/drm/amd/display/dc/dc_hw_types.h +0 -8
index 86043d431d40..25c50bcab9e9 100644
@@ -26,8 +26,6 @@
 #ifndef DC_HW_TYPES_H
 #define DC_HW_TYPES_H
 
-#ifndef AMD_EDID_UTILITY
-
 #include "os_types.h"
 #include "fixed31_32.h"
 #include "signal_types.h"
@@ -584,8 +582,6 @@ struct scaling_taps {
 	bool integer_scaling;
 };
 
-#endif /* AMD_EDID_UTILITY */
-
 enum dc_timing_standard {
 	DC_TIMING_STANDARD_UNDEFINED,
 	DC_TIMING_STANDARD_DMT,
@@ -742,8 +738,6 @@ struct dc_crtc_timing {
 	struct dc_dsc_config dsc_cfg;
 };
 
-#ifndef AMD_EDID_UTILITY
-
 enum trigger_delay {
 	TRIGGER_DELAY_NEXT_PIXEL = 0,
 	TRIGGER_DELAY_NEXT_LINE,
@@ -837,7 +831,5 @@ struct tg_color {
 	uint16_t color_b_cb;
 };
 
-#endif /* AMD_EDID_UTILITY */
-
 #endif /* DC_HW_TYPES_H */
 
drivers/gpu/drm/amd/display/dc/dc_types.h +0 -4
index 1363e8907fbf..2b92bfa28bde 100644
@@ -25,7 +25,6 @@
 #ifndef DC_TYPES_H_
 #define DC_TYPES_H_
 
-#ifndef AMD_EDID_UTILITY
 /* AND EdidUtility only needs a portion
  * of this file, including the rest only
  * causes additional issues.
@@ -781,9 +780,6 @@ struct dc_clock_config {
 	uint32_t current_clock_khz;/*current clock in use*/
 };
 
-#endif /*AMD_EDID_UTILITY*/
-//AMD EDID UTILITY does not need any of the above structures
-
 /* DSC DPCD capabilities */
 union dsc_slice_caps1 {
 	struct {
Signature · 6 lines
2.24.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20191128163320.20092-1-harry.wentland-5C7GfCeVMHo@public.gmane.org

Reviewed-by Nicholas Kazlauskas
#2 lore raw
Quoted 3 lines · Harry Wentland

We don't use this upstream in the Linux kernel.

Quoted 74 lines
---
  drivers/gpu/drm/amd/display/dc/dc_dsc.h      | 2 --
  drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 8 --------
  drivers/gpu/drm/amd/display/dc/dc_types.h    | 4 ----
  3 files changed, 14 deletions(-)
drivers/gpu/drm/amd/display/dc/dc_dsc.h +0 -2
index a782ae18a1c5..cc9915e545cd 100644
@@ -41,10 +41,8 @@ struct dc_dsc_bw_range {
 
  struct display_stream_compressor {
  	const struct dsc_funcs *funcs;
-#ifndef AMD_EDID_UTILITY
  	struct dc_context *ctx;
  	int inst;
-#endif
  };
 
  bool dc_dsc_parse_dsc_dpcd(const uint8_t *dpcd_dsc_basic_data,
drivers/gpu/drm/amd/display/dc/dc_hw_types.h +0 -8
index 86043d431d40..25c50bcab9e9 100644
@@ -26,8 +26,6 @@
  #ifndef DC_HW_TYPES_H
  #define DC_HW_TYPES_H
 
-#ifndef AMD_EDID_UTILITY
-
  #include "os_types.h"
  #include "fixed31_32.h"
  #include "signal_types.h"
@@ -584,8 +582,6 @@ struct scaling_taps {
  	bool integer_scaling;
  };
 
-#endif /* AMD_EDID_UTILITY */
-
  enum dc_timing_standard {
  	DC_TIMING_STANDARD_UNDEFINED,
  	DC_TIMING_STANDARD_DMT,
@@ -742,8 +738,6 @@ struct dc_crtc_timing {
  	struct dc_dsc_config dsc_cfg;
  };
 
-#ifndef AMD_EDID_UTILITY
-
  enum trigger_delay {
  	TRIGGER_DELAY_NEXT_PIXEL = 0,
  	TRIGGER_DELAY_NEXT_LINE,
@@ -837,7 +831,5 @@ struct tg_color {
  	uint16_t color_b_cb;
  };
 
-#endif /* AMD_EDID_UTILITY */
-
  #endif /* DC_HW_TYPES_H */
 
drivers/gpu/drm/amd/display/dc/dc_types.h +0 -1
index 1363e8907fbf..2b92bfa28bde 100644
@@ -25,7 +25,6 @@
  #ifndef DC_TYPES_H_
  #define DC_TYPES_H_
 
-#ifndef AMD_EDID_UTILITY
  /* AND EdidUtility only needs a portion
   * of this file, including the rest only
   * causes additional issues.

drivers/gpu/drm/amd/display/dc/dc_types.h struct dc_clock_config { · line 785

Quoted 9 lines
drivers/gpu/drm/amd/display/dc/dc_types.h +0 -3
@@ -781,9 +780,6 @@ struct dc_clock_config {
  	uint32_t current_clock_khz;/*current clock in use*/
  };
 
-#endif /*AMD_EDID_UTILITY*/
-//AMD EDID UTILITY does not need any of the above structures
-
  /* DSC DPCD capabilities */
  union dsc_slice_caps1 {
  	struct {

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx