Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/i915/kms_dsc_helper: %s/platform/source
@ 2023-08-10 10:11 Swati Sharma
  2023-08-10 10:59 ` Karthik B S
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Swati Sharma @ 2023-08-10 10:11 UTC (permalink / raw)
  To: igt-dev

Rename function from platform to source.

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
 tests/i915/kms_dsc_helper.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/i915/kms_dsc_helper.c b/tests/i915/kms_dsc_helper.c
index df999c9bd..44edd5ca9 100644
--- a/tests/i915/kms_dsc_helper.c
+++ b/tests/i915/kms_dsc_helper.c
@@ -120,7 +120,7 @@ void force_dsc_output_format(int drmfd, igt_output_t *output,
 }
 
 /* YCbCr420 DSC is supported on display version 14+ with DSC1.2a */
-static bool is_dsc_output_format_supported_by_platform(int disp_ver, enum dsc_output_format output_format)
+static bool is_dsc_output_format_supported_by_source(int disp_ver, enum dsc_output_format output_format)
 {
 	if (disp_ver < 14 && output_format == DSC_FORMAT_YCBCR420) {
 		igt_debug("Output format DSC YCBCR420 not supported on D13 and older platforms\n");
@@ -133,7 +133,7 @@ static bool is_dsc_output_format_supported_by_platform(int disp_ver, enum dsc_ou
 bool is_dsc_output_format_supported(int drmfd, int disp_ver, igt_output_t *output,
 				    enum dsc_output_format output_format)
 {
-	if (!is_dsc_output_format_supported_by_platform(disp_ver, output_format))
+	if (!is_dsc_output_format_supported_by_source(disp_ver, output_format))
 		return false;
 
 	if (!igt_is_dsc_output_format_supported_by_sink(drmfd, output->name, output_format)) {
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-11 16:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-10 10:11 [igt-dev] [PATCH i-g-t] tests/i915/kms_dsc_helper: %s/platform/source Swati Sharma
2023-08-10 10:59 ` Karthik B S
2023-08-10 11:23 ` [igt-dev] ○ CI.xeBAT: info for " Patchwork
2023-08-10 11:24 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-08-11 16:18 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox