[PATCH v2 0/2] media: Add colors' order over test image

From: Kaaira Gupta
Date: Sun Jun 14 2020 - 16:03:12 EST


This patchset aims to add a method to display the correct order of
colors for a test image generated. It does so by adding a function
which returns a string of correct order of the colors for a test
pattern and a control using which displays the string over test image.

Changes since v1:
- Divided the patch into two patches.
- Returned NULL for patterns whose color order cannot be
defined. (Reported-by: kernel test robot <lkp@xxxxxxxxx>)
- Made separate switch cases for separate test patterns
(Reported-by: kernel test robot <lkp@xxxxxxxxx>)
- Renamed variables from camelcase to use '_'
- prefixed 'media' to the patches.

Kaaira Gupta (2):
media: tpg: Add function to return colors' order of test image
media: vimc: Add a control to show test pattern colors' order

drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 32 +++++++++++++++--
drivers/media/test-drivers/vimc/Kconfig | 2 ++
drivers/media/test-drivers/vimc/vimc-common.h | 1 +
drivers/media/test-drivers/vimc/vimc-sensor.c | 34 +++++++++++++++++++
include/media/tpg/v4l2-tpg.h | 1 +
5 files changed, 68 insertions(+), 2 deletions(-)

--
2.17.1