Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
int | radeon_atif_handler (struct radeon_device *rdev, struct acpi_bus_event *event) |
#define ATCS_ADVERTISE_CAPS (1 << 0) |
Definition at line 415 of file radeon_acpi.h.
#define ATCS_DOCKED (1 << 0) |
Definition at line 400 of file radeon_acpi.h.
#define ATCS_FORCE_LOW_POWER 1 |
Definition at line 421 of file radeon_acpi.h.
#define ATCS_FUNCTION_GET_EXTERNAL_STATE 0x1 |
Definition at line 391 of file radeon_acpi.h.
#define ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION 0x3 |
Definition at line 429 of file radeon_acpi.h.
#define ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST 0x2 |
Definition at line 401 of file radeon_acpi.h.
#define ATCS_FUNCTION_SET_PCIE_BUS_WIDTH 0x4 |
Definition at line 434 of file radeon_acpi.h.
#define ATCS_FUNCTION_VERIFY_INTERFACE 0x0 |
Definition at line 378 of file radeon_acpi.h.
#define ATCS_GET_EXTERNAL_STATE_SUPPORTED (1 << 0) |
Definition at line 387 of file radeon_acpi.h.
#define ATCS_PCIE_DEVICE_READY_NOTIFICATION_SUPPORTED (1 << 2) |
Definition at line 389 of file radeon_acpi.h.
#define ATCS_PCIE_LINK_SPEED 1 |
Definition at line 418 of file radeon_acpi.h.
#define ATCS_PCIE_PERFORMANCE_REQUEST_SUPPORTED (1 << 1) |
Definition at line 388 of file radeon_acpi.h.
#define ATCS_PERF_LEVEL_1 2 /* PCIE Gen 1 */ |
Definition at line 422 of file radeon_acpi.h.
#define ATCS_PERF_LEVEL_2 3 /* PCIE Gen 2 */ |
Definition at line 423 of file radeon_acpi.h.
#define ATCS_PERF_LEVEL_3 4 /* PCIE Gen 3 */ |
Definition at line 424 of file radeon_acpi.h.
#define ATCS_REMOVE 0 |
Definition at line 420 of file radeon_acpi.h.
#define ATCS_REQUEST_COMPLETE 2 |
Definition at line 427 of file radeon_acpi.h.
#define ATCS_REQUEST_IN_PROGRESS 3 |
Definition at line 428 of file radeon_acpi.h.
#define ATCS_REQUEST_REFUSED 1 |
Definition at line 426 of file radeon_acpi.h.
#define ATCS_SET_PCIE_BUS_WIDTH_SUPPORTED (1 << 3) |
Definition at line 390 of file radeon_acpi.h.
#define ATCS_WAIT_FOR_COMPLETION (1 << 1) |
Definition at line 416 of file radeon_acpi.h.
#define ATIF_CRT1 (1 << 1) |
Definition at line 172 of file radeon_acpi.h.
#define ATIF_CRT2 (1 << 4) |
Definition at line 175 of file radeon_acpi.h.
#define ATIF_CV (1 << 8) |
Definition at line 178 of file radeon_acpi.h.
#define ATIF_DFP1 (1 << 3) |
Definition at line 174 of file radeon_acpi.h.
#define ATIF_DFP2 (1 << 7) |
Definition at line 177 of file radeon_acpi.h.
#define ATIF_DFP3 (1 << 9) |
Definition at line 179 of file radeon_acpi.h.
#define ATIF_DFP4 (1 << 10) |
Definition at line 180 of file radeon_acpi.h.
#define ATIF_DFP5 (1 << 11) |
Definition at line 181 of file radeon_acpi.h.
#define ATIF_DFP6 (1 << 12) |
Definition at line 182 of file radeon_acpi.h.
#define ATIF_DGPU_DISPLAY_EVENT (1 << 8) |
Definition at line 147 of file radeon_acpi.h.
#define ATIF_DGPU_DISPLAY_EVENT_SUPPORTED (1 << 8) |
Definition at line 88 of file radeon_acpi.h.
#define ATIF_DISPLAY_CONF_CHANGE_REQUEST (1 << 5) |
Definition at line 144 of file radeon_acpi.h.
#define ATIF_DISPLAY_CONF_CHANGE_REQUEST_SUPPORTED (1 << 5) |
Definition at line 85 of file radeon_acpi.h.
#define ATIF_DISPLAY_SWITCH_REQUEST (1 << 0) |
Definition at line 139 of file radeon_acpi.h.
#define ATIF_DISPLAY_SWITCH_REQUEST_SUPPORTED (1 << 0) |
Definition at line 80 of file radeon_acpi.h.
#define ATIF_EXPANSION_MODE_CHANGE_REQUEST (1 << 1) |
Definition at line 140 of file radeon_acpi.h.
#define ATIF_EXPANSION_MODE_CHANGE_REQUEST_SUPPORTED (1 << 1) |
Definition at line 81 of file radeon_acpi.h.
#define ATIF_FORCED_POWER_STATE_CHANGE_REQUEST (1 << 3) |
Definition at line 142 of file radeon_acpi.h.
#define ATIF_FORCED_POWER_STATE_CHANGE_REQUEST_SUPPORTED (1 << 3) |
Definition at line 83 of file radeon_acpi.h.
#define ATIF_FUNCTION_GET_GRAPHICS_DEVICE_TYPES 0xF |
Definition at line 239 of file radeon_acpi.h.
#define ATIF_FUNCTION_GET_LID_STATE 0x4 |
Definition at line 183 of file radeon_acpi.h.
#define ATIF_FUNCTION_GET_PANEL_EXPANSION_MODE_FROM_CMOS 0x7 |
Definition at line 217 of file radeon_acpi.h.
#define ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS 0x2 |
Definition at line 124 of file radeon_acpi.h.
#define ATIF_FUNCTION_GET_SYSTEM_PARAMETERS 0x1 |
Definition at line 100 of file radeon_acpi.h.
#define ATIF_FUNCTION_GET_TV_STANDARD_FROM_CMOS 0x5 |
Definition at line 193 of file radeon_acpi.h.
#define ATIF_FUNCTION_SELECT_ACTIVE_DISPLAYS 0x3 |
Definition at line 161 of file radeon_acpi.h.
#define ATIF_FUNCTION_SET_PANEL_EXPANSION_MODE_IN_CMOS 0x8 |
Definition at line 224 of file radeon_acpi.h.
#define ATIF_FUNCTION_SET_TV_STANDARD_IN_CMOS 0x6 |
Definition at line 209 of file radeon_acpi.h.
#define ATIF_FUNCTION_TEMPERATURE_CHANGE_NOTIFICATION 0xD |
Definition at line 231 of file radeon_acpi.h.
#define ATIF_FUNCTION_VERIFY_INTERFACE 0x0 |
Definition at line 70 of file radeon_acpi.h.
#define ATIF_GET_GRAPHICS_DEVICE_TYPES_SUPPORTED (1 << 14) |
Definition at line 99 of file radeon_acpi.h.
#define ATIF_GET_LID_STATE_SUPPORTED (1 << 3) |
Definition at line 93 of file radeon_acpi.h.
#define ATIF_GET_PANEL_EXPANSION_MODE_FROM_CMOS_SUPPORTED (1 << 6) |
Definition at line 96 of file radeon_acpi.h.
#define ATIF_GET_SYSTEM_BIOS_REQUESTS_SUPPORTED (1 << 1) |
Definition at line 91 of file radeon_acpi.h.
#define ATIF_GET_SYSTEM_PARAMETERS_SUPPORTED (1 << 0) |
Definition at line 90 of file radeon_acpi.h.
#define ATIF_GET_TV_STANDARD_FROM_CMOS_SUPPORTED (1 << 4) |
Definition at line 94 of file radeon_acpi.h.
#define ATIF_LCD1 (1 << 0) |
Definition at line 171 of file radeon_acpi.h.
#define ATIF_LCD2 (1 << 5) |
Definition at line 176 of file radeon_acpi.h.
#define ATIF_PANEL_BRIGHTNESS_CHANGE_REQUEST (1 << 7) |
Definition at line 146 of file radeon_acpi.h.
#define ATIF_PANEL_BRIGHTNESS_CHANGE_REQUEST_SUPPORTED (1 << 7) |
Definition at line 87 of file radeon_acpi.h.
#define ATIF_PANEL_EXPANSION_ASPECT 2 |
Definition at line 151 of file radeon_acpi.h.
#define ATIF_PANEL_EXPANSION_DISABLE 0 |
Definition at line 149 of file radeon_acpi.h.
#define ATIF_PANEL_EXPANSION_FULL 1 |
Definition at line 150 of file radeon_acpi.h.
#define ATIF_POWER_SOURCE_AC 1 |
Definition at line 157 of file radeon_acpi.h.
#define ATIF_POWER_SOURCE_DC 2 |
Definition at line 158 of file radeon_acpi.h.
#define ATIF_POWER_SOURCE_RESTRICTED_AC_1 3 |
Definition at line 159 of file radeon_acpi.h.
#define ATIF_POWER_SOURCE_RESTRICTED_AC_2 4 |
Definition at line 160 of file radeon_acpi.h.
#define ATIF_PX_GFX_SWITCH_REQUEST (1 << 6) |
Definition at line 145 of file radeon_acpi.h.
#define ATIF_PX_GFX_SWITCH_REQUEST_SUPPORTED (1 << 6) |
Definition at line 86 of file radeon_acpi.h.
#define ATIF_PX_REMOVABLE_GRAPHICS_DEVICE (1 << 0) |
Definition at line 250 of file radeon_acpi.h.
#define ATIF_SELECT_ACTIVE_DISPLAYS_SUPPORTED (1 << 2) |
Definition at line 92 of file radeon_acpi.h.
#define ATIF_SET_PANEL_EXPANSION_MODE_IN_CMOS_SUPPORTED (1 << 7) |
Definition at line 97 of file radeon_acpi.h.
#define ATIF_SET_TV_STANDARD_IN_CMOS_SUPPORTED (1 << 5) |
Definition at line 95 of file radeon_acpi.h.
#define ATIF_SYSTEM_POWER_SOURCE_CHANGE_REQUEST (1 << 4) |
Definition at line 143 of file radeon_acpi.h.
#define ATIF_SYSTEM_POWER_SOURCE_CHANGE_REQUEST_SUPPORTED (1 << 4) |
Definition at line 84 of file radeon_acpi.h.
#define ATIF_TARGET_GFX_PX_DGPU 2 |
Definition at line 155 of file radeon_acpi.h.
#define ATIF_TARGET_GFX_PX_IGPU 1 |
Definition at line 154 of file radeon_acpi.h.
#define ATIF_TARGET_GFX_SINGLE 0 |
Definition at line 153 of file radeon_acpi.h.
#define ATIF_TEMPERATURE_CHANGE_NOTIFICATION_SUPPORTED (1 << 12) |
Definition at line 98 of file radeon_acpi.h.
#define ATIF_THERMAL_STATE_CHANGE_REQUEST (1 << 2) |
Definition at line 141 of file radeon_acpi.h.
#define ATIF_THERMAL_STATE_CHANGE_REQUEST_SUPPORTED (1 << 2) |
Definition at line 82 of file radeon_acpi.h.
#define ATIF_TV (1 << 2) |
Definition at line 173 of file radeon_acpi.h.
#define ATIF_TV_STD_NTSC 0 |
Definition at line 201 of file radeon_acpi.h.
#define ATIF_TV_STD_NTSCJ 4 |
Definition at line 205 of file radeon_acpi.h.
#define ATIF_TV_STD_PAL 1 |
Definition at line 202 of file radeon_acpi.h.
#define ATIF_TV_STD_PAL60 3 |
Definition at line 204 of file radeon_acpi.h.
#define ATIF_TV_STD_PALCN 5 |
Definition at line 206 of file radeon_acpi.h.
#define ATIF_TV_STD_PALM 2 |
Definition at line 203 of file radeon_acpi.h.
#define ATIF_TV_STD_PALN 6 |
Definition at line 207 of file radeon_acpi.h.
#define ATIF_TV_STD_SCART_RGB 9 |
Definition at line 208 of file radeon_acpi.h.
#define ATIF_VGA_ENABLED_GRAPHICS_DEVICE (1 << 2) |
Definition at line 252 of file radeon_acpi.h.
#define ATIF_XGP_PORT (1 << 1) |
Definition at line 251 of file radeon_acpi.h.
#define ATIF_XGP_PORT_IN_DOCK (1 << 3) |
Definition at line 253 of file radeon_acpi.h.
#define ATPX_ACF_NOT_SUPPORTED (1 << 8) |
Definition at line 290 of file radeon_acpi.h.
#define ATPX_CRT1_I2C_AVAILABLE_TO_BOTH_GPUS (1 << 1) |
Definition at line 283 of file radeon_acpi.h.
#define ATPX_CRT1_RGB_SIGNAL_MUXED (1 << 3) |
Definition at line 285 of file radeon_acpi.h.
#define ATPX_DDC1 1 |
Definition at line 368 of file radeon_acpi.h.
#define ATPX_DDC2 2 |
Definition at line 369 of file radeon_acpi.h.
#define ATPX_DDC3 3 |
Definition at line 370 of file radeon_acpi.h.
#define ATPX_DDC4 4 |
Definition at line 371 of file radeon_acpi.h.
#define ATPX_DDC5 5 |
Definition at line 372 of file radeon_acpi.h.
#define ATPX_DDC6 6 |
Definition at line 373 of file radeon_acpi.h.
#define ATPX_DDC7 7 |
Definition at line 374 of file radeon_acpi.h.
#define ATPX_DDC8 8 |
Definition at line 375 of file radeon_acpi.h.
#define ATPX_DDC_NONE 0 |
Definition at line 367 of file radeon_acpi.h.
#define ATPX_DFP_SIGNAL_MUXED (1 << 5) |
Definition at line 287 of file radeon_acpi.h.
#define ATPX_DGPU_REQ_POWER_FOR_DISPLAYS (1 << 11) |
Definition at line 293 of file radeon_acpi.h.
#define ATPX_DISCRETE_GPU 1 |
Definition at line 309 of file radeon_acpi.h.
#define ATPX_DISPLAY_HPD_SUPPORTED_BY_ADAPTER_ID_DEVICE (1 << 1) |
Definition at line 344 of file radeon_acpi.h.
#define ATPX_DISPLAY_I2C_SUPPORTED_BY_ADAPTER_ID_DEVICE (1 << 2) |
Definition at line 345 of file radeon_acpi.h.
#define ATPX_DISPLAY_MUX_CONTROL_SUPPORTED (1 << 2) |
Definition at line 267 of file radeon_acpi.h.
#define ATPX_DISPLAY_OUTPUT_SUPPORTED_BY_ADAPTER_ID_DEVICE (1 << 0) |
Definition at line 343 of file radeon_acpi.h.
#define ATPX_DVI1_I2C_AVAILABLE_TO_BOTH_GPUS (1 << 2) |
Definition at line 284 of file radeon_acpi.h.
#define ATPX_DYNAMIC_DGPU_POWER_OFF_SUPPORTED (1 << 10) |
Definition at line 292 of file radeon_acpi.h.
#define ATPX_DYNAMIC_PX_SUPPORTED (1 << 7) |
Definition at line 289 of file radeon_acpi.h.
#define ATPX_FIXED_NOT_SUPPORTED (1 << 9) |
Definition at line 291 of file radeon_acpi.h.
#define ATPX_FUNCTION_DISPLAY_MUX_CONTROL 0x3 |
Definition at line 301 of file radeon_acpi.h.
#define ATPX_FUNCTION_GET_DISPLAY_CONNECTORS_MAPPING 0x8 |
Definition at line 331 of file radeon_acpi.h.
#define ATPX_FUNCTION_GET_DISPLAY_DETECTION_PORTS 0x9 |
Definition at line 346 of file radeon_acpi.h.
#define ATPX_FUNCTION_GET_PX_PARAMETERS 0x1 |
Definition at line 273 of file radeon_acpi.h.
#define ATPX_FUNCTION_GRAPHICS_DEVICE_SWITCH_END_NOTIFICATION 0x6 |
Definition at line 324 of file radeon_acpi.h.
#define ATPX_FUNCTION_GRAPHICS_DEVICE_SWITCH_START_NOTIFICATION 0x5 |
Definition at line 317 of file radeon_acpi.h.
#define ATPX_FUNCTION_I2C_MUX_CONTROL 0x4 |
Definition at line 310 of file radeon_acpi.h.
#define ATPX_FUNCTION_POWER_CONTROL 0x2 |
Definition at line 294 of file radeon_acpi.h.
#define ATPX_FUNCTION_VERIFY_INTERFACE 0x0 |
Definition at line 256 of file radeon_acpi.h.
#define ATPX_GET_DISPLAY_CONNECTORS_MAPPING_SUPPORTED (1 << 7) |
Definition at line 271 of file radeon_acpi.h.
#define ATPX_GET_DISPLAY_DETECTION_PORTS_SUPPORTED (1 << 8) |
Definition at line 272 of file radeon_acpi.h.
#define ATPX_GET_PX_PARAMETERS_SUPPORTED (1 << 0) |
Definition at line 265 of file radeon_acpi.h.
#define ATPX_GRAPHICS_DEVICE_SWITCH_END_NOTIFICATION_SUPPORTED (1 << 5) |
Definition at line 270 of file radeon_acpi.h.
#define ATPX_GRAPHICS_DEVICE_SWITCH_START_NOTIFICATION_SUPPORTED (1 << 4) |
Definition at line 269 of file radeon_acpi.h.
#define ATPX_HPD1 1 |
Definition at line 360 of file radeon_acpi.h.
#define ATPX_HPD2 2 |
Definition at line 361 of file radeon_acpi.h.
#define ATPX_HPD3 3 |
Definition at line 362 of file radeon_acpi.h.
#define ATPX_HPD4 4 |
Definition at line 363 of file radeon_acpi.h.
#define ATPX_HPD5 5 |
Definition at line 364 of file radeon_acpi.h.
#define ATPX_HPD6 6 |
Definition at line 365 of file radeon_acpi.h.
#define ATPX_HPD_NONE 0 |
Definition at line 359 of file radeon_acpi.h.
#define ATPX_I2C_MUX_CONTROL_SUPPORTED (1 << 3) |
Definition at line 268 of file radeon_acpi.h.
#define ATPX_INTEGRATED_GPU 0 |
Definition at line 308 of file radeon_acpi.h.
#define ATPX_LVDS_I2C_AVAILABLE_TO_BOTH_GPUS (1 << 0) |
Definition at line 282 of file radeon_acpi.h.
#define ATPX_POWER_CONTROL_SUPPORTED (1 << 1) |
Definition at line 266 of file radeon_acpi.h.
#define ATPX_SEPARATE_MUX_FOR_I2C (1 << 6) |
Definition at line 288 of file radeon_acpi.h.
#define ATPX_TV_SIGNAL_MUXED (1 << 4) |
Definition at line 286 of file radeon_acpi.h.
int radeon_atif_handler | ( | struct radeon_device * | rdev, |
struct acpi_bus_event * | event | ||
) |
radeon_atif_handler - handle ATIF notify requests
: radeon_device pointer : atif sbios request struct
Checks the acpi event and if it matches an atif event, handles it. Returns NOTIFY code
Definition at line 336 of file radeon_acpi.c.