[PATCH v3 7/8] drm/sun4i: Add support for plane alpha

Chen-Yu Tsai wens at csie.org
Thu Feb 22 14:37:02 UTC 2018


On Thu, Feb 22, 2018 at 10:34 PM, Maxime Ripard
<maxime.ripard at bootlin.com> wrote:
> On Thu, Feb 22, 2018 at 10:17:38PM +0800, Chen-Yu Tsai wrote:
>> On Sat, Feb 17, 2018 at 1:39 AM, Maxime Ripard
>> <maxime.ripard at bootlin.com> wrote:
>> > Our backend supports a per-plane alpha property. Support it through our new
>> > helper.
>> >
>> > Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>
>>
>> Reviewed-by: Chen-Yu Tsai <wens at csie.org>
>>
>> Though, not having a graphics background, does alpha = 255 mean fully
>> transparent and thus can be skipped? Or no alpha at all?
>
> It means that it's fully opaque, and therefore we are in the same
> situation than if we had no alpha channel at all.

Right. Then the code makes sense. Thanks for the explanation.


More information about the dri-devel mailing list