Lines Matching refs:lvds
1920 struct amdgpu_encoder_atom_dig *lvds = NULL; in amdgpu_atombios_encoder_get_lcd_info() local
1927 lvds = in amdgpu_atombios_encoder_get_lcd_info()
1930 if (!lvds) in amdgpu_atombios_encoder_get_lcd_info()
1933 lvds->native_mode.clock = in amdgpu_atombios_encoder_get_lcd_info()
1935 lvds->native_mode.hdisplay = in amdgpu_atombios_encoder_get_lcd_info()
1937 lvds->native_mode.vdisplay = in amdgpu_atombios_encoder_get_lcd_info()
1939 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info()
1941 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info()
1943 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in amdgpu_atombios_encoder_get_lcd_info()
1945 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in amdgpu_atombios_encoder_get_lcd_info()
1947 lvds->native_mode.vsync_start = lvds->native_mode.vdisplay + in amdgpu_atombios_encoder_get_lcd_info()
1949 lvds->native_mode.vsync_end = lvds->native_mode.vsync_start + in amdgpu_atombios_encoder_get_lcd_info()
1951 lvds->panel_pwr_delay = in amdgpu_atombios_encoder_get_lcd_info()
1953 lvds->lcd_misc = lvds_info->info.ucLVDS_Misc; in amdgpu_atombios_encoder_get_lcd_info()
1957 lvds->native_mode.flags |= DRM_MODE_FLAG_NVSYNC; in amdgpu_atombios_encoder_get_lcd_info()
1959 lvds->native_mode.flags |= DRM_MODE_FLAG_NHSYNC; in amdgpu_atombios_encoder_get_lcd_info()
1961 lvds->native_mode.flags |= DRM_MODE_FLAG_CSYNC; in amdgpu_atombios_encoder_get_lcd_info()
1963 lvds->native_mode.flags |= DRM_MODE_FLAG_INTERLACE; in amdgpu_atombios_encoder_get_lcd_info()
1965 lvds->native_mode.flags |= DRM_MODE_FLAG_DBLSCAN; in amdgpu_atombios_encoder_get_lcd_info()
1967 lvds->native_mode.width_mm = le16_to_cpu(lvds_info->info.sLCDTiming.usImageHSize); in amdgpu_atombios_encoder_get_lcd_info()
1968 lvds->native_mode.height_mm = le16_to_cpu(lvds_info->info.sLCDTiming.usImageVSize); in amdgpu_atombios_encoder_get_lcd_info()
1971 drm_mode_set_crtcinfo(&lvds->native_mode, CRTC_INTERLACE_HALVE_V); in amdgpu_atombios_encoder_get_lcd_info()
1973 lvds->lcd_ss_id = lvds_info->info.ucSS_Id; in amdgpu_atombios_encoder_get_lcd_info()
1975 encoder->native_mode = lvds->native_mode; in amdgpu_atombios_encoder_get_lcd_info()
1978 lvds->linkb = true; in amdgpu_atombios_encoder_get_lcd_info()
1980 lvds->linkb = false; in amdgpu_atombios_encoder_get_lcd_info()
2033 lvds->native_mode.width_mm = panel_res_record->usHSize; in amdgpu_atombios_encoder_get_lcd_info()
2034 lvds->native_mode.height_mm = panel_res_record->usVSize; in amdgpu_atombios_encoder_get_lcd_info()
2047 return lvds; in amdgpu_atombios_encoder_get_lcd_info()