Signed-off-by: Bhanuprakash Modem
---
include/drm-uapi/drm.h | 10 ++
include/drm-uapi/drm_mode.h | 28
2 files changed, 38 insertions(+)
diff --git a/include/drm-uapi/drm.h b/include/drm-uapi/drm.h
index 5e54c3aa4c..9ca3dbe8e5 100644
--- a/include/drm
ion:
https://patchwork.freedesktop.org/series/90825/
Bhanuprakash Modem (11):
HAX: Get uapi headers to compile the IGT
lib/igt_kms: Add plane color mgmt properties
kms_color_helper: Add helper functions for plane color mgmt
tests/kms_color: New subtests for Plane gamma
tests/kms_color:
Add support for Plane color management properties.
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Uma Shankar
Signed-off-by: Bhanuprakash Modem
---
lib/igt_kms.c | 5 +
lib/igt_kms.h | 5 +
2 files changed, 10 insertions(+)
diff --git a/lib/igt_kms.c b/lib
To verify Plane gamma, draw 3 gradient rectangles in red, green and blue,
with a maxed out gamma LUT and verify we have the same CRC as drawing solid
color rectangles.
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Uma Shankar
Signed-off-by: Bhanuprakash Modem
---
tests
Add helper functions to support Plane color management properties.
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Uma Shankar
Signed-off-by: Bhanuprakash Modem
---
tests/kms_color_helper.c | 173 +++
tests/kms_color_helper.h | 29
To verify Plane degamma, draw 3 gradient rectangles in red, green and blue,
with a maxed out degamma LUT and verify we have the same CRC as drawing solid
color rectangles without degamma.
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Uma Shankar
Signed-off-by: Bhanuprakash
Negative check for:
* plane gamma lut sizes
* plane degamma lut sizes
* plane ctm matrix sizes
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Uma Shankar
Signed-off-by: Bhanuprakash Modem
---
tests/kms_color.c | 127 ++
1 file
To verify plane CTM, draw 3 rectangles using before colors with the
ctm matrix applied and verify the CRC is equal to using after colors
with an identify ctm matrix.
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Uma Shankar
Signed-off-by: Bhanuprakash Modem
---
tests
: Bhanuprakash Modem
---
tests/kms_color_chamelium.c | 188 +++-
1 file changed, 187 insertions(+), 1 deletion(-)
diff --git a/tests/kms_color_chamelium.c b/tests/kms_color_chamelium.c
index 76f82d6d35..b506109271 100644
--- a/tests/kms_color_chamelium.c
+++ b/tests
Signed-off-by: Bhanuprakash Modem
---
tests/kms_color_chamelium.c | 131
1 file changed, 131 insertions(+)
diff --git a/tests/kms_color_chamelium.c b/tests/kms_color_chamelium.c
index b506109271..3bcb3ac043 100644
--- a/tests/kms_color_chamelium.c
+++ b
: Bhanuprakash Modem
---
tests/kms_color_chamelium.c | 229
1 file changed, 229 insertions(+)
diff --git a/tests/kms_color_chamelium.c b/tests/kms_color_chamelium.c
index 3bcb3ac043..af820565d3 100644
--- a/tests/kms_color_chamelium.c
+++ b/tests/kms_color_chamelium.c
From: Mukunda Pramodh Kumar
Add helper functions to support logarithmic gamma mode
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Uma Shankar
Signed-off-by: Mukunda Pramodh Kumar
Signed-off-by: Bhanuprakash Modem
---
tests/kms_color_helper.c | 127
From: Mukunda Pramodh Kumar
Add support for Pipe color management properties.
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Uma Shankar
Signed-off-by: Mukunda Pramodh Kumar
Signed-off-by: Bhanuprakash Modem
---
lib/igt_kms.c | 1 +
lib/igt_kms.h | 1 +
2 files changed
From: Mukunda Pramodh Kumar
Extended IGT tests to support logarithmic gamma mode on pipe
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Uma Shankar
Signed-off-by: Mukunda Pramodh Kumar
Signed-off-by: Bhanuprakash Modem
---
tests/kms_color.c | 19 +++
1
Extended IGT tests to support logarithmic gamma mode on pipe
Cc: Harry Wentland
Cc: Ville Syrjälä
Cc: Juha-Pekka Heikkila
Cc: Kunal Joshi
Cc: Uma Shankar
Signed-off-by: Mukunda Pramodh Kumar
Signed-off-by: Bhanuprakash Modem
---
tests/kms_color_chamelium.c | 40
This series will add a support to attach & 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.mo...@intel.com
Bhanupr
ned-off-by: Bhanuprakash Modem
---
drivers/gpu/drm/drm_crtc.c | 44 ++
include/drm/drm_crtc.h | 4
2 files changed, 48 insertions(+)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 26a77a735905..95b4a0c7ecb3 100644
--- a/drive
This function attaches & sets the vrr_enabled property for crtc
based on the platform support and the request from userspace.
Cc: Ville Syrjälä
Cc: Manasi Navare
Signed-off-by: Bhanuprakash Modem
---
drivers/gpu/drm/i915/display/intel_crtc.c | 3 +++
drivers/gpu/drm/i915/display/intel_v
This series will add a support to attach & 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.mo...@intel.com
Bhanupr
Navare
Cc: Harry Wentland
Signed-off-by: Bhanuprakash Modem
---
drivers/gpu/drm/drm_crtc.c| 44 +++
drivers/gpu/drm/drm_mode_config.c | 2 +-
include/drm/drm_crtc.h| 4 +++
3 files changed, 49 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/
This function attaches & sets the vrr_enabled property for crtc
based on the platform support and the request from userspace.
V2: Check for platform support before updating the prop.
Cc: Ville Syrjälä
Cc: Manasi Navare
Signed-off-by: Bhanuprakash Modem
---
drivers/gpu/drm/i915/dis
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.mo...@intel.com
Bhanuprakash Modem
y
attached (Manasi)
Cc: Ville Syrjälä
Cc: Nicholas Kazlauskas
Cc: Manasi Navare
Cc: Harry Wentland
Signed-off-by: Bhanuprakash Modem
---
drivers/gpu/drm/drm_crtc.c| 26 ++
drivers/gpu/drm/drm_mode_config.c | 2 +-
include/drm/drm_crtc.h| 3 ++
ff-by: Bhanuprakash Modem
---
drivers/gpu/drm/i915/display/intel_vrr.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_vrr.c
b/drivers/gpu/drm/i915/display/intel_vrr.c
index 396f2f994fa0..7263b35550de 100644
--- a/drivers/gpu/drm/i915/display/intel_vrr.c
This series will expose the Connector's max supported bpc via connector
debugfs and Crtc's current bpc via crtc debugfs. Also move the existing
vendor specific "output_bpc" logic to drm.
Bhanuprakash Modem (3):
drm/debug: Expose connector's max supported bpc via debugfs
tland
Signed-off-by: Bhanuprakash Modem
Reviewed-by: Arun R Murthy
Reviewed-by: Harry Wentland
---
drivers/gpu/drm/drm_debugfs.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index 7f1b82dbaebb..fb04b7a984de
ug/dri/0/crtc-0/i915_current_bpc
Current: 8
Cc: Jani Nikula
Cc: Ville Syrjälä
Cc: Uma Shankar
Signed-off-by: Bhanuprakash Modem
Reviewed-by: Arun R Murthy
Acked-by: Jani Nikula
---
.../drm/i915/display/intel_display_debugfs.c | 28 +++
1 file changed, 28 insertions(+)
diff --git a/
tc_state.
Cc: Harry Wentland
Cc: Rodrigo Siqueira
Signed-off-by: Bhanuprakash Modem
Reported-by: kernel test robot
Reviewed-by: Arun R Murthy
Reviewed-by: Harry Wentland
Acked-by: Harry Wentland
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 --
.../amd/display/amdgpu_dm/amdg
It's useful to know the connector's max supported bpc for IGT
testing. Expose it via a debugfs file on the connector "output_bpc".
Example: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
Cc: Jani Nikula
Cc: Ville Syrjälä
Cc: Harry Wentland
Signed-off-by: Bhanuprakash Modem
tc_state.
Cc: Harry Wentland
Cc: Rodrigo Siqueira
Signed-off-by: Bhanuprakash Modem
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 --
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 38 +++
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 2 -
3 files changed, 13 inserti
This series will expose the Connector's max supported bpc via connector
debugfs and Crtc's current bpc via crtc debugfs. Also move the existing
vendor specific "output_bpc" logic to drm.
Test-with: 20220408065143.1485069-2-bhanuprakash.mo...@intel.com
Bhanuprakash Modem (3):
ug/dri/0/crtc-0/i915_current_bpc
Current: 8
Cc: Jani Nikula
Cc: Ville Syrjälä
Cc: Uma Shankar
Signed-off-by: Bhanuprakash Modem
---
.../drm/i915/display/intel_display_debugfs.c | 28 +++
1 file changed, 28 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
tland
Signed-off-by: Bhanuprakash Modem
---
drivers/gpu/drm/drm_debugfs.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index 7f1b82dbaebb..fb04b7a984de 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/g
This series will expose the Connector's max supported bpc via connector
debugfs and Crtc's current bpc via crtc debugfs. Also move the existing
vendor specific "output_bpc" logic to drm.
Test-with: 20220411094147.1650859-2-bhanuprakash.mo...@intel.com
Bhanuprakash Modem (3):
This series will expose the Connector's max supported bpc via connector
debugfs and Crtc's current bpc via crtc debugfs. Also move the existing
vendor specific "output_bpc" logic to drm.
Test-with: 20220411094147.1650859-2-bhanuprakash.mo...@intel.com
Bhanuprakash Modem (3):
This series will expose the Connector's max supported bpc via connector
debugfs and Crtc's current bpc via crtc debugfs. Also move the existing
vendor specific "output_bpc" logic to drm.
Test-with: 20220411094147.1650859-2-bhanuprakash.mo...@intel.com
Bhanuprakash Modem (3):
tland
Signed-off-by: Bhanuprakash Modem
---
drivers/gpu/drm/drm_debugfs.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index 7f1b82dbaebb..fb04b7a984de 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/g
ug/dri/0/crtc-0/i915_current_bpc
Current: 8
Cc: Jani Nikula
Cc: Ville Syrjälä
Cc: Uma Shankar
Signed-off-by: Bhanuprakash Modem
---
.../drm/i915/display/intel_display_debugfs.c | 28 +++
1 file changed, 28 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
tc_state.
Cc: Harry Wentland
Cc: Rodrigo Siqueira
Signed-off-by: Bhanuprakash Modem
Reported-by: kernel test robot
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 --
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 38 +++
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 2 -
From: Manasi Navare
From: Manasi Navare
DP sink device sets the Ignore MSA bit in its
DP_DOWNSTREAM_PORT_COUNT register to indicate its ability to
ignore the MSA video timing parameters and its ability to support
seamless video timing change over a range of timing exposed by
DisplayID and EDID.
From: Bhanuprakash Modem
[Why]
It's useful to know the min and max vrr range for IGT testing.
[How]
Expose the min and max vfreq for the connector via a debugfs file
on the connector, "vrr_range".
Example usage: cat /sys/kernel/debug/dri/0/DP-1/vrr_range
v4:
* Rebase (
From: Aditya Swarup
From: Aditya Swarup
This function sets the VRR property for connector based
on the platform support, EDID monitor range and DP sink
DPCD capability of outputing video without msa
timing information.
v4:
* Rebase (Mansi)
v3:
* intel_dp_is_vrr_capable can be used for debugfs,
rough debugfs
Aditya Swarup (1):
drm/i915/dp: Attach and set drm connector VRR property
Bhanuprakash Modem (1):
drm/debug: Expose connector VRR monitor range via debugfs
Manasi Navare (1):
drm/dp: DRM DP helper for reading Ignore MSA from DPCD
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
From: Aditya Swarup
This function sets the VRR property for connector based
on the platform support, EDID monitor range and DP sink
DPCD capability of outputing video without msa
timing information.
v5:
* Fix the vrr prop not being set in kernel (Manasi)
* Unset the prop on connector disconnect
fs
v6:
* Rebase (manasi)
v7:
* Fix cmpilation due to rebase
v8:
* Move debugfs node creation logic to DRM
* Remove AMD specific logic
Signed-off-by: Bhanuprakash Modem
Signed-off-by: Manasi Navare
Cc: Jani Nikula
Cc: Ville Syrjälä
Cc: Harry Wentland
---
.../amd/display/amdgpu_dm/amdgpu_dm
From: Manasi Navare
DP sink device sets the Ignore MSA bit in its
DP_DOWNSTREAM_PORT_COUNT register to indicate its ability to
ignore the MSA video timing parameters and its ability to support
seamless video timing change over a range of timing exposed by
DisplayID and EDID.
This is required for
fs
v6:
* Rebase (manasi)
v7:
* Fix cmpilation due to rebase
v8:
* Move debugfs node creation logic to DRM (Emil)
* Remove AMD specific logic (Emil)
Signed-off-by: Bhanuprakash Modem
Signed-off-by: Manasi Navare
Cc: Jani Nikula
Cc: Ville Syrjälä
Cc: Harry Wentland
---
.../amd/di
From: Aditya Swarup
This function sets the VRR property for connector based
on the platform support, EDID monitor range and DP sink
DPCD capability of outputing video without msa
timing information.
v5:
* Fix the vrr prop not being set in kernel (Manasi)
* Unset the prop on connector disconnect
From: Manasi Navare
DP sink device sets the Ignore MSA bit in its
DP_DOWNSTREAM_PORT_COUNT register to indicate its ability to
ignore the MSA video timing parameters and its ability to support
seamless video timing change over a range of timing exposed by
DisplayID and EDID.
This is required for
rough debugfs
Aditya Swarup (1):
drm/i915/dp: Attach and set drm connector VRR property
Bhanuprakash Modem (1):
drm/debug: Expose connector VRR monitor range via debugfs
Manasi Navare (1):
drm/dp: DRM DP helper for reading Ignore MSA from DPCD
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
From: Aditya Swarup
This function sets the VRR property for connector based
on the platform support, EDID monitor range and DP sink
DPCD capability of outputing video without msa
timing information.
v5:
* Fix the vrr prop not being set in kernel (Manasi)
* Unset the prop on connector disconnect
As both VRR min and max are already part of drm_display_info,
drm can expose this VRR range for each connector.
Hence this logic should move to core DRM.
This reverts commit 727962f030c23422a01e8b22d0f463815fb15ec4.
Signed-off-by: Bhanuprakash Modem
Cc: Nicholas Kazlauskas
Cc: Harry Wentland
fs
v6:
* Rebase (manasi)
v7:
* Fix cmpilation due to rebase
v8:
* Move debugfs node creation logic to DRM (Emil)
* Remove AMD specific logic (Emil)
v9:
* Seperate patch for removal of AMD specific logic (Manasi)
Signed-off-by: Bhanuprakash Modem
Signed-off-by: Manasi Navare
Cc: Jani Nikula
Cc: Vi
drm connector VRR property
Bhanuprakash Modem (2):
drm/debug: Expose connector VRR monitor range via debugfs
Revert "drm/amd/display: Expose connector VRR range via debugfs"
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 20 --
drivers/gpu/drm/drm_debugfs.c
54 matches
Mail list logo