diff options
author | Abhinav Kumar <abhinavk@codeaurora.org> | 2020-09-15 12:56:11 -0700 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2020-09-16 11:17:16 +0300 |
commit | 2e212b8397975926dc94293e1543b00e4bb359e6 (patch) | |
tree | 187138beba2b51b5f1a287d24324c3a063c0aa1c /lib/igt_kms.h | |
parent | e1b1f185c9e8b9d41f7dc8fb835de57454894581 (diff) |
lib/igt_kms: move some of the useful dump functions to igt_kms
Some of the functions inside the intel_dp_compliance are
generic and can be used by other modules as well. Move these
to the igt_kms lib.
changes in v2:
- add more documentation for the new APIs in the lib
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/igt_kms.h')
-rw-r--r-- | lib/igt_kms.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 45da6bf63..f41eadaf4 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -1,4 +1,5 @@ /* + * Copyright (c) 2020, The Linux Foundation. All rights reserved. * Copyright © 2013 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a @@ -874,6 +875,7 @@ int igt_connector_sysfs_open(int drm_fd, drmModeConnector *connector); uint32_t igt_reduce_format(uint32_t format); + /* * igt_require_pipe: * @display: pointer to igt_display_t @@ -887,4 +889,7 @@ uint32_t igt_reduce_format(uint32_t format); void igt_require_pipe(igt_display_t *display, enum pipe pipe); +void igt_dump_connectors_fd(int drmfd); +void igt_dump_crtcs_fd(int drmfd); + #endif /* __IGT_KMS_H__ */ |