Rev 3031 | Rev 3262 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3031 | Rev 3192 | ||
---|---|---|---|
Line 780... | Line 780... | ||
780 | const struct drm_mode_config_funcs *funcs; |
780 | const struct drm_mode_config_funcs *funcs; |
781 | resource_size_t fb_base; |
781 | resource_size_t fb_base; |
Line 782... | Line 782... | ||
782 | 782 | ||
783 | /* output poll support */ |
783 | /* output poll support */ |
- | 784 | bool poll_enabled; |
|
784 | bool poll_enabled; |
785 | bool poll_running; |
Line 785... | Line 786... | ||
785 | // struct delayed_work output_poll_work; |
786 | // struct delayed_work output_poll_work; |
786 | 787 | ||
787 | /* pointers to standard properties */ |
788 | /* pointers to standard properties */ |
Line 875... | Line 876... | ||
875 | extern void drm_mode_probed_add(struct drm_connector *connector, struct drm_display_mode *mode); |
876 | extern void drm_mode_probed_add(struct drm_connector *connector, struct drm_display_mode *mode); |
876 | extern void drm_mode_remove(struct drm_connector *connector, struct drm_display_mode *mode); |
877 | extern void drm_mode_remove(struct drm_connector *connector, struct drm_display_mode *mode); |
877 | extern void drm_mode_copy(struct drm_display_mode *dst, const struct drm_display_mode *src); |
878 | extern void drm_mode_copy(struct drm_display_mode *dst, const struct drm_display_mode *src); |
878 | extern struct drm_display_mode *drm_mode_duplicate(struct drm_device *dev, |
879 | extern struct drm_display_mode *drm_mode_duplicate(struct drm_device *dev, |
879 | const struct drm_display_mode *mode); |
880 | const struct drm_display_mode *mode); |
880 | extern void drm_mode_debug_printmodeline(struct drm_display_mode *mode); |
881 | extern void drm_mode_debug_printmodeline(const struct drm_display_mode *mode); |
881 | extern void drm_mode_config_init(struct drm_device *dev); |
882 | extern void drm_mode_config_init(struct drm_device *dev); |
882 | extern void drm_mode_config_reset(struct drm_device *dev); |
883 | extern void drm_mode_config_reset(struct drm_device *dev); |
883 | extern void drm_mode_config_cleanup(struct drm_device *dev); |
884 | extern void drm_mode_config_cleanup(struct drm_device *dev); |
884 | extern void drm_mode_set_name(struct drm_display_mode *mode); |
885 | extern void drm_mode_set_name(struct drm_display_mode *mode); |
885 | extern bool drm_mode_equal(struct drm_display_mode *mode1, struct drm_display_mode *mode2); |
886 | extern bool drm_mode_equal(const struct drm_display_mode *mode1, const struct drm_display_mode *mode2); |
886 | extern int drm_mode_width(struct drm_display_mode *mode); |
887 | extern int drm_mode_width(const struct drm_display_mode *mode); |
887 | extern int drm_mode_height(struct drm_display_mode *mode); |
888 | extern int drm_mode_height(const struct drm_display_mode *mode); |
Line 888... | Line 889... | ||
888 | 889 | ||
889 | /* for us by fb module */ |
890 | /* for us by fb module */ |
890 | extern int drm_mode_attachmode_crtc(struct drm_device *dev, |
891 | extern int drm_mode_attachmode_crtc(struct drm_device *dev, |
891 | struct drm_crtc *crtc, |
892 | struct drm_crtc *crtc, |
Line 907... | Line 908... | ||
907 | extern void drm_mode_set_crtcinfo(struct drm_display_mode *p, |
908 | extern void drm_mode_set_crtcinfo(struct drm_display_mode *p, |
908 | int adjust_flags); |
909 | int adjust_flags); |
909 | extern void drm_mode_connector_list_update(struct drm_connector *connector); |
910 | extern void drm_mode_connector_list_update(struct drm_connector *connector); |
910 | extern int drm_mode_connector_update_edid_property(struct drm_connector *connector, |
911 | extern int drm_mode_connector_update_edid_property(struct drm_connector *connector, |
911 | struct edid *edid); |
912 | struct edid *edid); |
912 | extern int drm_connector_property_set_value(struct drm_connector *connector, |
- | |
913 | struct drm_property *property, |
- | |
914 | uint64_t value); |
- | |
915 | extern int drm_connector_property_get_value(struct drm_connector *connector, |
- | |
916 | struct drm_property *property, |
- | |
917 | uint64_t *value); |
- | |
918 | extern int drm_object_property_set_value(struct drm_mode_object *obj, |
913 | extern int drm_object_property_set_value(struct drm_mode_object *obj, |
919 | struct drm_property *property, |
914 | struct drm_property *property, |
920 | uint64_t val); |
915 | uint64_t val); |
921 | extern int drm_object_property_get_value(struct drm_mode_object *obj, |
916 | extern int drm_object_property_get_value(struct drm_mode_object *obj, |
922 | struct drm_property *property, |
917 | struct drm_property *property, |
Line 934... | Line 929... | ||
934 | extern int drmfb_probe(struct drm_device *dev, struct drm_crtc *crtc); |
929 | extern int drmfb_probe(struct drm_device *dev, struct drm_crtc *crtc); |
935 | extern int drmfb_remove(struct drm_device *dev, struct drm_framebuffer *fb); |
930 | extern int drmfb_remove(struct drm_device *dev, struct drm_framebuffer *fb); |
936 | extern void drm_crtc_probe_connector_modes(struct drm_device *dev, int maxX, int maxY); |
931 | extern void drm_crtc_probe_connector_modes(struct drm_device *dev, int maxX, int maxY); |
937 | extern bool drm_crtc_in_use(struct drm_crtc *crtc); |
932 | extern bool drm_crtc_in_use(struct drm_crtc *crtc); |
Line 938... | Line -... | ||
938 | - | ||
939 | extern void drm_connector_attach_property(struct drm_connector *connector, |
- | |
940 | struct drm_property *property, uint64_t init_val); |
933 | |
941 | extern void drm_object_attach_property(struct drm_mode_object *obj, |
934 | extern void drm_object_attach_property(struct drm_mode_object *obj, |
942 | struct drm_property *property, |
935 | struct drm_property *property, |
943 | uint64_t init_val); |
936 | uint64_t init_val); |
944 | extern struct drm_property *drm_property_create(struct drm_device *dev, int flags, |
937 | extern struct drm_property *drm_property_create(struct drm_device *dev, int flags, |
Line 1025... | Line 1018... | ||
1025 | extern int drm_mode_gamma_get_ioctl(struct drm_device *dev, |
1018 | extern int drm_mode_gamma_get_ioctl(struct drm_device *dev, |
1026 | void *data, struct drm_file *file_priv); |
1019 | void *data, struct drm_file *file_priv); |
1027 | extern int drm_mode_gamma_set_ioctl(struct drm_device *dev, |
1020 | extern int drm_mode_gamma_set_ioctl(struct drm_device *dev, |
1028 | void *data, struct drm_file *file_priv); |
1021 | void *data, struct drm_file *file_priv); |
1029 | extern u8 *drm_find_cea_extension(struct edid *edid); |
1022 | extern u8 *drm_find_cea_extension(struct edid *edid); |
- | 1023 | extern u8 drm_match_cea_mode(struct drm_display_mode *to_match); |
|
1030 | extern bool drm_detect_hdmi_monitor(struct edid *edid); |
1024 | extern bool drm_detect_hdmi_monitor(struct edid *edid); |
1031 | extern bool drm_detect_monitor_audio(struct edid *edid); |
1025 | extern bool drm_detect_monitor_audio(struct edid *edid); |
1032 | extern int drm_mode_page_flip_ioctl(struct drm_device *dev, |
1026 | extern int drm_mode_page_flip_ioctl(struct drm_device *dev, |
1033 | void *data, struct drm_file *file_priv); |
1027 | void *data, struct drm_file *file_priv); |
1034 | extern struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, |
1028 | extern struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, |
Line 1041... | Line 1035... | ||
1041 | int hdisplay, int vdisplay, int vrefresh, |
1035 | int hdisplay, int vdisplay, int vrefresh, |
1042 | bool interlaced, int margins, int GTF_M, |
1036 | bool interlaced, int margins, int GTF_M, |
1043 | int GTF_2C, int GTF_K, int GTF_2J); |
1037 | int GTF_2C, int GTF_K, int GTF_2J); |
1044 | extern int drm_add_modes_noedid(struct drm_connector *connector, |
1038 | extern int drm_add_modes_noedid(struct drm_connector *connector, |
1045 | int hdisplay, int vdisplay); |
1039 | int hdisplay, int vdisplay); |
- | 1040 | extern uint8_t drm_mode_cea_vic(const struct drm_display_mode *mode); |
|
Line 1046... | Line 1041... | ||
1046 | 1041 | ||
1047 | extern int drm_edid_header_is_valid(const u8 *raw_edid); |
1042 | extern int drm_edid_header_is_valid(const u8 *raw_edid); |
1048 | extern bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid); |
1043 | extern bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid); |
1049 | extern bool drm_edid_is_valid(struct edid *edid); |
1044 | extern bool drm_edid_is_valid(struct edid *edid); |