[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 4/8] sm501: Introduce variable for commonly used value for
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 4/8] sm501: Introduce variable for commonly used value for better readability |
Date: |
Thu, 18 Jun 2020 17:45:37 +0100 |
On Tue, 16 Jun 2020 at 01:35, BALATON Zoltan <balaton@eik.bme.hu> wrote:
>
> The bytes per pixel value can be calculated from format but it's used
> freqently enough (and will be used more in subseqent patches) so store
> it in a variable for better readabilty. Also drop some unneded 0x
> prefix around where new variable is defined.
>
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH v2 0/8] More sm501 fixes and optimisations, BALATON Zoltan, 2020/06/15
- [PATCH v2 2/8] sm501: Drop unneded variable, BALATON Zoltan, 2020/06/15
- [PATCH v2 4/8] sm501: Introduce variable for commonly used value for better readability, BALATON Zoltan, 2020/06/15
- Re: [PATCH v2 4/8] sm501: Introduce variable for commonly used value for better readability,
Peter Maydell <=
- [PATCH v2 5/8] sm501: Optimise 1 pixel 2d ops, BALATON Zoltan, 2020/06/15
- [PATCH v2 3/8] sm501: Ignore no-op blits, BALATON Zoltan, 2020/06/15
- [PATCH v2 8/8] sm501: Convert debug printfs to traces, BALATON Zoltan, 2020/06/15
- [PATCH v2 6/8] sm501: Use stn_he_p/ldn_he_p instead of switch/case, BALATON Zoltan, 2020/06/15
- [PATCH v2 7/8] sm501: Do not allow guest to set invalid format, BALATON Zoltan, 2020/06/15
- [PATCH v2 1/8] sm501: Fix bounds checks, BALATON Zoltan, 2020/06/15