Skip to contentSkip to conversation

tests/modetest: add QCOM_COMPRESSED to supported modifiers list

PATCH In review Fritz Koenig 2 participants 2 messages Mar 1, 2019 – Apr 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/modetest: add QCOM_COMPRESSED to supported modifiers list

---
 tests/modetest/modetest.c | 2 ++
 1 file changed, 2 insertions(+)
tests/modetest/modetest.c +2 -0
index 975dcbcd..9c85c07b 100644
@@ -293,6 +293,8 @@ static const char *modifier_to_string(uint64_t modifier)
 		return "NVIDIA_16BX2_BLOCK(5)";
 	case DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED:
 		return "MOD_BROADCOM_VC4_T_TILED";
+	case DRM_FORMAT_MOD_QCOM_COMPRESSED:
+		return "QCOM_COMPRESSED";
 	default:
 		return "(UNKNOWN MODIFIER)";
 	}
Signature · 6 lines
2.21.0.352.gf09ad66450-goog

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Fritz Koenig
---
 tests/modetest/modetest.c | 2 ++
 1 file changed, 2 insertions(+)
tests/modetest/modetest.c +0 -0
index 975dcbcd..9c85c07b 100644

tests/modetest/modetest.c static const char *modifier_to_string(uint64_t modifier) · line 297

Quoted 5 lines
tests/modetest/modetest.c +2 -0
@@ -293,6 +293,8 @@ static const char *modifier_to_string(uint64_t modifier)
                return "NVIDIA_16BX2_BLOCK(5)";
        case DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED:
                return "MOD_BROADCOM_VC4_T_TILED";
+       case DRM_FORMAT_MOD_QCOM_COMPRESSED:
+               return "QCOM_COMPRESSED";

Thanks for the patch Fritz. Sadly the patch ended in my spam hence the delay. Reviewed and pushed to master.

-Emil
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel