Bug 6548

Summary: Radeon XVideo not working on 1080i
Product: xorg Reporter: rene van den Braken <rene>
Component: Driver/RadeonAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: alexdeucher
Version: 6.9.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Possible fix none

Description rene van den Braken 2006-04-10 15:46:59 UTC
When selecting a 1080i timing, and playing a video on XV
only a few lines at the top are show.

Problem is in:
radeon_video.c
line 2497: 
v_inc = (src_h << v_inc_shift) / drw_h

on 1080i v_inc_shift=21
if src_h = 1080
this will overflow to a negative integer, and give wrong results !
Comment 1 Michel Dänzer 2006-05-08 23:00:38 UTC
Created attachment 5570 [details] [review]
Possible fix

Does this patch fix it? It'll still break with 2048i, but oh well...
Comment 2 Michel Dänzer 2006-07-02 14:25:06 UTC
Patch pushed to the main xf86-video-ati git repository. Please reopen if it
doesn't work for you.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.