Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: [FW Promotion] Release 0.1.48.0

[Why&How]
Introduce DMUB IHC command.

Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Taimur Hassan and committed by
Alex Deucher
72835a05 29c9087b

+54
+54
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
··· 1897 1897 */ 1898 1898 DMUB_CMD__PR = 94, 1899 1899 1900 + /** 1901 + * Command type used for all IHC commands. 1902 + */ 1903 + DMUB_CMD__IHC = 95, 1900 1904 1901 1905 /** 1902 1906 * Command type use for VBIOS shared commands. ··· 4964 4960 }; 4965 4961 4966 4962 /** 4963 + * IHC command sub-types. 4964 + */ 4965 + enum dmub_cmd_ihc_type { 4966 + /** 4967 + * Set DIG HDCP interrupt destination. 4968 + */ 4969 + DMUB_CMD__IHC_SET_DIG_HDCP_INTERRUPT_DEST = 0, 4970 + }; 4971 + 4972 + /** 4973 + * Data passed from driver to FW in a DMUB_CMD__IHC command. 4974 + */ 4975 + struct dmub_cmd_ihc_data { 4976 + /** 4977 + * DIG engine ID (0-3). 4978 + */ 4979 + uint8_t dig_id; 4980 + /** 4981 + * 1 = route to DMU, 0 = route to CPU. 4982 + */ 4983 + uint8_t to_dmu : 1; 4984 + /** 4985 + * Reserved bits. 4986 + */ 4987 + uint8_t reserved : 7; 4988 + /** 4989 + * Padding. 4990 + */ 4991 + uint8_t pad[2]; 4992 + }; 4993 + 4994 + /** 4995 + * Definition of a DMUB_CMD__IHC command. 4996 + */ 4997 + struct dmub_rb_cmd_ihc { 4998 + /** 4999 + * Command header. 5000 + */ 5001 + struct dmub_cmd_header header; 5002 + /** 5003 + * IHC command data. 5004 + */ 5005 + struct dmub_cmd_ihc_data data; 5006 + }; 5007 + 5008 + /** 4967 5009 * SMART POWER OLED command sub-types. 4968 5010 */ 4969 5011 enum dmub_cmd_smart_power_oled_type { ··· 7192 7142 struct dmub_rb_cmd_pr_update_state pr_update_state; 7193 7143 7194 7144 struct dmub_rb_cmd_pr_general_cmd pr_general_cmd; 7145 + /** 7146 + * Definition of a DMUB_CMD__IHC command. 7147 + */ 7148 + struct dmub_rb_cmd_ihc ihc; 7195 7149 }; 7196 7150 7197 7151 /**