OrangePi_CM5/drivers/gpu/drm/radeon
Nicholas Bishop 5564d83ebc drm/radeon: Fix backlight control on iMac 12,1
commit 364438fd629f7611a84c8e6d7de91659300f1502 upstream.

The iMac 12,1 does not use the gmux driver for backlight, so the radeon
backlight device is needed to set the brightness.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1838
Signed-off-by: Nicholas Bishop <nicholasbishop@google.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-23 12:01:01 +01:00
..
reg_srcs
…
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drm/radeon: align short build log 2020-04-01 14:44:43 -04:00
ObjectID.h
…
atom-bits.h
…
atom-names.h
…
atom-types.h
…
atom.c drm/radeon: cleanup coding style a bit 2020-04-30 16:48:42 -04:00
atom.h drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
atombios.h
…
atombios_crtc.c Linux 5.6-rc2 2020-02-17 10:34:34 +01:00
atombios_dp.c drm/radeon: remove unnecessary braces around conditionals. 2020-01-07 12:04:13 -05:00
atombios_encoders.c drm/radeon: Fix backlight control on iMac 12,1 2022-02-23 12:01:01 +01:00
atombios_i2c.c gpu: drm: dead code elimination 2019-12-18 16:09:13 -05:00
avivod.h
…
btc_dpm.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
btc_dpm.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
btcd.h
…
cayman_blit_shaders.c
…
cayman_blit_shaders.h
…
ci_dpm.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ci_dpm.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
ci_smc.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
cik.c drm/radeon: use true,false for bool variable in cik.c 2019-12-23 15:00:00 -05:00
cik_blit_shaders.c
…
cik_blit_shaders.h
…
cik_reg.h drm/radeon: Remove KFD_CIK_SDMA_QUEUE_OFFSET 2017-12-20 12:00:22 -05:00
cik_sdma.c drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -05:00
cikd.h
…
clearstate_cayman.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
clearstate_ci.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
clearstate_defs.h
…
clearstate_evergreen.h
…
clearstate_si.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
cypress_dpm.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
cypress_dpm.h
…
dce3_1_afmt.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
dce6_afmt.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
evergreen.c drm/radeon: use true, false for bool variable in evergreen.c 2019-12-23 14:59:59 -05:00
evergreen_blit_shaders.c
…
evergreen_blit_shaders.h
…
evergreen_cs.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
evergreen_dma.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
evergreen_hdmi.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
evergreen_reg.h
…
evergreen_smc.h
…
evergreend.h
…
kv_dpm.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
kv_dpm.h
…
kv_smc.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
mkregtable.c drm/radeon: change SPDX identifier to MIT 2018-10-15 16:16:12 -05:00
ni.c drm/radeon: use true,false for bool variable in ni.c 2019-12-23 15:00:00 -05:00
ni_dma.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
ni_dpm.c drm/radeon: fix fb_div check in ni_init_smc_spll_table() 2020-07-01 01:59:26 -04:00
ni_dpm.h
…
ni_reg.h
…
nid.h
…
nislands_smc.h
…
ppsmc.h
…
pptable.h
…
r100.c drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -05:00
r100_track.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
r100d.h
…
r200.c drm/radeon: fix r1xx/r2xx register checker for POT textures 2019-12-03 16:26:59 -05:00
r300.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
r300_reg.h
…
r300d.h
…
r420.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
r420d.h
…
r500_reg.h
…
r520.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
r520d.h
…
r600.c drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -05:00
r600_blit_shaders.c
…
r600_blit_shaders.h
…
r600_cs.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
r600_dma.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
r600_dpm.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
r600_dpm.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
r600_hdmi.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
r600_reg.h drm/radeon: enable ABGR and XBGR formats (v2) 2018-08-27 11:10:19 -05:00
r600d.h
…
radeon.h drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected 2021-05-19 10:13:11 +02:00
radeon_acpi.c drm/radeon: drop use of drmP.h (1/2) 2019-06-10 22:30:24 +02:00
radeon_acpi.h
…
radeon_agp.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_asic.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_asic.h dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
radeon_atombios.c drm/radeon: Avoid power table parsing memory leaks 2021-05-19 10:13:07 +02:00
radeon_atpx_handler.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 191 2019-05-30 11:29:21 -07:00
radeon_audio.c drm: radeon: replace 0 with NULL 2019-11-26 14:51:04 -05:00
radeon_audio.h
…
radeon_benchmark.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
radeon_bios.c PCI: Use ioremap(), not phys_to_virt() for platform ROM 2020-03-30 09:52:23 -05:00
radeon_clocks.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_combios.c drm/radeon: convert to use i2c_new_client_device() 2020-03-28 22:48:20 +01:00
radeon_connectors.c drm/radeon: fix multiple reference count leak 2020-07-01 01:59:22 -04:00
radeon_cs.c treewide: Change list_sort to use const pointers 2021-09-30 10:11:04 +02:00
radeon_cursor.c drm/radeon: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
radeon_device.c drm: Avoid drm_global_mutex for simple inc/dec of dev->open_count 2020-01-24 17:41:34 +00:00
radeon_display.c drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create() 2021-07-19 09:44:57 +02:00
radeon_dp_auxch.c drm/radeon: drop use of drmP.h (1/2) 2019-06-10 22:30:24 +02:00
radeon_dp_mst.c drm/radeon: Fix a missing check bug in radeon_dp_mst_detect() 2021-05-14 09:50:26 +02:00
radeon_drv.c drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64 2021-07-19 09:44:57 +02:00
radeon_drv.h drm/radeon: drop unused ati pcigart include. 2019-04-24 12:32:14 +10:00
radeon_encoders.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_family.h
…
radeon_fb.c drm/radeon: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
radeon_fence.c gpu/drm: Remove debug info about CPU address 2020-07-08 09:04:21 -04:00
radeon_gart.c drm/radeon: switch from 'pci_' to 'dma_' API 2020-07-27 16:45:29 -04:00
radeon_gem.c drm/radeon/ttm: move to driver binding/destroy functions. (v2) 2020-09-09 08:30:05 +10:00
radeon_i2c.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_ib.c drm/radeon: drop use of drmP.h (1/2) 2019-06-10 22:30:24 +02:00
radeon_irq_kms.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_kms.c drm/radeon: fix error handling in radeon_driver_open_kms 2022-01-27 10:54:28 +01:00
radeon_legacy_crtc.c drm/radeon: Convert to struct drm_crtc_helper_funcs.get_scanout_position() 2020-02-13 13:08:14 +01:00
radeon_legacy_encoders.c drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -05:00
radeon_legacy_tv.c drm/radeon: remove set but not used variable 'tv_pll_cntl1' 2019-11-19 10:12:54 -05:00
radeon_mn.c drm/ttm: protect against reentrant bind in the drivers 2020-09-18 06:14:00 +10:00
radeon_mode.h drm/radeon: remove radeon_fb_{add,remove}_connector functions 2020-03-06 14:19:57 +01:00
radeon_object.c drm/ttm: nuke memory type flags 2020-09-11 13:31:23 +02:00
radeon_object.h drm/ttm: rename ttm_mem_reg to ttm_resource. 2020-08-06 13:19:21 +10:00
radeon_pm.c drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected 2021-05-19 10:13:11 +02:00
radeon_prime.c drm/radeon: wait for moving fence after pinning 2021-06-30 08:47:16 -04:00
radeon_reg.h
…
radeon_ring.c drm/radeon: drop use of drmP.h (1/2) 2019-06-10 22:30:24 +02:00
radeon_sa.c drm/radeon: drop use of drmP.h (1/2) 2019-06-10 22:30:24 +02:00
radeon_semaphore.c drm/radeon: drop use of drmP.h (1/2) 2019-06-10 22:30:24 +02:00
radeon_sync.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
radeon_test.c drm/radeon: switch driver from bo->resv to bo->base.resv 2019-08-06 08:21:54 +02:00
radeon_trace.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
radeon_trace_points.c drm/radeon: drop use of drmP.h (1/2) 2019-06-10 22:30:24 +02:00
radeon_ttm.c drm/radeon/ttm: Fix memory leak userptr pages 2021-05-11 14:47:30 +02:00
radeon_ucode.c drm/radeon: drop use of drmP.h (1/2) 2019-06-10 22:30:24 +02:00
radeon_ucode.h
…
radeon_uvd.c radeon: use memcpy_to/fromio for UVD fw upload 2021-06-23 14:42:49 +02:00
radeon_vce.c drm/radeon: remove unnecessary braces around conditionals. 2020-01-07 12:04:13 -05:00
radeon_vm.c Merge tag 'amd-drm-fixes-5.10-2020-10-09' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-10-12 10:40:43 +10:00
rs100d.h
…
rs400.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
rs400d.h
…
rs600.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
rs600d.h
…
rs690.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
rs690d.h
…
rs780_dpm.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
rs780_dpm.h
…
rs780d.h
…
rv6xx_dpm.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
rv6xx_dpm.h
…
rv6xxd.h
…
rv200d.h
…
rv250d.h
…
rv350d.h
…
rv515.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
rv515d.h
…
rv730_dpm.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
rv730d.h
…
rv740_dpm.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
rv740d.h
…
rv770.c drm/radeon: use true,false for bool variable in rv770.c 2019-12-23 14:59:59 -05:00
rv770_dma.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
rv770_dpm.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
rv770_dpm.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
rv770_smc.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
rv770_smc.h
…
rv770d.h
…
si.c drm/radeon: use true,false for bool variable in si.c 2019-12-23 14:59:58 -05:00
si_blit_shaders.c
…
si_blit_shaders.h
…
si_dma.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
si_dpm.c drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected 2021-05-19 10:13:11 +02:00
si_dpm.h
…
si_reg.h
…
si_smc.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
sid.h
…
sislands_smc.h
…
smu7.h
…
smu7_discrete.h
…
smu7_fusion.h
…
sumo_dpm.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
sumo_dpm.h drm/radeon: prepare header files for drmP.h removal 2019-06-10 22:30:24 +02:00
sumo_smc.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
sumod.h
…
trinity_dpm.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
trinity_dpm.h
…
trinity_smc.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
trinityd.h
…
uvd_v1_0.c drm/radeon: fix typoes in comments 2020-09-22 17:37:38 -04:00
uvd_v2_2.c drm/radeon: fix typoes in comments 2020-09-22 17:37:38 -04:00
uvd_v3_1.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
uvd_v4_2.c drm/radeon: fix typoes in comments 2020-09-22 17:37:38 -04:00
vce_v1_0.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00
vce_v2_0.c drm/radeon: drop use of drmP.h (2/2) 2019-06-10 22:30:24 +02:00