LibXenon
Bare-metal Xbox 360 homebrew library
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time/time.h>
#include <xenon_smc/xenon_smc.h>
#include <debug.h>
#include "xenos_edid.h"
Go to the source code of this file.
Macros | |
#define | MAX_EDID_EXT_NUM 4 |
#define | HDMI_IDENTIFIER 0x000C03 |
#define | VENDOR_BLOCK 0x03 |
Functions | |
int | xenos_do_probe_ddc_edid (unsigned char *buf, int len) |
struct edid * | xenos_get_edid () |
BOOL | xenos_detect_hdmi_monitor (struct edid *edid) |
#define HDMI_IDENTIFIER 0x000C03 |
Definition at line 255 of file xenos_edid.c.
#define MAX_EDID_EXT_NUM 4 |
Definition at line 41 of file xenos_edid.c.
#define VENDOR_BLOCK 0x03 |
Definition at line 256 of file xenos_edid.c.
drm_detect_hdmi_monitor - detect whether monitor is hdmi. @edid: monitor EDID information
Parse the CEA extension according to CEA-861-B. Return true if HDMI, false if not or unknown.
Definition at line 264 of file xenos_edid.c.
int xenos_do_probe_ddc_edid | ( | unsigned char * | buf, |
int | len | ||
) |
Get EDID information via I2C.
adapter | : i2c device adaptor |
buf | : EDID data buffer to be filled |
len | : EDID data buffer length |
Try to fetch EDID information by calling i2c driver function.
Definition at line 172 of file xenos_edid.c.
struct edid * xenos_get_edid | ( | ) |
drm_get_edid - get EDID data, if available @connector: connector we're probing @adapter: i2c adapter to use for DDC
Poke the given connector's i2c channel to grab EDID data if possible.
Return edid data or NULL if we couldn't find any.
Definition at line 209 of file xenos_edid.c.