All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karthik B S <karthik.b.s@intel.com>
To: Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [i-g-t V2 1/3] lib/igt_kms: Rename dp_dsc to dsc
Date: Tue, 20 Jul 2021 08:49:37 +0530	[thread overview]
Message-ID: <7f4e3153-0e6b-f6c3-c310-0ad40b53c905@intel.com> (raw)
In-Reply-To: <20210719131439.27284-2-bhanuprakash.modem@intel.com>

On 7/19/2021 6:44 PM, Bhanuprakash Modem wrote:
> As HDMI also supports DSC, rename *dp_dsc* to *dsc* since it is
> no longer DP specific.
>
> Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
> Cc: Patnana Venkata Sai <venkata.sai.patnana@intel.com>
> Cc: Karthik B S <karthik.b.s@intel.com>
> Cc: Navare Manasi D <manasi.d.navare@intel.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
> ---
>   lib/igt_kms.c | 24 ++++++++++++------------
>   lib/igt_kms.h | 12 ++++++------
>   2 files changed, 18 insertions(+), 18 deletions(-)
>
> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> index 2c44361a..cc38f5a2 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -5223,38 +5223,38 @@ int write_dsc_debugfs(int drmfd, drmModeConnector *connector,
>   }
>   
>   /*
> - * igt_is_dp_dsc_supported:
> + * igt_is_dsc_supported:
>    * @drmfd: A drm file descriptor
>    * @connector: Pointer to libdrm connector
>    *
>    * Returns: True if DSC is supported for the given connector, false otherwise.
>    */
> -bool igt_is_dp_dsc_supported(int drmfd, drmModeConnector *connector)
> +bool igt_is_dsc_supported(int drmfd, drmModeConnector *connector)
>   {
>   	return check_dsc_debugfs(drmfd, connector, "DSC_Sink_Support: yes");
>   }
>   
>   /*
> - * igt_is_dp_fec_supported:
> + * igt_is_fec_supported:
>    * @drmfd: A drm file descriptor
>    * @connector: Pointer to libdrm connector
>    *
>    * Returns: True if FEC is supported for the given connector, false otherwise.
>    */
> -bool igt_is_dp_fec_supported(int drmfd, drmModeConnector *connector)
> +bool igt_is_fec_supported(int drmfd, drmModeConnector *connector)
>   {
>   
>   	return check_dsc_debugfs(drmfd, connector, "FEC_Sink_Support: yes");
>   }
>   
>   /*
> - * igt_is_dp_dsc_enabled:
> + * igt_is_dsc_enabled:
>    * @drmfd: A drm file descriptor
>    * @connector: Pointer to libdrm connector
>    *
>    * Returns: True if DSC is enabled for the given connector, false otherwise.
>    */
> -bool igt_is_dp_dsc_enabled(int drmfd, drmModeConnector *connector)
> +bool igt_is_dsc_enabled(int drmfd, drmModeConnector *connector)
>   {
>   	return check_dsc_debugfs(drmfd, connector, "DSC_Enabled: yes");
>   }
> @@ -5273,26 +5273,26 @@ bool igt_is_force_dsc_enabled(int drmfd, drmModeConnector *connector)
>   }
>   
>   /*
> - * igt_force_dp_dsc_enable:
> + * igt_force_dsc_enable:
>    * @drmfd: A drm file descriptor
>    * @connector: Pointer to libdrm connector
>    *
>    * Returns: 1 on success or negative error code, in case of failure.
>    */
> -int igt_force_dp_dsc_enable(int drmfd, drmModeConnector *connector)
> +int igt_force_dsc_enable(int drmfd, drmModeConnector *connector)
>   {
>   	return write_dsc_debugfs(drmfd, connector, "i915_dsc_fec_support", "1");
>   }
>   
>   /*
> - * igt_force_dp_dsc_enable:
> + * igt_force_dsc_enable_bpp:
>    * @drmfd: A drm file descriptor
>    * @connector: Pointer to libdrm connector
>    * @bpp: Compressed bpp to be used with DSC
>    *
>    * Returns: No. of bytes written or negative error code, in case of failure.
>    */
> -int igt_force_dp_dsc_enable_bpp(int drmfd, drmModeConnector *connector, int bpp)
> +int igt_force_dsc_enable_bpp(int drmfd, drmModeConnector *connector, int bpp)
>   {
>   	char buf[20] = {0};
>   
> @@ -5302,13 +5302,13 @@ int igt_force_dp_dsc_enable_bpp(int drmfd, drmModeConnector *connector, int bpp)
>   }
>   
>   /*
> - * igt_get_dp_dsc_debugfs_fd:
> + * igt_get_dsc_debugfs_fd:
>    * @drmfd: A drm file descriptor
>    * @connector: Pointer to libdrm connector
>    *
>    * Returns: fd of the DSC debugfs for the given connector, else returns -1.
>    */
> -int igt_get_dp_dsc_debugfs_fd(int drmfd, drmModeConnector *connector)
> +int igt_get_dsc_debugfs_fd(int drmfd, drmModeConnector *connector)
>   {
>   	char file_name[128] = {0};
>   
> diff --git a/lib/igt_kms.h b/lib/igt_kms.h
> index e87d1913..2b054dfc 100644
> --- a/lib/igt_kms.h
> +++ b/lib/igt_kms.h
> @@ -917,13 +917,13 @@ void igt_dump_connectors_fd(int drmfd);
>   void igt_dump_crtcs_fd(int drmfd);
>   bool igt_override_all_active_output_modes_to_fit_bw(igt_display_t *display);
>   
> -bool igt_is_dp_dsc_supported(int drmfd, drmModeConnector *connector);
> -bool igt_is_dp_fec_supported(int drmfd, drmModeConnector *connector);
> -bool igt_is_dp_dsc_enabled(int drmfd, drmModeConnector *connector);
> +bool igt_is_dsc_supported(int drmfd, drmModeConnector *connector);
> +bool igt_is_fec_supported(int drmfd, drmModeConnector *connector);
> +bool igt_is_dsc_enabled(int drmfd, drmModeConnector *connector);
>   bool igt_is_force_dsc_enabled(int drmfd, drmModeConnector *connector);
> -int igt_force_dp_dsc_enable(int drmfd, drmModeConnector *connector);
> -int igt_force_dp_dsc_enable_bpp(int drmfd, drmModeConnector *connector,
> +int igt_force_dsc_enable(int drmfd, drmModeConnector *connector);
> +int igt_force_dsc_enable_bpp(int drmfd, drmModeConnector *connector,
>   				int bpp);
> -int igt_get_dp_dsc_debugfs_fd(int drmfd, drmModeConnector *connector);
> +int igt_get_dsc_debugfs_fd(int drmfd, drmModeConnector *connector);
>   
>   #endif /* __IGT_KMS_H__ */


_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2021-07-20  3:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-19 13:14 [igt-dev] [i-g-t V2 0/3] Extend DSC support to HDMI Bhanuprakash Modem
2021-07-19 13:14 ` [igt-dev] [i-g-t V2 1/3] lib/igt_kms: Rename dp_dsc to dsc Bhanuprakash Modem
2021-07-20  3:19   ` Karthik B S [this message]
2021-07-19 13:14 ` [igt-dev] [i-g-t V2 2/3] tests/kms_dsc: Extend support to HDMI Bhanuprakash Modem
2021-07-20  3:21   ` Karthik B S
2021-07-19 13:14 ` [igt-dev] [i-g-t V2 3/3] tests/kms_invalid_dotclock: Update to use renamed DSC api Bhanuprakash Modem
2021-07-20  3:22   ` Karthik B S
2021-07-19 15:28 ` [igt-dev] ✓ Fi.CI.BAT: success for Extend DSC support to HDMI (rev2) Patchwork
2021-07-19 21:42 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-07-20  4:46   ` Modem, Bhanuprakash
2021-07-20  4:46   ` Modem, Bhanuprakash
2021-07-20  5:34     ` Vudum, Lakshminarayana
2021-07-20  7:33       ` Sarvela, Tomi P
2021-07-20 16:27     ` Vudum, Lakshminarayana
2021-07-20 16:22 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f4e3153-0e6b-f6c3-c310-0ad40b53c905@intel.com \
    --to=karthik.b.s@intel.com \
    --cc=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.