Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: [Intel-gfx] [RFC V3 0/2] Attach and Set vrr_enabled property
Date: Tue, 31 May 2022 15:56:50 +0200	[thread overview]
Message-ID: <YpYeotF27wVJbAhJ@phenom.ffwll.local> (raw)
In-Reply-To: <20220517072636.3516381-1-bhanuprakash.modem@intel.com>

On Tue, May 17, 2022 at 12:56:34PM +0530, Bhanuprakash Modem wrote:
> This series will add a support to set the vrr_enabled property for
> crtc based on the platform support and the request from userspace.
> And userspace can also query to get the status of "vrr_enabled".
> 
> Test-with: 20220422075223.2792586-2-bhanuprakash.modem@intel.com
> 
> Bhanuprakash Modem (2):
>   drm/vrr: Attach vrr_enabled property to the drm crtc
>   drm/i915/vrr: Set drm crtc vrr_enabled property

I'm rather confused by this patch set:

- This seems to move the property from connector to crtc without any
  justification. For uapi that we want to have standardized (anything
  around kms really) that's no good, unless there's really a mandatory
  semantic reason pls stick to existing uapi.

- If the driver interface doesn't fit (maybe the helper should be on the
  crtc and adjust the property for all connector) pls roll that change out
  to all drivers.

- This is uapi, so needs igt tests and userspace. For igts we should make
  sure they're generic so that they apply across all drivers which already
  support this property, and not just create new intel-only testcases.

- Finally the property is set up, but not wired through. Or at least I'm
  not seeing how this can even work.

So no idea what exactly you're aiming for here and what kind of comments
you want, but this doesn't look like it's on the right path at all.

Cheers, Daniel


> 
>  drivers/gpu/drm/drm_crtc.c               | 26 ++++++++++++++++++++++++
>  drivers/gpu/drm/drm_mode_config.c        |  2 +-
>  drivers/gpu/drm/i915/display/intel_vrr.c |  8 ++++++++
>  include/drm/drm_crtc.h                   |  3 +++
>  4 files changed, 38 insertions(+), 1 deletion(-)
> 
> --
> 2.35.1
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

  parent reply	other threads:[~2022-05-31 13:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17  7:26 [Intel-gfx] [RFC V3 0/2] Attach and Set vrr_enabled property Bhanuprakash Modem
2022-05-17  7:26 ` [Intel-gfx] [RFC V3 1/2] drm/vrr: Attach vrr_enabled property to the drm crtc Bhanuprakash Modem
2022-05-31 17:12   ` Navare, Manasi
2022-06-01 10:31     ` Modem, Bhanuprakash
2022-05-17  7:26 ` [Intel-gfx] [RFC V3 2/2] drm/i915/vrr: Set drm crtc vrr_enabled property Bhanuprakash Modem
2022-05-31 17:14   ` Navare, Manasi
2022-06-01 10:31     ` Modem, Bhanuprakash
2022-05-17  8:17 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Attach and Set vrr_enabled property (rev3) Patchwork
2022-05-17  8:17 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-05-17  8:25 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2022-05-31  9:00 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Attach and Set vrr_enabled property (rev4) Patchwork
2022-05-31  9:00 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-05-31  9:22 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2022-05-31 13:56 ` Daniel Vetter [this message]
2022-06-01 10:31   ` [Intel-gfx] [RFC V3 0/2] Attach and Set vrr_enabled property Modem, Bhanuprakash

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=YpYeotF27wVJbAhJ@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=bhanuprakash.modem@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox