Bug 6548 - Radeon XVideo not working on 1080i
Summary: Radeon XVideo not working on 1080i
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 6.9.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-10 15:46 UTC by rene van den Braken
Modified: 2006-07-02 14:25 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Possible fix (669 bytes, patch)
2006-05-08 23:00 UTC, Michel Dänzer
no flags Details | Splinter Review

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.