summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tests/drm_dp_mst_helper_test.c
diff options
context:
space:
mode:
authorMaíra Canal <mairacanal@riseup.net>2022-09-11 16:17:56 -0300
committerMaíra Canal <mairacanal@riseup.net>2022-09-14 13:53:33 -0300
commit961bcdf956a4645745407a5d919be8757549b062 (patch)
tree319942f5c8b47f2626a79a5d59bf12cd539237d5 /drivers/gpu/drm/tests/drm_dp_mst_helper_test.c
parentb167259a12f2c49e82cbd077499df85117177a39 (diff)
downloadlinux-stable-961bcdf956a4645745407a5d919be8757549b062.tar.gz
linux-stable-961bcdf956a4645745407a5d919be8757549b062.tar.bz2
linux-stable-961bcdf956a4645745407a5d919be8757549b062.zip
drm/tests: Change "igt_" prefix to "drm_test_"
With the introduction of KUnit, IGT is no longer the only option to run the DRM unit tests, as the tests can be run through kunit-tool or on real hardware with CONFIG_KUNIT. Therefore, remove the "igt_" prefix from the tests and replace it with the "drm_test_" prefix, making the tests' names independent from the tool used. Signed-off-by: Maíra Canal <mairacanal@riseup.net> Acked-by: David Gow <davidgow@google.com> Acked-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20220911191756.203118-2-mairacanal@riseup.net
Diffstat (limited to 'drivers/gpu/drm/tests/drm_dp_mst_helper_test.c')
-rw-r--r--drivers/gpu/drm/tests/drm_dp_mst_helper_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/tests/drm_dp_mst_helper_test.c b/drivers/gpu/drm/tests/drm_dp_mst_helper_test.c
index 1d2fade56227..65c9d225b558 100644
--- a/drivers/gpu/drm/tests/drm_dp_mst_helper_test.c
+++ b/drivers/gpu/drm/tests/drm_dp_mst_helper_test.c
@@ -16,7 +16,7 @@
#include "../display/drm_dp_mst_topology_internal.h"
-static void igt_dp_mst_calc_pbn_mode(struct kunit *test)
+static void drm_test_dp_mst_calc_pbn_mode(struct kunit *test)
{
int pbn, i;
const struct {
@@ -177,7 +177,7 @@ out:
return result;
}
-static void igt_dp_mst_sideband_msg_req_decode(struct kunit *test)
+static void drm_test_dp_mst_sideband_msg_req_decode(struct kunit *test)
{
struct drm_dp_sideband_msg_req_body in = { 0 };
u8 data[] = { 0xff, 0x0, 0xdd };
@@ -271,8 +271,8 @@ static void igt_dp_mst_sideband_msg_req_decode(struct kunit *test)
}
static struct kunit_case drm_dp_mst_helper_tests[] = {
- KUNIT_CASE(igt_dp_mst_calc_pbn_mode),
- KUNIT_CASE(igt_dp_mst_sideband_msg_req_decode),
+ KUNIT_CASE(drm_test_dp_mst_calc_pbn_mode),
+ KUNIT_CASE(drm_test_dp_mst_sideband_msg_req_decode),
{ }
};