aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/amd_acpi.h
Commit message (Collapse)AuthorAgeFilesLines
* drm/amd: Pass luminance data to amdgpu_dm_backlight_capsMario Limonciello2025-03-051-1/+3
| | | | | | | | | | The ATIF method on some systems will provide a backlight curve. Pass this curve into amdgpu_dm add it to the structures. Reviewed-by: Alex Hung <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: support atcs method powershift (v4)Sathishkumar S2021-06-021-0/+18
| | | | | | | | | | | | | | | add support to handle ATCS method for power shift control. used to communicate dGPU device state to SBIOS. V2: use defined acpi func for checking psc support (Lijo) fix alignment (Shashank) V3: rebased on unified ATCS handling (Alex) V4: rebased on ATPX/ATCS structures global (Alex) Signed-off-by: Sathishkumar S <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amd: Query and use ACPI backlight capsDavid Francis2018-11-261-0/+24
| | | | | | | | | | | | | | | | | | ACPI ATIF has a function called query backlight transfer characteristics. Among the information returned by this function is the minimum and maximum input signals for the backlight Call that function on ACPI init. When DM backlight device is updated, copy over the backlight caps into DM, but only once. Use the backlight caps in the backlight-to-dc calculation Signed-off-by: David Francis <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amd: update ATIF functions in AMD ACPI headerDavid Francis2018-11-261-104/+47
| | | | | | | | | | | | | | | | | | | | | | | The ACPI interface in AMD was a few years out of date and contained some unused and deprecated functions Remove functions: Select Active Displays, Get Lid State, Get TV Standard, Set TV Standard, Get Panel Expansion Mode, Set Panel Expansion Mode, Get Graphics Device Types Add functions: Query Backlight Transfer Characteristics, Ready To Undock Notification Changed functions: Get System Parameters, Get System BIOS Requests All changes are right from the standard ATI ACPI Control Methods V0.44 Signed-off-by: David Francis <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: add new ATIF ACPI methodAlex Deucher2017-03-301-0/+12
| | | | | | Used for fetching external GPU information. Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: update radeon acpi headerAlex Deucher2016-02-261-0/+2
| | | | | | Add some new defs for ATPX. Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: mv amdgpu_acpi.h to amd/include/amd_acpi.hRex Zhu2015-12-211-0/+494
This will be shared with the new powerplay module. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]>