All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Experimental freesync video mode optimization
@ 2020-12-10 18:48 Aurabindo Pillai
  2020-12-10 18:48 ` [PATCH v2 1/3] drm/amd/display: Add module parameter for freesync video mode Aurabindo Pillai
                   ` (3 more replies)
  0 siblings, 4 replies; 26+ messages in thread
From: Aurabindo Pillai @ 2020-12-10 18:48 UTC (permalink / raw)
  To: amd-gfx
  Cc: stylon.wang, shashank.sharma, thong.thai, aurabindo.pillai,
	wayne.lin, alexander.deucher, Harry.Wentland,
	nicholas.kazlauskas

Changes in V2
=============

1) Add freesync video modes based on preferred modes:

* Remove check for connector type before adding freesync compatible
  modes as VRR support is being checked, and there is no reason to block
  freesync video support on eDP.
* use drm_mode_equal() instead of creating same functionality.
* Additional null pointer deference check
* Removed unnecessary variables.
* Cosmetic fixes.

2) Skip modeset for front porch change

* Remove _FSV string being appended to freesync video modes so as to not
  define new policies or break existing application that might use the
  mode name to figure out mode resolution.
* Remove unnecessary variables
* Cosmetic fixes.

--

This patchset enables freesync video mode usecase where the userspace
can request a freesync compatible video mode such that switching to this
mode does not trigger blanking.

This feature is guarded by a module parameter which is disabled by
default. Enabling this paramters adds additional modes to the driver
modelist, and also enables the optimization to skip modeset when using
one of these modes.

--

Aurabindo Pillai (3):
  drm/amd/display: Add module parameter for freesync video mode
  drm/amd/display: Add freesync video modes based on preferred modes
  drm/amd/display: Skip modeset for front porch change

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |  12 +
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 330 +++++++++++++++++-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |   1 +
 4 files changed, 329 insertions(+), 15 deletions(-)

-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2021-01-04 21:03 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 18:48 [PATCH v2 0/3] Experimental freesync video mode optimization Aurabindo Pillai
2020-12-10 18:48 ` [PATCH v2 1/3] drm/amd/display: Add module parameter for freesync video mode Aurabindo Pillai
2020-12-11  5:10   ` Shashank Sharma
2020-12-10 18:48 ` [PATCH v2 2/3] drm/amd/display: Add freesync video modes based on preferred modes Aurabindo Pillai
2020-12-11  5:54   ` Shashank Sharma
2021-01-04 16:06     ` Kazlauskas, Nicholas
2021-01-04 21:02       ` Aurabindo Pillai
2020-12-10 18:48 ` [PATCH v2 3/3] drm/amd/display: Skip modeset for front porch change Aurabindo Pillai
2020-12-10 22:01 ` [PATCH v2 0/3] Experimental freesync video mode optimization Simon Ser
2020-12-10 22:01   ` Simon Ser
2020-12-11  4:26   ` Shashank Sharma
2020-12-11  4:26     ` Shashank Sharma
2020-12-11  9:55     ` Pekka Paalanen
2020-12-11  9:55       ` Pekka Paalanen
2020-12-11 10:28       ` Christian König
2020-12-11 10:28         ` Christian König
2020-12-11 12:20         ` Pekka Paalanen
2020-12-11 12:20           ` Pekka Paalanen
2020-12-14 20:57           ` Christian König
2020-12-14 20:57             ` Christian König
2020-12-11 13:27             ` Pekka Paalanen
2020-12-11 13:27               ` Pekka Paalanen
2020-12-11 13:58             ` Michel Dänzer
2020-12-11 13:58               ` Michel Dänzer
2020-12-11 14:01               ` Christian König
2020-12-11 14:01                 ` Christian König

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.