summaryrefslogtreecommitdiff
path: root/tests/i915/kms_dsc.c
AgeCommit message (Collapse)Author
2022-06-22tests/kms: Fix kms tests to use lib helpers to sort connector modesBhanuprakash Modem
Instead of writing our own wrappers for each subtest to sort connector modes, just use the helpers from IGT library. Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
2022-06-17tests/i915/kms_dsc: Validate dsc with diff plane formatsSwati Sharma
Already existing subtest is modified so that dsc can be validated using different plane modifiers. Few 8/10/16 bpc RGB and YUV formats are added. v2: -minor fixes v3: -renaming -addition of new planar format test v4: -removing XRGB8888 from format_list -test name managed with single var v5: -changed MIN_BPP to DSC_MIN_BPP Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
2022-05-26tests/i915/kms_dsc: IGT cleanupSwati Sharma
In this patch, removed redundant code. Also, before starting the subtest, cleaned up the states to default by igt_display_reset(). Few minor fixes in indentation. Also, added subtests description. v2: -minor mistake in subtest name -commit was missing after reset, added v3: -fixed styling error -replaced drm calls with igt wrappers v4: -added igt_display_require_output() in igt_fixture -modularized code, added func() for checks -added func() to get highest mode v5: -minor fixes v6: -made modifications based on lib changes v7: -added igt_fixture Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Patnana Venkata Sai <venkata.sai.patnana@intel.com> Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
2022-05-26tests/kms: Update tests with lib changesSwati Sharma
Made corresponding changes in tests wrt lib changes in [1/3]. Basically, we have replaced output->config.connector with output->name. Suggested-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
2022-03-15tests/i915/kms_dsc : Close fd after igt_display_fini execution.Mohammed Thasleem
Close fd after igt_display_fini to avoid bad fd failure. Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
2021-12-13lib/igt_aux: Rename igt_debug_manual_check and assert check if all is suppliedJeevan B
rename igt_debug_manual_check and patch the igt function igt_debug_wait_for_keypress() to assert if "all" is supplied. v2: calling igt_debug_wait_for_keypress() with "all" will assert. v3: Change igt_assert to igt_assert_f for adding clear log message. v4: Rebase only. Signed-off-by: Jeevan B <jeevan.b@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
2021-11-17tests/i915/kms_dsc: To test modeset on dsc with highest modePatnana Venkata Sai
Force dsc enable supports resolutions above 5K in DP. Bigjoiner does not support dsc force bpp, also due to this bigjoiner limitation we need to skip all subtests on pipe D. This patch will pick the mode with highest resolution rather the default mode. v2: Updated indentation. v3: Split the restructuring the subtests logic. v4: Updated igt_skip_on_f condition. Cc: Vandita Kulkarni <vandita.kulkarni@intel.com> Cc: Karthik B S <karthik.b.s@intel.com> Cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Cc: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Patnana Venkata Sai <venkata.sai.patnana@intel.com> Acked-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
2021-10-11igt: s/DRM_FORMAT_MOD_NONE/DRM_FORMAT_MOD_LINEAR/Ville Syrjälä
DRM_FORMAT_MOD_LINEAR is the more sensible name for DRM_FORMAT_MOD_NONE. Use the better name. Reviewed-by: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2021-09-16tests/kms: Move Intel specific kms tests to i915 directoryBhanuprakash Modem
As KMS tests on IGT are officially supported on multiple SoCs and there is an active development on it. So, KMS tests are meant to be generic and if we need to test few things specific to Intel, we can use igt_require_intel(). But if the whole test is Intel specific, then the best place for the test would be tests/i915. This patch will * Move all Intel specific kms tests to tests/i915 directory. * Update the tests those are generic but still open the driver as 'drm_open_driver_master(DRIVER_INTEL);'. V2: * Few more tests V3: * Remove cleanups (will submit separate patch later) * Move few more tests to i915 dir (Karthik) V4: * Move kms_big_joiner.c to i915 dir (Karthik) Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Mark Yacoub <markyacoub@chromium.org> Cc: Petri Latvala <petri.latvala@intel.com> Cc: Vidya Srinivas <vidya.srinivas@intel.com> Cc: Karthik B S <karthik.b.s@intel.com> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com> Reviewed-by: Mark Yacoub <markyacoub@chromium.org> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>