public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Matthew Auld <matthew.william.auld@gmail.com>
Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/utils: remove unused KBps/MBps/GBps macros
Date: Tue, 23 Aug 2022 17:03:14 +0300	[thread overview]
Message-ID: <87zgfvjbvh.fsf@intel.com> (raw)
In-Reply-To: <CAM0jSHMb48D58NhZ_S8T2k69Pi2DKaeYAQr7D0_06Uqg+xWUFg@mail.gmail.com>

On Tue, 23 Aug 2022, Matthew Auld <matthew.william.auld@gmail.com> wrote:
> On Mon, 15 Aug 2022 at 09:09, Jani Nikula <jani.nikula@intel.com> wrote:
>>
>> Remove unused macros. If needed again, such macros belong in
>> <linux/units.h>.
>>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> Reviewed-by: Matthew Auld <matthew.auld@intel.com>

Thanks, pushed to drm-intel-next.

BR,
Jani.

>
>> ---
>>  drivers/gpu/drm/i915/i915_utils.h | 4 ----
>>  1 file changed, 4 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_utils.h b/drivers/gpu/drm/i915/i915_utils.h
>> index c10d68cdc3ca..6c14d13364bf 100644
>> --- a/drivers/gpu/drm/i915/i915_utils.h
>> +++ b/drivers/gpu/drm/i915/i915_utils.h
>> @@ -360,10 +360,6 @@ wait_remaining_ms_from_jiffies(unsigned long timestamp_jiffies, int to_wait_ms)
>>  #define KHz(x) (1000 * (x))
>>  #define MHz(x) KHz(1000 * (x))
>>
>> -#define KBps(x) (1000 * (x))
>> -#define MBps(x) KBps(1000 * (x))
>> -#define GBps(x) ((u64)1000 * MBps((x)))
>> -
>>  void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint);
>>  static inline void __add_taint_for_CI(unsigned int taint)
>>  {
>> --
>> 2.34.1
>>

-- 
Jani Nikula, Intel Open Source Graphics Center

      reply	other threads:[~2022-08-24 20:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15  8:09 [Intel-gfx] [PATCH] drm/i915/utils: remove unused KBps/MBps/GBps macros Jani Nikula
2022-08-15  8:36 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for " Patchwork
2022-08-15  8:56 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-08-15 11:37 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-08-23 12:27 ` [Intel-gfx] [PATCH] " Matthew Auld
2022-08-23 14:03   ` Jani Nikula [this message]

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=87zgfvjbvh.fsf@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=matthew.william.auld@gmail.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