Lines Matching +full:documentation +full:- +full:service
5 * copy of this software and associated documentation files (the "Software"),
36 * This interface is not thread-safe. Ensure that all access to the interface
39 * Initialization and usage of the DMUB service should be done in the
60 * Destroying the DMUB service can be done by calling dmub_srv_destroy().
82 /* enum dmub_window_memory_type - memory location type specification for windows */
88 /* enum dmub_status - return code for dmcub functions */
99 /* enum dmub_asic - dmub asic identifier */
122 /* enum dmub_window_id - dmub window identifier */
136 /* enum dmub_notification_type - dmub outbox notification identifier */
159 /* enum dmub_memory_access_type - memory access method */
166 /* enum dmub_power_state type - to track DC power state in dmub_srv */
174 * struct dmub_region - dmub hw memory region
184 * struct dmub_window - dmub hw cache window
194 * struct dmub_fb - defines a dmub framebuffer memory region
206 * struct dmub_srv_region_params - params used for calculating dmub regions
222 * struct dmub_srv_region_info - output region info from the dmub service
224 * @num_regions: number of regions used by the dmub service
231 * size = reg.top - reg.base
244 * struct dmub_srv_memory_params - parameters used for driver fb setup
245 * @region_info: region info calculated by dmub service
261 * struct dmub_srv_fb_info - output fb info from the dmub service
265 * Output from the dmub service helper that can be used by the
267 * hw init service.
271 * by the dmub service.
279 * struct dmub_srv_hw_params - params for dmub hardware initialization
312 * struct dmub_srv_debug - Debug info for dmub_srv
314 * @timeout_cmd: first cmd sent from driver that timed out - subsequent timeouts are not stored
323 * struct dmub_diagnostic_data - Diagnostic data retrieved from DMCUB for
353 * struct dmub_srv_base_funcs - Driver specific base callbacks
361 * Return: The 32-bit register value from the given address.
374 * struct dmub_srv_hw_funcs - hardware sequencer funcs for dmub
481 * struct dmub_srv_create_params - params for dmub service creation
499 * struct dmub_srv - software state for dmcub
551 * struct dmub_notification - dmub notification data
577 /* enum dmub_ips_mode - IPS mode identifier */
586 * DMUB firmware version helper macro - useful for checking if the version
593 * dmub_srv_create() - creates the DMUB service.
594 * @dmub: the dmub service
595 * @params: creation parameters for the service
598 * DMUB_STATUS_OK - success
599 * DMUB_STATUS_INVALID - unspecified error
605 * dmub_srv_destroy() - destroys the DMUB service.
606 * @dmub: the dmub service
611 * dmub_srv_calc_region_info() - retreives region info from the dmub service
612 * @dmub: the dmub service
620 * DMUB_STATUS_OK - success
621 * DMUB_STATUS_INVALID - unspecified error
629 * dmub_srv_calc_region_info() - retreives fb info from the dmub service
630 * @dmub: the dmub service
638 * DMUB_STATUS_OK - success
639 * DMUB_STATUS_INVALID - unspecified error
646 * dmub_srv_has_hw_support() - returns hw support state for dmcub
647 * @dmub: the dmub service
655 * DMUB_STATUS_OK - success
656 * DMUB_STATUS_INVALID - unspecified error
662 * dmub_srv_is_hw_init() - returns hardware init state
665 * DMUB_STATUS_OK - success
666 * DMUB_STATUS_INVALID - unspecified error
671 * dmub_srv_hw_init() - initializes the underlying DMUB hardware
672 * @dmub: the dmub service
679 * DMUB_STATUS_OK - success
680 * DMUB_STATUS_NO_CTX - dmcub context not initialized
681 * DMUB_STATUS_INVALID - unspecified error
687 * dmub_srv_hw_reset() - puts the DMUB hardware in reset state if initialized
688 * @dmub: the dmub service
690 * Before destroying the DMUB service or releasing the backing framebuffer
693 * A subsequent call to dmub_srv_hw_init() will re-enable the DMCUB.
696 * DMUB_STATUS_OK - success
697 * DMUB_STATUS_INVALID - unspecified error
702 * dmub_srv_sync_inbox1() - sync sw state with hw state
703 * @dmub: the dmub service
708 * DMUB_STATUS_OK - success
709 * DMUB_STATUS_INVALID - unspecified error
714 * dmub_srv_cmd_queue() - queues a command to the DMUB
715 * @dmub: the dmub service
718 * Queues a command to the DMUB service but does not begin execution
722 * DMUB_STATUS_OK - success
723 * DMUB_STATUS_QUEUE_FULL - no remaining room in queue
724 * DMUB_STATUS_INVALID - unspecified error
730 * dmub_srv_cmd_execute() - Executes a queued sequence to the dmub
731 * @dmub: the dmub service
736 * DMUB_STATUS_OK - success
737 * DMUB_STATUS_INVALID - unspecified error
742 * dmub_srv_wait_for_hw_pwr_up() - Waits for firmware hardware power up is completed
743 * @dmub: the dmub service
750 * DMUB_STATUS_OK - success
751 * DMUB_STATUS_TIMEOUT - timed out
752 * DMUB_STATUS_INVALID - unspecified error
760 * dmub_srv_wait_for_auto_load() - Waits for firmware auto load to complete
761 * @dmub: the dmub service
771 * DMUB_STATUS_OK - success
772 * DMUB_STATUS_TIMEOUT - wait for phy init timed out
773 * DMUB_STATUS_INVALID - unspecified error
779 * dmub_srv_wait_for_phy_init() - Waits for DMUB PHY init to complete
780 * @dmub: the dmub service
790 * DMUB_STATUS_OK - success
791 * DMUB_STATUS_TIMEOUT - wait for phy init timed out
792 * DMUB_STATUS_INVALID - unspecified error
798 * dmub_srv_wait_for_idle() - Waits for the DMUB to be idle
799 * @dmub: the dmub service
807 * DMUB_STATUS_OK - success
808 * DMUB_STATUS_TIMEOUT - wait for buffer to flush timed out
809 * DMUB_STATUS_INVALID - unspecified error
815 * dmub_srv_send_gpint_command() - Sends a GPINT based command.
816 * @dmub: the dmub service
828 * DMUB_STATUS_OK - success
829 * DMUB_STATUS_TIMEOUT - wait for ACK timed out
830 * DMUB_STATUS_INVALID - unspecified error
838 * dmub_srv_get_gpint_response() - Queries the GPINT response.
839 * @dmub: the dmub service
847 * DMUB_STATUS_OK - success
848 * DMUB_STATUS_INVALID - unspecified error
854 * dmub_srv_get_gpint_dataout() - Queries the GPINT DATAOUT.
855 * @dmub: the dmub service
863 * DMUB_STATUS_OK - success
864 * DMUB_STATUS_INVALID - unspecified error
870 * dmub_flush_buffer_mem() - Read back entire frame buffer region.
880 * dmub_srv_get_fw_boot_status() - Returns the DMUB boot status bits.
882 * @dmub: the dmub service
886 * DMUB_STATUS_OK - success
887 * DMUB_STATUS_INVALID - unspecified error, unsupported
908 * dmub_srv_send_inbox0_cmd() - Send command to DMUB using INBOX0
909 * @dmub: the dmub service
915 * DMUB_STATUS_OK - success
916 * DMUB_STATUS_INVALID - hw_init false or hw function does not exist
921 * dmub_srv_wait_for_inbox0_ack() - wait for DMUB to ACK INBOX0 command
922 * @dmub: the dmub service
928 * DMUB_STATUS_OK - success
929 * DMUB_STATUS_INVALID - hw_init false or hw function does not exist
930 * DMUB_STATUS_TIMEOUT - wait for ack timed out
935 * dmub_srv_wait_for_inbox0_ack() - clear ACK register for INBOX0
936 * @dmub: the dmub service
941 * DMUB_STATUS_OK - success
942 * DMUB_STATUS_INVALID - hw_init false or hw function does not exist
947 * dmub_srv_subvp_save_surf_addr() - Save primary and meta address for subvp on each flip
948 * @dmub: The dmub service
962 * dmub_srv_send_reg_inbox0_cmd() - send a dmub command and wait for the command
964 * @dmub: The dmub service
972 * DMUB_STATUS_OK - success
973 * DMUB_STATUS_TIMEOUT - DMUB fails to process the command within the timeout
982 * dmub_srv_set_power_state() - Track DC power state in dmub_srv
983 * @dmub: The dmub service