Lines Matching refs:hdisplay
386 if (native_mode->hdisplay != 0 && in amdgpu_connector_lcd_native_mode()
394 } else if (native_mode->hdisplay != 0 && in amdgpu_connector_lcd_native_mode()
403 mode = drm_cvt_mode(dev, native_mode->hdisplay, native_mode->vdisplay, 60, true, false, false); in amdgpu_connector_lcd_native_mode()
448 if (common_modes[i].w > native_mode->hdisplay || in amdgpu_connector_add_common_modes()
450 (common_modes[i].w == native_mode->hdisplay && in amdgpu_connector_add_common_modes()
618 if (mode->hdisplay != native_mode->hdisplay || in amdgpu_connector_fixup_lcd_native_mode()
627 if (mode->hdisplay == native_mode->hdisplay && in amdgpu_connector_fixup_lcd_native_mode()
685 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) in amdgpu_connector_lvds_mode_valid()
695 if ((mode->hdisplay > native_mode->hdisplay) || in amdgpu_connector_lvds_mode_valid()
701 if ((mode->hdisplay != native_mode->hdisplay) || in amdgpu_connector_lvds_mode_valid()
731 if (native_mode->hdisplay >= 320 && native_mode->vdisplay >= 240) in amdgpu_connector_lvds_detect()
1359 if (native_mode->hdisplay >= 320 && native_mode->vdisplay >= 240) in amdgpu_connector_dp_detect()
1439 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)) in amdgpu_connector_dp_mode_valid()
1449 if ((mode->hdisplay > native_mode->hdisplay) || in amdgpu_connector_dp_mode_valid()
1455 if ((mode->hdisplay != native_mode->hdisplay) || in amdgpu_connector_dp_mode_valid()