RetroArch
Functions | Variables
drm_common.c File Reference
#include <compat/strl.h>
#include <retro_miscellaneous.h>
#include "../../verbosity.h"
#include "drm_common.h"
Include dependency graph for drm_common.c:

Functions

void drm_restore_crtc (void)
 
bool drm_get_resources (int fd)
 
bool drm_get_connector (int fd, video_frame_info_t *video_info)
 
bool drm_get_encoder (int fd)
 
void drm_setup (int fd)
 
float drm_get_refresh_rate (void *data)
 
void drm_free (void)
 

Variables

struct pollfd g_drm_fds
 
uint32_t g_connector_id = 0
 
int g_drm_fd = 0
 
uint32_t g_crtc_id = 0
 
static drmModeCrtc * g_orig_crtc = NULL
 
static drmModeRes * g_drm_resources = NULL
 
drmModeConnector * g_drm_connector = NULL
 
static drmModeEncoder * g_drm_encoder = NULL
 
drmModeModeInfo * g_drm_mode = NULL
 
drmEventContext g_drm_evctx
 

Function Documentation

◆ drm_free()

void drm_free ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ drm_get_connector()

bool drm_get_connector ( int  fd,
video_frame_info_t video_info 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ drm_get_encoder()

bool drm_get_encoder ( int  fd)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ drm_get_refresh_rate()

float drm_get_refresh_rate ( void data)

◆ drm_get_resources()

bool drm_get_resources ( int  fd)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ drm_restore_crtc()

void drm_restore_crtc ( void  )
Here is the caller graph for this function:

◆ drm_setup()

void drm_setup ( int  fd)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_connector_id

uint32_t g_connector_id = 0

◆ g_crtc_id

uint32_t g_crtc_id = 0

◆ g_drm_connector

drmModeConnector* g_drm_connector = NULL

◆ g_drm_encoder

drmModeEncoder* g_drm_encoder = NULL
static

◆ g_drm_evctx

drmEventContext g_drm_evctx

◆ g_drm_fd

int g_drm_fd = 0

◆ g_drm_fds

struct pollfd g_drm_fds

◆ g_drm_mode

drmModeModeInfo* g_drm_mode = NULL

◆ g_drm_resources

drmModeRes* g_drm_resources = NULL
static

◆ g_orig_crtc

drmModeCrtc* g_orig_crtc = NULL
static