linux_dsm_epyc7002/drivers/gpu/drm/radeon
David Francis dc48529fb1 drm/dp_mst: Add PBN calculation for DSC modes
With DSC, bpp can be fractional in multiples of 1/16.

Change drm_dp_calc_pbn_mode to reflect this, adding a new
parameter bool dsc. When this parameter is true, treat the
bpp parameter as having units not of bits per pixel, but
1/16 of a bit per pixel

v2: Don't add separate function for this
v3: In the equation divide bpp by 16 as it is expected
not to leave any remainder
v4: Added DSC test parameters for selftest

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-01-09 18:07:46 -05:00
..
reg_srcs
.gitignore
atom-bits.h
atom-names.h
atom-types.h
atom.c
atom.h drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
atombios_crtc.c drm/radeon: remove unnecessary braces around conditionals. 2020-01-07 12:04:13 -05:00
atombios_dp.c drm/radeon: remove unnecessary braces around conditionals. 2020-01-07 12:04:13 -05:00
atombios_encoders.c drm/radeon: remove unnecessary braces around conditionals. 2020-01-07 12:04:13 -05:00
atombios_i2c.c gpu: drm: dead code elimination 2019-12-18 16:09:13 -05:00
atombios.h
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
btcd.h
cayman_blit_shaders.c
cayman_blit_shaders.h
ci_dpm.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
ci_dpm.h
ci_smc.c
cik_blit_shaders.c
cik_blit_shaders.h
cik_reg.h
cik_sdma.c drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -05:00
cik.c drm/radeon: use true,false for bool variable in cik.c 2019-12-23 15:00:00 -05:00
cikd.h
clearstate_cayman.h
clearstate_ci.h
clearstate_defs.h
clearstate_evergreen.h
clearstate_si.h
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
dce6_afmt.c
evergreen_blit_shaders.c
evergreen_blit_shaders.h
evergreen_cs.c
evergreen_dma.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
evergreen_hdmi.c
evergreen_reg.h
evergreen_smc.h
evergreen.c drm/radeon: use true, false for bool variable in evergreen.c 2019-12-23 14:59:59 -05:00
evergreend.h
Kconfig
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
Makefile
mkregtable.c
ni_dma.c
ni_dpm.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
ni_dpm.h
ni_reg.h
ni.c drm/radeon: use true,false for bool variable in ni.c 2019-12-23 15:00:00 -05:00
nid.h
nislands_smc.h
ObjectID.h
ppsmc.h
pptable.h
r100_track.h
r100.c drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -05:00
r100d.h
r200.c drm/radeon: fix r1xx/r2xx register checker for POT textures 2019-12-03 16:26:59 -05:00
r300_reg.h
r300.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
r300d.h
r420.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
r420d.h
r500_reg.h
r520.c
r520d.h
r600_blit_shaders.c
r600_blit_shaders.h
r600_cs.c drm/radeon: remove set but not used variable 'size', 'relocs_chunk' 2019-11-19 10:12:54 -05:00
r600_dma.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
r600_dpm.c
r600_dpm.h
r600_hdmi.c
r600_reg.h
r600.c drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -05:00
r600d.h
radeon_acpi.c
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: remove three set but not used variable 2020-01-07 11:57:34 -05:00
radeon_atpx_handler.c
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 drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -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 Merge tag 'drm-next-5.6-2019-12-11' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-12-17 18:47:46 +01:00
radeon_connectors.c drm/radeon: remove unnecessary braces around conditionals. 2020-01-07 12:04:13 -05:00
radeon_cs.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_cursor.c
radeon_device.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_display.c drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -05:00
radeon_dp_auxch.c
radeon_dp_mst.c drm/dp_mst: Add PBN calculation for DSC modes 2020-01-09 18:07:46 -05:00
radeon_drv.c drm/radeon: Clean up code in radeon_pci_shutdown() 2019-11-11 17:38:13 -05:00
radeon_drv.h
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: constify fb ops across all drivers 2019-12-05 10:57:42 +02:00
radeon_fence.c
radeon_gart.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_gem.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_i2c.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_ib.c
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: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_legacy_crtc.c
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/radeon: use mmu_interval_notifier_insert 2019-11-23 19:56:44 -04:00
radeon_mode.h
radeon_object.c drm/ttm: always keep BOs on the LRU 2019-10-25 11:40:50 +02:00
radeon_object.h dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
radeon_pm.c drm/radeon: remove boolean checks in if statements. 2020-01-07 12:04:08 -05:00
radeon_prime.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
radeon_reg.h
radeon_ring.c
radeon_sa.c
radeon_semaphore.c
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_points.c
radeon_trace.h
radeon_ttm.c drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
radeon_ucode.c
radeon_ucode.h
radeon_uvd.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
radeon_vce.c drm/radeon: remove unnecessary braces around conditionals. 2020-01-07 12:04:13 -05:00
radeon_vm.c drm/radeon: remove unnecessary braces around conditionals. 2020-01-07 12:04:13 -05:00
radeon.h drm/radeon: use mmu_interval_notifier_insert 2019-11-23 19:56:44 -04:00
rs100d.h
rs400.c
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
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 dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
rv770_dpm.c
rv770_dpm.h
rv770_smc.c
rv770_smc.h
rv770.c drm/radeon: use true,false for bool variable in rv770.c 2019-12-23 14:59:59 -05:00
rv770d.h
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 Merge tag 'drm-next-5.6-2019-12-11' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-12-17 18:47:46 +01:00
si_dpm.h
si_reg.h
si_smc.c
si.c drm/radeon: use true,false for bool variable in si.c 2019-12-23 14:59:58 -05: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 drm/radeon: Don't include <drm/drm_pci.h> 2019-12-05 08:44:28 +01:00
trinity_dpm.h
trinity_smc.c
trinityd.h
uvd_v1_0.c
uvd_v2_2.c
uvd_v3_1.c
uvd_v4_2.c
vce_v1_0.c
vce_v2_0.c