[RFC v2 4/5] drm/hdmi21: Add support for DFM calculation with DSC

2022-02-14 Thread Vandita Kulkarni
From: Ankit Nautiyal Add helper functions for calculating FRL capacity and DFM requirements with given compressed bpp. Signed-off-by: Ankit Nautiyal Signed-off-by: Vandita Kulkarni --- drivers/gpu/drm/drm_frl_dfm_helper.c | 297 +++ include/drm/drm_frl_dfm_helper.h

[RFC v2 5/5] drm/hdmi21: Add frl_dfm_helper to Makefile

2022-02-14 Thread Vandita Kulkarni
Add the new frl_dfm_helper file to drm Makefile Signed-off-by: Vandita Kulkarni --- drivers/gpu/drm/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 8675c2af7ae1..81fe3df8bfda 100644 --- a/drivers/gpu/drm

[RFC v2 1/5] drm/hdmi21: Define frl_dfm structure

2022-02-14 Thread Vandita Kulkarni
Define frl_dfm structure to hold frl characteristics needed for frl capacity computation in order to meet the data flow metering requirement. Signed-off-by: Vandita Kulkarni --- include/drm/drm_frl_dfm_helper.h | 124 +++ 1 file changed, 124 insertions(+) create

[RFC v2 3/5] drm/hdmi21: Add helpers to verify non-dsc DFM requirements

2022-02-14 Thread Vandita Kulkarni
Add helpers to compute DFM variables and to verify if the DFM requirements are met or not in non dsc cases. Signed-off-by: Vandita Kulkarni --- drivers/gpu/drm/drm_frl_dfm_helper.c | 161 +++ include/drm/drm_frl_dfm_helper.h | 2 + 2 files changed, 163 insertions

[RFC v2 2/5] drm/hdmi21: Add non dsc frl capacity computation helpers

2022-02-14 Thread Vandita Kulkarni
Add helper functions for computing non dsc frl link characteristics Signed-off-by: Vandita Kulkarni --- drivers/gpu/drm/drm_frl_dfm_helper.c | 396 +++ 1 file changed, 396 insertions(+) create mode 100644 drivers/gpu/drm/drm_frl_dfm_helper.c diff --git a/drivers/gpu

[RFC v2 0/5] Add data flow metering support for HDMI2.1

2022-02-14 Thread Vandita Kulkarni
unsigned int, corrected patch 4 to address build issue, addressed checkpatch issues, moved the drm_frl_dfm_helper under kms_helpers section for compilation in the Makefile. Ankit Nautiyal (1): drm/hdmi21: Add support for DFM calculation with DSC Vandita Kulkarni (4): drm/hdmi21: Define frl_dfm

[RFC 3/5] drm/hdmi21: Add helpers to verify non-dsc DFM requirements

2022-02-03 Thread Vandita Kulkarni
Add helpers to compute DFM variables and to verify if the DFM requirements are met or not in non dsc cases. Signed-off-by: Vandita Kulkarni --- drivers/gpu/drm/drm_frl_dfm_helper.c | 161 +++ include/drm/drm_frl_dfm_helper.h | 2 + 2 files changed, 163 insertions

[RFC 4/5] drm/hdmi21: Add support for DFM calculation with DSC

2022-02-03 Thread Vandita Kulkarni
From: Ankit Nautiyal Add helper functions for calculating FRL capacity and DFM requirements with given compressed bpp. Signed-off-by: Ankit Nautiyal Signed-off-by: Vandita Kulkarni --- drivers/gpu/drm/drm_frl_dfm_helper.c | 298 +++ include/drm/drm_frl_dfm_helper.h

[RFC 5/5] drm/hdmi21: Add frl_dfm_helper to Makefile

2022-02-03 Thread Vandita Kulkarni
Add the new frl_dfm_helper file to drm Makefile Signed-off-by: Vandita Kulkarni --- drivers/gpu/drm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 8675c2af7ae1..4fa9b48995c8 100644 --- a/drivers/gpu/drm

