linux/drivers/gpu/drm/radeon
Dave Airlie 06e4cd6417 drm/radeon/kms: don't use 0 bpc for adjusting hdmi clock
If the bpc is set from the connector is 0, we then use it later to adjust
in a special case the HDMI pixel clock, however if the bpc is 0, we end up
passing a 0 pixel clock into the code.

I'm not sure if this is the correct answer or if we should avoid the HDMI
clock adjustment for 0 values.

This fixes a divide by 0 on my Llano system with a HDMI monitor and hdmi
audio enabled.

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-12-20 19:58:27 +00:00
..
reg_srcs drm/radeon/kms: add initial CS checker support for compute 2011-06-21 12:36:39 +10:00
.gitignore
atom-bits.h
atom-names.h
atom-types.h
atom.c drm/radeon/kms/atom: fix handling of FB scratch indices 2011-10-19 09:47:47 +01:00
atom.h drm/radeon/kms/atom: fix handling of FB scratch indices 2011-10-19 09:47:47 +01:00
atombios_crtc.c drm/radeon/kms: don't use 0 bpc for adjusting hdmi clock 2011-12-20 19:58:27 +00:00
atombios_dp.c drm/radeon/kms: make an aux failure debug only 2011-11-11 11:06:50 +00:00
atombios_encoders.c drm/radeon/kms: make atombios_dig_transmitter_setup() version based 2011-11-01 16:05:22 +00:00
atombios.h drm/radeon/kms: add missing external encoder action 2011-06-17 09:28:01 +10:00
avivod.h
cayman_blit_shaders.c drm/radeon/kms: add blit support for cayman (v2) 2011-05-26 09:19:31 +10:00
cayman_blit_shaders.h drm/radeon/kms: add blit support for cayman (v2) 2011-05-26 09:19:31 +10:00
evergreen_blit_kms.c drm/radeon: rename struct radeon_cp to radeon_ring 2011-12-20 19:50:56 +00:00
evergreen_blit_shaders.c
evergreen_blit_shaders.h
evergreen_cs.c drm/radeon/kms: fix 2D tiling CS support on EG/CM 2011-12-02 10:48:35 +00:00
evergreen_reg.h drm/radeon/kms: fix scanout of 2D tiled buffers on EG/CM 2011-12-02 10:48:19 +00:00
evergreen.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
evergreend.h drm/radeon/kms: fix 2D tiling CS support on EG/CM 2011-12-02 10:48:35 +00:00
Kconfig drm/radeon/kms: clean up the radeon kms Kconfig 2011-05-26 09:22:05 +10:00
Makefile drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
mkregtable.c
ni_reg.h
ni.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
nid.h drm/radeon/kms: add support for per-ring fence interrupts 2011-12-20 19:52:03 +00:00
ObjectID.h
r100_track.h drm/radeon: Remove more bogus inlines in the radeon driver. 2011-10-18 09:44:52 +01:00
r100.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
r100d.h
r200.c drm/radeon: rename struct radeon_cp to radeon_ring 2011-12-20 19:50:56 +00:00
r300_cmdbuf.c drm/radeon: Move more code out of line 2011-10-18 09:53:05 +01:00
r300_reg.h
r300.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
r300d.h
r420.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
r420d.h
r500_reg.h
r520.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
r520d.h
r600_audio.c
r600_blit_kms.c drm/radeon: rename struct radeon_cp to radeon_ring 2011-12-20 19:50:56 +00:00
r600_blit_shaders.c
r600_blit_shaders.h
r600_blit.c drm/radeon: drop inlines in r600_blit.c 2011-10-18 09:44:38 +01:00
r600_cp.c drm/radeon/kms: add support for semaphores v3 2011-12-20 19:49:36 +00:00
r600_cs.c drm/radeon/kms: add a CS ioctl flag not to rewrite tiling flags in the CS 2011-11-20 07:53:13 +00:00
r600_hdmi.c
r600_reg.h
r600.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
r600d.h drm/radeon/kms: add support for semaphores v3 2011-12-20 19:49:36 +00:00
radeon_acpi.c drm/radeon/kms: Skip ACPI call to ATIF when possible 2011-12-01 09:57:34 +00:00
radeon_agp.c
radeon_asic.c drm/radeon/kms: add cayman specific fence_ring_emit 2011-12-20 19:51:54 +00:00
radeon_asic.h drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
radeon_atombios.c drm/radeon/kms/atom: unify i2c gpio table handling 2011-11-22 20:10:28 +00:00
radeon_atpx_handler.c drm/radeon/kms: ATPX switcheroo fixes 2011-05-09 09:14:35 +10:00
radeon_benchmark.c drm/radeon/kms: add support for multiple fence queues v2 2011-12-20 19:49:28 +00:00
radeon_bios.c drm/radeon/kms: fix typo in read_disabled vbios code 2011-07-12 06:58:59 +01:00
radeon_clocks.c drm/radeon/kms: set a default max_pixel_clock 2011-08-31 14:06:19 +01:00
radeon_combios.c drm/radeon/kms/combios: fix dynamic allocation of PM clock modes 2011-11-12 17:46:40 +00:00
radeon_connectors.c drm/radeon/kms: set HPD polarity in hpd_init() 2011-11-03 17:53:18 +00:00
radeon_cp.c gpu: add module.h to drivers/gpu files as required. 2011-10-31 19:32:03 -04:00
radeon_cs.c drm/radeon: make all functions work with multiple rings. 2011-12-20 19:49:46 +00:00
radeon_cursor.c drm/radeon: Set cursor x/y to 0 when x/yorigin > 0. 2011-10-03 18:37:37 +01:00
radeon_device.c drm/radeon: rename struct radeon_cp to radeon_ring 2011-12-20 19:50:56 +00:00
radeon_display.c drm: Replace pitch with pitches[] in drm_framebuffer 2011-12-20 10:06:27 +00:00
radeon_drv.c Merge tag 'v3.2-rc6' of /home/airlied/devel/kernel/linux-2.6 into drm-core-next 2011-12-20 14:43:53 +00:00
radeon_drv.h
radeon_encoders.c drm/radeon/kms: fix return type for radeon_encoder_get_dp_bridge_encoder_id 2011-12-07 10:44:38 +00:00
radeon_family.h drm/radeon/kms: add family ids for llano APUs 2011-06-02 10:47:37 +10:00
radeon_fb.c drm: Replace pitch with pitches[] in drm_framebuffer 2011-12-20 10:06:27 +00:00
radeon_fence.c drm/radeon/kms: add support for per-ring fence interrupts 2011-12-20 19:52:03 +00:00
radeon_gart.c drm/radeon/kms: enable the ttm dma pool if swiotlb is on V4 2011-12-06 10:39:44 +00:00
radeon_gem.c drm/radeon: rename struct radeon_cp to radeon_ring 2011-12-20 19:50:56 +00:00
radeon_i2c.c Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux 2011-11-07 10:01:56 -08:00
radeon_ioc32.c
radeon_irq_kms.c drm/radeon/kms: add support for per-ring fence interrupts 2011-12-20 19:52:03 +00:00
radeon_irq.c drm/radeon: Move more code out of line 2011-10-18 09:53:05 +01:00
radeon_kms.c Revert "drm/radeon/kms: add a new gem_wait ioctl with read/write flags" 2011-10-27 18:15:10 +02:00
radeon_legacy_crtc.c Merge tag 'v3.2-rc6' of /home/airlied/devel/kernel/linux-2.6 into drm-core-next 2011-12-20 14:43:53 +00:00
radeon_legacy_encoders.c
radeon_legacy_tv.c drm/radeon: Move more code out of line 2011-10-18 09:53:05 +01:00
radeon_mem.c drivers: use kzalloc/kcalloc instead of 'kmalloc+memset', where possible 2011-07-25 20:57:13 -07:00
radeon_mode.h drm: add an fb creation ioctl that takes a pixel format v5 2011-11-15 19:53:23 +00:00
radeon_object.c drm/ttm: simplify memory accounting for ttm user v2 2011-12-06 10:40:11 +00:00
radeon_object.h drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
radeon_pm.c drm/radeon: rename struct radeon_cp to radeon_ring 2011-12-20 19:50:56 +00:00
radeon_reg.h Merge branch 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2011-07-26 09:21:09 -07:00
radeon_ring.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
radeon_sa.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
radeon_semaphore.c drm/radeon: rename struct radeon_cp to radeon_ring 2011-12-20 19:50:56 +00:00
radeon_state.c drm/radeon: Move more code out of line 2011-10-18 09:53:05 +01:00
radeon_test.c drm/radeon: improve radeon_test_syncing function 2011-12-20 19:51:37 +00:00
radeon_trace_points.c
radeon_trace.h
radeon_ttm.c drm/radeon: rename struct radeon_cp to radeon_ring 2011-12-20 19:50:56 +00:00
radeon.h drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
rs100d.h
rs400.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
rs400d.h
rs600.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
rs600d.h
rs690.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
rs690d.h
rv200d.h
rv250d.h
rv350d.h
rv515.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
rv515d.h
rv770.c drm/radeon: introduce a sub allocator and convert ib pool to it v4 2011-12-20 19:52:12 +00:00
rv770d.h