freedreno/regs/mdp_common: fix BPC comments

Fix comments for the BPC5 and BPC4A entries, so that they mention proper
bit width corresponding to this enum value.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26471>
This commit is contained in:
Dmitry Baryshkov 2023-12-02 14:20:55 +02:00 committed by Marge Bot
parent 80816f210d
commit 10cca7ac49

View file

@ -49,7 +49,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<enum name="mdp_bpc">
<brief>bits per component (non-alpha channel)</brief>
<value name="BPC4" value="0"/> <!-- 4 bits -->
<value name="BPC5" value="1"/> <!-- 2 bits -->
<value name="BPC5" value="1"/> <!-- 5 bits -->
<value name="BPC6" value="2"/> <!-- 6 bits -->
<value name="BPC8" value="3"/> <!-- 8 bits -->
</enum>
@ -57,7 +57,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<enum name="mdp_bpc_alpha">
<brief>bits per component (alpha channel)</brief>
<value name="BPC1A" value="0"/> <!-- 1 bit -->
<value name="BPC4A" value="1"/> <!-- 2 bits -->
<value name="BPC4A" value="1"/> <!-- 4 bits -->
<value name="BPC6A" value="2"/> <!-- 6 bits -->
<value name="BPC8A" value="3"/> <!-- 8 bits -->
</enum>