summaryrefslogtreecommitdiff
path: root/tests/intel-ci
diff options
context:
space:
mode:
authorBhanuprakash Modem <bhanuprakash.modem@intel.com>2022-05-31 17:28:05 +0530
committerBhanuprakash Modem <bhanuprakash.modem@intel.com>2022-06-01 16:08:10 +0530
commit96ea2615f21f04eee56087eee52ecd54fdae373f (patch)
tree7534011a5561549b1a336240254511b7044cc97c /tests/intel-ci
parent41a36942082da9b86197179270e904a08c8441b5 (diff)
tests/kms_color: Skip if current & requested BPC doesn't match
The "max bpc" property only ensures that the bpc will not go beyond the value set through this property. It does not guarantee that the same bpc will be used for the given mode. If clock/bandwidth constraints permit, the max bpc will be used to show the mode, otherwise the bpc will be reduced. So, if we really want a particular bpc set, we can try reducing the resolution, till we get the bpc that we set in max bpc property. This patch will skip the test, if there is no valid resolution to get the same bpc as set by max_bpc property. V2: * Refactor the logic V3: * Minor changes V4: * Set output to pipe (igt_output_set_pipe) Cc: Swati Sharma <swati2.sharma@intel.com> CC: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Diffstat (limited to 'tests/intel-ci')
0 files changed, 0 insertions, 0 deletions