[RFC 2/5] drm/hdmi21: Add non dsc frl capacity computation helpers

2022-02-03 Thread Vandita Kulkarni
Add helper functions for computing non dsc frl link characteristics Signed-off-by: Vandita Kulkarni --- drivers/gpu/drm/drm_frl_dfm_helper.c | 396 +++ 1 file changed, 396 insertions(+) create mode 100644 drivers/gpu/drm/drm_frl_dfm_helper.c diff --git a/drivers/gpu

[RFC 0/5] Add data flow metering support for HDMI2.1

2022-02-03 Thread Vandita Kulkarni
/hdmi21: Add support for DFM calculation with DSC Vandita Kulkarni (4): drm/hdmi21: Define frl_dfm structure drm/hdmi21: Add non dsc frl capacity computation helpers drm/hdmi21: Add helpers to verify non-dsc DFM requirements drm/hdmi21: Add frl_dfm_helper to Makefile drivers/gpu/drm

[RFC 1/5] drm/hdmi21: Define frl_dfm structure

2022-02-03 Thread Vandita Kulkarni
Define frl_dfm structure to hold frl characteristics needed for frl capacity computation in order to meet the data flow metering requirement. Signed-off-by: Vandita Kulkarni --- include/drm/drm_frl_dfm_helper.h | 126 +++ 1 file changed, 126 insertions(+) create

[PATCHv2 5/5] drm/i915/skl: Add support for blending modes

2016-04-29 Thread Vandita Kulkarni
Lespiau Signed-off-by: vandita kulkarni --- drivers/gpu/drm/i915/i915_reg.h | 4 +++ drivers/gpu/drm/i915/intel_display.c | 47 drivers/gpu/drm/i915/intel_drv.h | 3 +++ drivers/gpu/drm/i915/intel_sprite.c | 9 +-- 4 files changed, 61 insertions

[PATCHv2 4/5] drm: Add an blend_color property

2016-04-29 Thread Vandita Kulkarni
From: Damien Lespiau Add blend color property and update the documentation for the same V2: Add blend color support in get property. Signed-off-by: Damien Lespiau Signed-off-by: vandita kulkarni --- Documentation/DocBook/gpu.tmpl | 11 +-- drivers/gpu/drm/drm_atomic.c | 4

[PATCHv2 3/5] drm: Introduce DRM_MODE_COLOR()

2016-04-29 Thread Vandita Kulkarni
From: Damien Lespiau In the hope of expressing colors in the KMS API in a consitant want, let's introduce a ARGB 16161616 color and a few convinience macros around it. Signed-off-by: Damien Lespiau --- include/uapi/drm/drm_mode.h | 34 ++ 1 file changed, 34 inse

[PATCHv2 2/5] drm/i915/skl: Add blend_func to SKL/BXT sprite planes

2016-04-29 Thread Vandita Kulkarni
the previous value was not retained, change the logic to do so. Signed-off-by: Damien Lespiau Signed-off-by: vandita kulkarni --- drivers/gpu/drm/i915/intel_display.c | 121 +-- drivers/gpu/drm/i915/intel_drv.h | 14 +++- drivers/gpu/drm/i915/intel_sprite.c

[PATCHv2 1/5] drm: Introduce the blend-func property

2016-04-29 Thread Vandita Kulkarni
e rgb/alpha blend factors, blend color. V2: Added the belnd func property support in get property. Suggested-by: Ville Syrjälä Signed-off-by: Damien Lespiau Signed-off-by: Vandita Kulkarni --- Documentation/DocBook/gpu.tmpl | 11 +-- drivers/gpu/drm/drm_atomic.c

[PATCHv2 0/5] Support blending modes of display planes

2016-04-29 Thread Vandita Kulkarni
From: vandita kulkarni The below patches support plane and pixel blending by adding two properties blend_func and blend_color. As per Damien's initial patches, this design based on OpenGL's blend equations is suggested by Ville. All the below patches are tested on BXT android pla