[PATCH] drm/format-helper: Fix dst computation in drm_fb_xrgb8888_to_rgb888_dstclip()

Hector Martin marcan at marcan.st
Wed Nov 17 15:31:49 UTC 2021


On 17/11/2021 23.56, Thomas Zimmermann wrote:
> Hi
> 
> Am 17.11.21 um 15:22 schrieb Hector Martin:
>> The dst pointer was being advanced by the clip width, not the full line
>> stride, resulting in corruption. The clip offset was also calculated
>> incorrectly.
>>
>> Cc: stable at vger.kernel.org
>> Signed-off-by: Hector Martin <marcan at marcan.st>
> 
> Thanks for your patch, but you're probably on the wrong branch. We
> rewrote this code recently and fixed the issue in drm-misc-next. [1][2]

Oops. I was on linux-next as of Nov 1. Looks like I missed it by a week!

Sounds like I'm going to have to rebase/rewrite the other series I just 
sent too...

-- 
Hector Martin (marcan at marcan.st)
Public Key: https://mrcn.st/pub


More information about the dri-devel mailing list