From: Jani Nikula <jani.nikula@intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH v2 1/2] drm/i915: use PIPE_CONF_CHECK_BOOL() for bool members
Date: Fri, 01 Dec 2023 10:49:42 +0200 [thread overview]
Message-ID: <87cyvq489l.fsf@intel.com> (raw)
In-Reply-To: <ZWePsA5BLZDsIGDT@intel.com>
On Wed, 29 Nov 2023, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> On Wed, Nov 29, 2023 at 07:33:16PM +0200, Jani Nikula wrote:
>> Don't treat bools as integers.
>>
>> v2: Rebase
>>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Thanks for the reviews, pushed to din.
BR,
Jani.
>
>> ---
>> drivers/gpu/drm/i915/display/intel_display.c | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
>> index 9dc22fc8b3d3..d62cdae7ab6b 100644
>> --- a/drivers/gpu/drm/i915/display/intel_display.c
>> +++ b/drivers/gpu/drm/i915/display/intel_display.c
>> @@ -5091,8 +5091,8 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
>> #define PIPE_CONF_QUIRK(quirk) \
>> ((current_config->quirks | pipe_config->quirks) & (quirk))
>>
>> - PIPE_CONF_CHECK_I(hw.enable);
>> - PIPE_CONF_CHECK_I(hw.active);
>> + PIPE_CONF_CHECK_BOOL(hw.enable);
>> + PIPE_CONF_CHECK_BOOL(hw.active);
>>
>> PIPE_CONF_CHECK_I(cpu_transcoder);
>> PIPE_CONF_CHECK_I(mst_master_transcoder);
>> @@ -5301,8 +5301,8 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
>> PIPE_CONF_CHECK_I(dsc.config.second_line_bpg_offset);
>> PIPE_CONF_CHECK_I(dsc.config.nsl_bpg_offset);
>>
>> - PIPE_CONF_CHECK_I(dsc.compression_enable);
>> - PIPE_CONF_CHECK_I(dsc.dsc_split);
>> + PIPE_CONF_CHECK_BOOL(dsc.compression_enable);
>> + PIPE_CONF_CHECK_BOOL(dsc.dsc_split);
>> PIPE_CONF_CHECK_I(dsc.compressed_bpp_x16);
>>
>> PIPE_CONF_CHECK_BOOL(splitter.enable);
>> --
>> 2.39.2
>>
--
Jani Nikula, Intel
next prev parent reply other threads:[~2023-12-01 8:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 17:33 [Intel-gfx] [PATCH v2 1/2] drm/i915: use PIPE_CONF_CHECK_BOOL() for bool members Jani Nikula
2023-11-29 17:33 ` [Intel-gfx] [PATCH v2 2/2] drm/i915: add bool type checks in PIPE_CONF_CHECK_* Jani Nikula
2023-11-29 19:25 ` Rodrigo Vivi
2023-11-29 19:23 ` [Intel-gfx] [PATCH v2 1/2] drm/i915: use PIPE_CONF_CHECK_BOOL() for bool members Rodrigo Vivi
2023-12-01 8:49 ` Jani Nikula [this message]
2023-11-30 5:01 ` [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v2,1/2] " Patchwork
2023-12-01 5:58 ` [Intel-gfx] ✓ Fi.CI.IGT: " 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=87cyvq489l.fsf@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=rodrigo.vivi@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox