From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Vivek Kasireddy <vivek.kasireddy@intel.com>
Cc: intel-gfx@lists.freedesktop.org,
Matt Roper <matthew.d.roper@intel.com>,
Dongwon Kim <dongwon.kim@intel.com>
Subject: Re: [RFC v1 0/3] drm/i915: Add support for XRandR Border property
Date: Wed, 21 Feb 2024 21:57:40 +0200 [thread overview]
Message-ID: <ZdZVtCZb1cJ33tQT@intel.com> (raw)
In-Reply-To: <20240221085246.808287-1-vivek.kasireddy@intel.com>
On Wed, Feb 21, 2024 at 12:47:53AM -0800, Vivek Kasireddy wrote:
> Some customers and users have expressed interest in adding borders
> (or margins) to certain displays in their multi-display configurations.
> To address this need, this patchset implements the XRandR Border
> property as defined here:
> https://cgit.freedesktop.org/xorg/proto/randrproto/tree/randrproto.txt#n2032
>
> ---
>
> Patchset overview:
>
> Patch 1: Create skl_program_crtc_scaler() to program scaler for crtc
> Patch 2: Create and attach the Border property to DP and HDMI
> Patch 3: Implement Border property by enabling crtc scalar
>
> This series is tested using following method:
> - Run the following xrandr command with different parameters:
> xrandr --output HDMI-3 --pos 1920x0 --mode 1280x1024 --fb 3840x2160 --scale 2.11x2.11 --set "Border" 150,0,150,0
>
> The following patch was also added to the modesetting driver to
> implement the Border property:
> https://gitlab.freedesktop.org/Vivek/xserver/-/commit/62abfc438f0d17fe7f88bf2826c9784c2b36443b
I have an old branch implementing the margin properties:
https://github.com/vsyrjala/linux.git hdmi_margins_3
but it got stalled due to the scaler code being in a very poor state.
I started sketching some reworks there, but that got put on the
backburner due to other stuff:
https://github.com/vsyrjala/linux.git scaler_rework_2
I might have somehting more recent than that locally, but I'd have
to trawl through my branches to check what's the latest state.
>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Cc: Matt Roper <matthew.d.roper@intel.com>
> Cc: Dongwon Kim <dongwon.kim@intel.com>
>
> Vivek Kasireddy (3):
> drm/i915: Rename skl_pfit_enable() to skl_program_crtc_scaler()
> drm/i915: Attach the Border property to DP and HDMI connectors
> drm/i915: Apply border adjustments and enable scaler on the crtc
>
> drivers/gpu/drm/i915/display/intel_atomic.c | 29 ++++++++++-
> .../gpu/drm/i915/display/intel_connector.c | 49 +++++++++++++++++++
> .../gpu/drm/i915/display/intel_connector.h | 3 ++
> drivers/gpu/drm/i915/display/intel_display.c | 25 ++++++++--
> .../gpu/drm/i915/display/intel_display_core.h | 1 +
> .../drm/i915/display/intel_display_types.h | 6 +++
> drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++
> drivers/gpu/drm/i915/display/intel_hdmi.c | 11 +++++
> drivers/gpu/drm/i915/display/skl_scaler.c | 27 ++++++----
> drivers/gpu/drm/i915/display/skl_scaler.h | 3 +-
> 10 files changed, 149 insertions(+), 16 deletions(-)
>
> --
> 2.43.0
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2024-02-21 19:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 8:47 [RFC v1 0/3] drm/i915: Add support for XRandR Border property Vivek Kasireddy
2024-02-21 8:47 ` [RFC v1 1/3] drm/i915: Rename skl_pfit_enable() to skl_program_crtc_scaler() Vivek Kasireddy
2024-02-21 8:47 ` [RFC v1 2/3] drm/i915: Attach the Border property to DP and HDMI connectors Vivek Kasireddy
2024-02-21 8:47 ` [RFC v1 3/3] drm/i915: Apply border adjustments and enable scaler on the crtc Vivek Kasireddy
2024-02-21 17:58 ` ✗ Fi.CI.BUILD: failure for drm/i915: Add support for XRandR Border property Patchwork
2024-02-21 19:57 ` Ville Syrjälä [this message]
2024-02-22 7:41 ` [RFC v1 0/3] " Kasireddy, Vivek
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=ZdZVtCZb1cJ33tQT@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=dongwon.kim@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
--cc=vivek.kasireddy@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