Files
haiku-beta6/headers/private/graphics/common/video_configuration.h
T
Alexander von Gluck IV 518e9cb9f2 radeon_hd: Add missing USB C connector type
* Solves a few "Unknown connector" errors on newer cards.
* It's just another physical name for DisplayPort

Change-Id: I37a6f1bb1db66279b305bdbce3c200612eac1130
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7042
Reviewed-by: Alex von Gluck IV <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2023-10-14 17:19:12 +00:00

59 lines
1.3 KiB
C

/*
* Copyright 2011-2023, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Alexander von Gluck, [email protected]
*/
#ifndef _VIDEO_CONFIGURATION_H
#define _VIDEO_CONFIGURATION_H
#include <SupportDefs.h>
// Video connector types
#define VIDEO_CONNECTOR_UNKNOWN 0x00
#define VIDEO_CONNECTOR_VGA 0x01
#define VIDEO_CONNECTOR_DVII 0x02
#define VIDEO_CONNECTOR_DVID 0x03
#define VIDEO_CONNECTOR_DVIA 0x04
#define VIDEO_CONNECTOR_COMPOSITE 0x05
#define VIDEO_CONNECTOR_SVIDEO 0x06
#define VIDEO_CONNECTOR_LVDS 0x07
#define VIDEO_CONNECTOR_COMPONENT 0x08
#define VIDEO_CONNECTOR_9DIN 0x09
#define VIDEO_CONNECTOR_DP 0x0A
#define VIDEO_CONNECTOR_EDP 0x0B
#define VIDEO_CONNECTOR_HDMIA 0x0C
#define VIDEO_CONNECTOR_HDMIB 0x0D
#define VIDEO_CONNECTOR_TV 0x0E
#define VIDEO_CONNECTOR_USBC 0x0F
// Video encoder types
#define VIDEO_ENCODER_NONE 0x00
#define VIDEO_ENCODER_DAC 0x01
#define VIDEO_ENCODER_TMDS 0x02
#define VIDEO_ENCODER_LVDS 0x03
#define VIDEO_ENCODER_TVDAC 0x04
// to ensure compatibility with C accelerants
#ifdef __cplusplus
extern "C" {
#endif
// mostly for debugging detected monitors
const char* get_connector_name(uint32 connector);
const char* get_encoder_name(uint32 encoder);
#ifdef __cplusplus
}
#endif
#endif /* _VIDEO_CONFIGURATION_H */