[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4] sm501: Fix and optimize overlap check
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH v4] sm501: Fix and optimize overlap check |
Date: |
Tue, 30 Jun 2020 22:52:38 +0200 |
On Wed, Jun 24, 2020 at 06:42:18PM +0200, BALATON Zoltan wrote:
> When doing reverse blit we need to check if source and dest overlap
> but it is not trivial due to possible different base and pitch of
> source and dest. Do rectangle overlap if base and pitch match,
> otherwise just check if memory area containing the rects overlaps so
> rects could possibly overlap.
>
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> ---
> This version fixes overlap check according to Peter's suggestion, only
> resending this patch as v4, others still valid from v3. Let me know if
> you want the whole series resent instead.
Queued up now, Last patch in a series is easy to replace.
thanks,
Gerd
- [PATCH v3 4/9] sm501: Introduce variable for commonly used value for better readability, (continued)
- [PATCH v3 4/9] sm501: Introduce variable for commonly used value for better readability, BALATON Zoltan, 2020/06/20
- [PATCH v3 6/9] sm501: Use stn_he_p/ldn_he_p instead of switch/case, BALATON Zoltan, 2020/06/20
- [PATCH v3 1/9] sm501: Fix bounds checks, BALATON Zoltan, 2020/06/20
- [PATCH v3 7/9] sm501: Do not allow guest to set invalid format, BALATON Zoltan, 2020/06/20
- [PATCH v3 3/9] sm501: Ignore no-op blits, BALATON Zoltan, 2020/06/20
- [PATCH v3 9/9] sm501: Fix and optimize overlap check, BALATON Zoltan, 2020/06/20
- [PATCH v3 2/9] sm501: Drop unneded variable, BALATON Zoltan, 2020/06/20
- [PATCH v3 8/9] sm501: Convert debug printfs to traces, BALATON Zoltan, 2020/06/20