| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_stream_encoder.c | 307 if (hw_crtc_timing.display_color_depth != COLOR_DEPTH_666) in dce110_stream_encoder_dp_set_stream_attribute() 348 switch (hw_crtc_timing.display_color_depth) { in dce110_stream_encoder_dp_set_stream_attribute() 375 switch (hw_crtc_timing.display_color_depth) { in dce110_stream_encoder_dp_set_stream_attribute() 562 cntl.color_depth = crtc_timing->display_color_depth; in dce110_stream_encoder_hdmi_set_stream_attribute() 585 switch (crtc_timing->display_color_depth) { in dce110_stream_encoder_hdmi_set_stream_attribute() 685 ASSERT(crtc_timing->display_color_depth == COLOR_DEPTH_888); in dce110_stream_encoder_dvi_set_stream_attribute()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_connector_test.c | 235 timing.display_color_depth = COLOR_DEPTH_888; in dm_test_adjust_colour_depth_fits_at_888() 240 KUNIT_EXPECT_EQ(test, (int)timing.display_color_depth, (int)COLOR_DEPTH_888); in dm_test_adjust_colour_depth_fits_at_888() 254 timing.display_color_depth = COLOR_DEPTH_101010; in dm_test_adjust_colour_depth_reduces_to_888() 260 KUNIT_EXPECT_EQ(test, (int)timing.display_color_depth, (int)COLOR_DEPTH_888); in dm_test_adjust_colour_depth_reduces_to_888() 273 timing.display_color_depth = COLOR_DEPTH_101010; in dm_test_adjust_colour_depth_10bpc_passes() 279 KUNIT_EXPECT_EQ(test, (int)timing.display_color_depth, (int)COLOR_DEPTH_101010); in dm_test_adjust_colour_depth_10bpc_passes() 293 timing.display_color_depth = COLOR_DEPTH_101010; in dm_test_adjust_colour_depth_420_halves_clk() 299 KUNIT_EXPECT_EQ(test, (int)timing.display_color_depth, (int)COLOR_DEPTH_101010); in dm_test_adjust_colour_depth_420_halves_clk() 313 timing.display_color_depth = COLOR_DEPTH_121212; in dm_test_adjust_colour_depth_420_reduces() 323 KUNIT_EXPECT_EQ(test, (int)timing.display_color_depth, (int)COLOR_DEPTH_101010); in dm_test_adjust_colour_depth_420_reduces() [all …]
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_connector.c | 822 enum dc_color_depth depth = timing_out->display_color_depth; in adjust_colour_depth_from_display_info() 848 timing_out->display_color_depth = depth; in adjust_colour_depth_from_display_info() 893 timing_out->display_color_depth = amdgpu_dm_convert_color_depth_from_display_info( in fill_stream_properties_from_drm_display_mode() 1557 stream->timing.display_color_depth, in create_stream_for_sink() 1558 aconnector->timing_requested->display_color_depth); in create_stream_for_sink() 2448 dc_color_depth_to_str(stream->timing.display_color_depth), in amdgpu_dm_create_validate_stream_for_sink() 2673 int amdgpu_dm_convert_dc_color_depth_into_bpc(enum dc_color_depth display_color_depth) in amdgpu_dm_convert_dc_color_depth_into_bpc() argument 2675 switch (display_color_depth) { in amdgpu_dm_convert_dc_color_depth_into_bpc()
|
| H A D | amdgpu_dm_helpers.c | 1573 && pipe_ctx->stream->timing.display_color_depth != requestColorDepth) in dm_helpers_dp_handle_test_pattern_request() 1578 pipe_ctx->stream->timing.display_color_depth, in dm_helpers_dp_handle_test_pattern_request() 1582 pipe_ctx->stream->timing.display_color_depth = requestColorDepth; in dm_helpers_dp_handle_test_pattern_request()
|
| H A D | amdgpu_dm_debugfs.c | 1106 switch (dm_crtc_state->stream->timing.display_color_depth) { in amdgpu_current_bpc_show()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/ |
| H A D | dcn60_hwseq.c | 94 stream->timing.display_color_depth; in dcn60_build_audio_output() 227 stream->timing.display_color_depth, in dcn60_apply_single_controller_ctx_to_hw() 234 stream->timing.display_color_depth, in dcn60_apply_single_controller_ctx_to_hw()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 761 stream->timing.display_color_depth, in dc_stream_set_dyn_expansion() 2107 &hw_crtc_timing.display_color_depth)) { in dc_validate_boot_timing() 2112 if (hw_crtc_timing.display_color_depth != crtc_timing->display_color_depth) { in dc_validate_boot_timing() 4097 dsc_cfg->color_depth = stream->timing.display_color_depth; in add_link_update_dsc_config_sequence() 4142 dsc_pps_cfg.color_depth = stream->timing.display_color_depth; in add_link_update_dsc_config_sequence() 7965 if (timing->display_color_depth < COLOR_DEPTH_121212) { in dc_capture_register_software_state() 7970 state->opp[i].fmt_spatial_dither_depth = timing->display_color_depth; in dc_capture_register_software_state() 7982 if (timing->display_color_depth < COLOR_DEPTH_121212) { in dc_capture_register_software_state() 7984 state->opp[i].fmt_truncate_depth = timing->display_color_depth; in dc_capture_register_software_state() 8006 state->opp[i].fmt_bit_depth_control = timing->display_color_depth; in dc_capture_register_software_state()
|
| H A D | dc_resource.c | 1530 enum dc_color_depth color_depth = otg_master->stream->timing.display_color_depth; in resource_build_test_pattern_params() 3950 switch (timing->display_color_depth) { in get_norm_pix_clk() 5427 switch (stream->timing.display_color_depth) { in resource_build_bit_depth_reduction_params() 5443 stream->timing.display_color_depth >= COLOR_DEPTH_101010) { in resource_build_bit_depth_reduction_params()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/ |
| H A D | dcn316_resource.c | 1808 switch (timing->display_color_depth) { in dcn316_populate_dml_pipes_from_context()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
| H A D | dcn31_resource.c | 1844 switch (timing->display_color_depth) { in dcn31_populate_dml_pipes_from_context()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| H A D | dcn315_resource.c | 1889 switch (timing->display_color_depth) { in dcn315_populate_dml_pipes_from_context()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_translation_helper.c | 819 switch (in->timing.display_color_depth) { in populate_dml_output_cfg_from_stream_state()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn60/ |
| H A D | dcn60_resource.c | 1862 stream->timing.display_color_depth; in dcn60_build_pipe_pix_clk_params()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/ |
| H A D | dcn401_resource.c | 1905 stream->timing.display_color_depth; in dcn401_build_pipe_pix_clk_params()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn42/ |
| H A D | dcn42_resource.c | 1686 stream->timing.display_color_depth; in dcn42_build_pipe_pix_clk_params()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn42b/ |
| H A D | dcn42b_resource.c | 1675 stream->timing.display_color_depth; in dcn42b_build_pipe_pix_clk_params()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource.c | 2161 switch (timing->display_color_depth) { in dcn32_populate_dml_pipes_from_context()
|