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

drm/amd/display: Move MAX_TMDS_CLOCK define to header

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Harry Wentland and committed by
Alex Deucher
eb6c24a3 91178796

+5 -15
-3
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
··· 1360 1360 return true; 1361 1361 } 1362 1362 1363 - /* Maximum TMDS single link pixel clock 165MHz */ 1364 - #define TMDS_MAX_PIXEL_CLOCK_IN_KHZ 165000 1365 - 1366 1363 static void update_stream_engine_usage( 1367 1364 struct resource_context *res_ctx, 1368 1365 const struct resource_pool *pool,
-5
drivers/gpu/drm/amd/display/include/grph_object_ctrl_defs.h
··· 419 419 bool backlight_changed; 420 420 }; 421 421 422 - enum { 423 - HDMI_PIXEL_CLOCK_IN_KHZ_297 = 297000, 424 - TMDS_PIXEL_CLOCK_IN_KHZ_165 = 165000 425 - }; 426 - 427 422 /* 428 423 * DFS-bypass flag 429 424 */
+5
drivers/gpu/drm/amd/display/include/signal_types.h
··· 26 26 #ifndef __DC_SIGNAL_TYPES_H__ 27 27 #define __DC_SIGNAL_TYPES_H__ 28 28 29 + /* Minimum pixel clock, in KHz. For TMDS signal is 25.00 MHz */ 30 + #define TMDS_MIN_PIXEL_CLOCK 25000 31 + /* Maximum pixel clock, in KHz. For TMDS signal is 165.00 MHz */ 32 + #define TMDS_MAX_PIXEL_CLOCK 165000 33 + 29 34 enum signal_type { 30 35 SIGNAL_TYPE_NONE = 0L, /* no signal */ 31 36 SIGNAL_TYPE_DVI_SINGLE_LINK = (1 << 0),