Bug 15695 - [i915] do_draw_pix(): wrong dst_pitch passed to intelEmitCopyBlitLocked()
Summary: [i915] do_draw_pix(): wrong dst_pitch passed to intelEmitCopyBlitLocked()
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 11:59 UTC by Christopher Dissauer
Modified: 2008-06-17 22:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christopher Dissauer 2008-04-24 11:59:35 UTC
The function intelEmitCopyBlitLocked() (in file intel_batchbuffer.c) expects source and destination pitch in pixels, but the call from do_draw_pix() (in file intel_pixel.c) retrieves the screen's pitch via intel->intelScreen->front.pitch, which is specified in bytes.

The same problem is also evident in intelTryReadPixels().
Comment 1 haihao 2008-06-17 22:54:02 UTC
fixed in mesa_7_0_branch (3ed89025f3df9e72afe0a77c847aab13b2ee861b)


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.