tdm_helper: clean up tdm_helper_get_display_information()