Subversion Repositories Kolibri OS

Rev

Rev 1963 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1963 Rev 2997
Line 1... Line 1...
1
#include "drmP.h"
1
#include 
2
#include "drm_crtc_helper.h"
2
#include 
3
#include "radeon.h"
3
#include "radeon.h"
Line 4... Line 4...
4
 
4
 
5
/*
5
/*
6
 * Integrated TV out support based on the GATOS code by
6
 * Integrated TV out support based on the GATOS code by
Line 862... Line 862...
862
	tmp &= ~RADEON_CRTC_V_SYNC_STRT;
862
	tmp &= ~RADEON_CRTC_V_SYNC_STRT;
863
	tmp |= ((const_ptr->ver_syncstart - 1) << RADEON_CRTC_V_SYNC_STRT_SHIFT);
863
	tmp |= ((const_ptr->ver_syncstart - 1) << RADEON_CRTC_V_SYNC_STRT_SHIFT);
864
	*v_sync_strt_wid = tmp;
864
	*v_sync_strt_wid = tmp;
865
}
865
}
Line 866... Line 866...
866
 
866
 
867
static inline int get_post_div(int value)
867
static int get_post_div(int value)
868
{
868
{
869
	int post_div;
869
	int post_div;
870
	switch (value) {
870
	switch (value) {
871
	case 1: post_div = 0; break;
871
	case 1: post_div = 0; break;