linux_dsm_epyc7002/drivers/gpu/drm/radeon
Maarten Lankhorst 7ea7728387 drm/core: Change declaration for gamma_set.
Change return value to int to propagate errors from gamma_set,
and remove start parameter. Updates always use the full size,
and some drivers even ignore the start parameter altogether.

This is needed for atomic drivers, where an atomic commit can
fail with -EINTR or -ENOMEM and should be restarted. This is already
and issue for drm_atomic_helper_legacy_set_gamma, which this patch
fixes up.

Changes since v1:
- Fix compiler warning. (Emil)
- Fix commit message (Daniel)

Cc: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Eric Anholt <eric@anholt.net>
Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
Cc: Mathieu Larouche <mathieu.larouche@matrox.com>
Cc: Thierry Reding <treding@nvidia.com>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
[danvet: Improve commit message a bit more, mention that this fixes
the helper.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/742944bc-9f41-1acb-df4f-0fd4c8a10168@linux.intel.com
2016-06-07 15:30:09 +02:00
..
reg_srcs
.gitignore
atom-bits.h
atom-names.h
atom-types.h
atom.c
atom.h
atombios_crtc.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2016-05-23 11:48:48 -07:00
atombios_dp.c drm/radeon: fix DP mode validation 2016-05-12 15:03:39 -04:00
atombios_encoders.c drm/radeon: make sure vertical front porch is at least 1 2016-05-03 14:50:54 -04:00
atombios_i2c.c
atombios.h
avivod.h
btc_dpm.c
btc_dpm.h
btcd.h
cayman_blit_shaders.c
cayman_blit_shaders.h
ci_dpm.c
ci_dpm.h
ci_smc.c
cik_blit_shaders.c
cik_blit_shaders.h
cik_reg.h
cik_sdma.c
cik.c drm/radeon: allow to force hard GPU reset. 2016-05-02 13:08:54 -04:00
cikd.h drm/radeon: handle more than 10 UVD sessions 2016-05-04 20:19:43 -04:00
clearstate_cayman.h
clearstate_ci.h
clearstate_defs.h
clearstate_evergreen.h
clearstate_si.h
cypress_dpm.c
cypress_dpm.h
dce3_1_afmt.c
dce6_afmt.c
evergreen_blit_shaders.c
evergreen_blit_shaders.h
evergreen_cs.c drm/radeon: add cayman VM support for append packet. 2016-05-04 20:30:16 -04:00
evergreen_dma.c
evergreen_hdmi.c
evergreen_reg.h drm/radeon: fix vertical bars appear on monitor (v2) 2016-04-27 12:27:08 -04:00
evergreen_smc.h
evergreen.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
evergreend.h drm/radeon: add support for SET_APPEND_CNT packet3 (v2) 2016-05-04 20:19:49 -04:00
Kconfig
kv_dpm.c drm/radeon: fix array out of bounds 2016-05-16 10:25:13 -04:00
kv_dpm.h
kv_smc.c
Makefile
mkregtable.c
ni_dma.c
ni_dpm.c
ni_dpm.h
ni_reg.h drm/radeon/mst: port some MST setup code from DAL. 2016-04-06 14:57:46 -04:00
ni.c drm/radeon: allow to force hard GPU reset. 2016-05-02 13:08:54 -04:00
nid.h
nislands_smc.h
ObjectID.h
ppsmc.h
pptable.h
r100_track.h
r100.c drm/radeon: Support DRM_MODE_PAGE_FLIP_ASYNC 2016-05-04 20:19:03 -04:00
r100d.h
r200.c
r300_reg.h
r300.c drm/radeon: allow to force hard GPU reset. 2016-05-02 13:08:54 -04:00
r300d.h
r420.c
r420d.h
r500_reg.h
r520.c
r520d.h
r600_blit_shaders.c
r600_blit_shaders.h
r600_cs.c
r600_dma.c
r600_dpm.c
r600_dpm.h
r600_hdmi.c
r600_reg.h
r600.c drm/radeon: don't include RADEON_HPD_NONE in HPD IRQ enable bitsets 2016-05-02 15:25:40 -04:00
r600d.h
radeon_acpi.c
radeon_acpi.h
radeon_agp.c
radeon_asic.c drm/radeon: add driver option to disable vce block. 2016-05-02 13:08:53 -04:00
radeon_asic.h drm/radeon: Support DRM_MODE_PAGE_FLIP_ASYNC 2016-05-04 20:19:03 -04:00
radeon_atombios.c
radeon_atpx_handler.c drm/radeon: print a message if ATPX dGPU power control is missing 2016-04-18 11:26:26 -04:00
radeon_audio.c
radeon_audio.h
radeon_benchmark.c
radeon_bios.c
radeon_clocks.c
radeon_combios.c
radeon_connectors.c drm/radeon: fix initial connector audio value 2016-04-14 00:26:29 -04:00
radeon_cs.c drm: remove unused dev variables 2016-05-18 19:16:24 +02:00
radeon_cursor.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
radeon_device.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
radeon_display.c drm/core: Change declaration for gamma_set. 2016-06-07 15:30:09 +02:00
radeon_dp_auxch.c drm/radeon: fix DP link training issue with second 4K monitor 2016-05-05 11:14:18 -04:00
radeon_dp_mst.c drm/radeon: use helper for mst connector dpms. 2016-04-06 14:58:42 -04:00
radeon_drv.c vga_switcheroo: Add helper for deferred probing 2016-05-31 13:15:57 +02:00
radeon_drv.h
radeon_encoders.c
radeon_family.h
radeon_fb.c
radeon_fence.c
radeon_gart.c
radeon_gem.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
radeon_i2c.c
radeon_ib.c
radeon_ioc32.c
radeon_irq_kms.c drm: Nuke ->vblank_disable_allowed 2016-05-21 07:03:31 +10:00
radeon_kfd.c
radeon_kfd.h
radeon_kms.c
radeon_legacy_crtc.c drm/radeon: Only call drm_vblank_on/off between drm_vblank_init/cleanup 2016-04-01 10:09:28 -04:00
radeon_legacy_encoders.c
radeon_legacy_tv.c
radeon_mn.c drm/radeon: make radeon_mn_get wait for mmap_sem killable 2016-05-23 17:04:14 -07:00
radeon_mode.h
radeon_object.c drm/ttm: remove lazy parameter from ttm_bo_wait 2016-05-04 20:21:26 -04:00
radeon_object.h drm/ttm: remove use_ticket parameter from ttm_bo_reserve 2016-05-04 20:21:21 -04:00
radeon_pm.c drm/radeon: use drm_crtc_vblank_{get,put}() 2016-06-06 18:05:08 +02:00
radeon_prime.c
radeon_reg.h
radeon_ring.c
radeon_sa.c
radeon_semaphore.c
radeon_sync.c
radeon_test.c
radeon_trace_points.c
radeon_trace.h
radeon_ttm.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
radeon_ucode.c
radeon_ucode.h
radeon_uvd.c drm/radeon: handle more than 10 UVD sessions 2016-05-04 20:19:43 -04:00
radeon_vce.c
radeon_vm.c
radeon.h dma-buf/fence: make fence context 64 bit v2 2016-06-02 08:27:41 +02:00
rs100d.h
rs400.c
rs400d.h
rs600.c drm/radeon: Support DRM_MODE_PAGE_FLIP_ASYNC 2016-05-04 20:19:03 -04:00
rs600d.h
rs690.c
rs690d.h
rs780_dpm.c
rs780_dpm.h
rs780d.h
rv6xx_dpm.c
rv6xx_dpm.h
rv6xxd.h
rv200d.h
rv250d.h
rv350d.h
rv515.c
rv515d.h
rv730_dpm.c
rv730d.h
rv740_dpm.c
rv740d.h
rv770_dma.c
rv770_dpm.c
rv770_dpm.h
rv770_smc.c
rv770_smc.h
rv770.c drm/radeon: Support DRM_MODE_PAGE_FLIP_ASYNC 2016-05-04 20:19:03 -04:00
rv770d.h
si_blit_shaders.c
si_blit_shaders.h
si_dma.c
si_dpm.c drm/radeon: add a quirk for a XFX R9 270X 2016-04-18 11:18:35 -04:00
si_dpm.h
si_reg.h
si_smc.c
si.c drm/radeon: Allow setting shader registers using DMA/COPY packet3 on SI. 2016-05-04 20:23:15 -04:00
sid.h
sislands_smc.h
smu7_discrete.h
smu7_fusion.h
smu7.h
sumo_dpm.c
sumo_dpm.h
sumo_smc.c
sumod.h
trinity_dpm.c
trinity_dpm.h
trinity_smc.c
trinityd.h
uvd_v1_0.c drm/radeon: handle more than 10 UVD sessions 2016-05-04 20:19:43 -04:00
uvd_v2_2.c drm/radeon: handle more than 10 UVD sessions 2016-05-04 20:19:43 -04:00
uvd_v3_1.c
uvd_v4_2.c drm/radeon: handle more than 10 UVD sessions 2016-05-04 20:19:43 -04:00
vce_v1_0.c
vce_v2_0.c