diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-08-16 11:13:43 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-09-20 13:10:37 -0400 |
commit | e3a1592085988c60a2207eb492b89493573a0303 (patch) | |
tree | 15fe7eb1e2dd281ff0a03dd576145734efe4424a /drivers/gpu/drm/radeon/radeon.h | |
parent | 82e029357d4726bbfb31b4169f82dcaea5fa3eba (diff) |
drm/radeon: add initial support for ATCS ACPI methods
Just verify the interface and track what functions are
supported. Not actually used yet.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index b5b16878f0cf..99a5c8445014 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -1464,6 +1464,17 @@ struct radeon_atif { | |||
1464 | struct radeon_encoder *backlight_ctl; | 1464 | struct radeon_encoder *backlight_ctl; |
1465 | }; | 1465 | }; |
1466 | 1466 | ||
1467 | struct radeon_atcs_functions { | ||
1468 | bool get_ext_state; | ||
1469 | bool pcie_perf_req; | ||
1470 | bool pcie_dev_rdy; | ||
1471 | bool pcie_bus_width; | ||
1472 | }; | ||
1473 | |||
1474 | struct radeon_atcs { | ||
1475 | struct radeon_atcs_functions functions; | ||
1476 | }; | ||
1477 | |||
1467 | /* | 1478 | /* |
1468 | * Core structure, functions and helpers. | 1479 | * Core structure, functions and helpers. |
1469 | */ | 1480 | */ |
@@ -1557,6 +1568,7 @@ struct radeon_device { | |||
1557 | struct mutex gpu_clock_mutex; | 1568 | struct mutex gpu_clock_mutex; |
1558 | /* ACPI interface */ | 1569 | /* ACPI interface */ |
1559 | struct radeon_atif atif; | 1570 | struct radeon_atif atif; |
1571 | struct radeon_atcs atcs; | ||
1560 | }; | 1572 | }; |
1561 | 1573 | ||
1562 | int radeon_device_init(struct radeon_device *rdev, | 1574 | int radeon_device_init(struct radeon_device *rdev, |