Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_ddi.c| 19 +++---
drivers/gpu/drm/i915/intel_drv.h| 13 +-
drivers/gpu/drm/i915/intel_hdmi.c | 13 +++---
drivers/gpu/drm/i915/intel_lspcon.c | 49 +
4 files c
rebase
V6: rebase
Cc: Imre Deak
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_lspcon.c | 119 +++-
1 file changed, 118 insertions(+), 1 deletion(-)
diff --git a/drivers/gp
checkpatch warnings for alignment
Cc: Imre Deak
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_lspcon.c | 117 +++-
1 file changed, 116 insertions(+), 1 deletion(-)
diff --git a
S_MSA_CLRSP_YCBCR (2<<3)
Cc: Ville Syrjala
Cc: Maarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/i915_reg.h | 2 ++
drivers/gpu/drm/i915/intel_ddi.c | 7 +++
drivers/gpu/drm/i915/intel_display.c | 12 ++
y: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_ddi.c| 19 +++---
drivers/gpu/drm/i915/intel_drv.h| 13 +-
drivers/gpu/drm/i915/intel_hdmi.c | 13 +++---
drivers/gpu/drm/i915/intel_lspcon.c | 49
->get_config().
- V7 fixes alignment warnings from checkpatch.
Sharma, Shashank (2):
drm/i915: Check LSPCON vendor OUI
drm/i915: Write AVI infoframes for MCA LSPCON
Shashank Sharma (6):
drm/i915: Introduce CRTC output format
drm/i915: Add CRTC output format YCBCR 4:2:0
drm/i915: Add C
gs
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_color.c | 3 ++-
drivers/gpu/drm/i915/intel_display.c | 13 +
drivers/gpu/drm/i915/intel_drv.h | 1 +
drivers/gpu/drm/i915/intel_hdmi.c| 2 ++
4 files changed, 14 inse
V5: Rebase
V6: Rebase
V7: Rebase
Cc: Imre Deak
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Reviewed-by: Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_drv.h| 6
drivers/gpu/drm/i915/intel_lspcon.c | 69 +
2 files changed, 61 inse
aarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_color.c | 2 +-
drivers/gpu/drm/i915/intel_ddi.c | 2 +-
drivers/gpu/drm/i915/intel_display.c | 72 +---
drivers/gpu/drm/i915/intel_drv.h | 4
checkpatch)
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_crt.c | 3 +++
drivers/gpu/drm/i915/intel_display.c | 17 +
drivers/gpu/drm/i915/intel_dp.c | 1 +
drivers/gpu/drm/i915/intel_dp_mst.c | 1 +
drivers/gpu/drm/i915/intel_drv.h | 8
d
rames into
MCA LSPCON devices.
V2: Rebase
V3: Added r-b from Maarten
V4: Rebase
V5: Rebase
V6: Rebase
V7: Fixed checkpatch warnings for alignment
Cc: Imre Deak
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/i
checkpatch)
V8: Another check[atch warning for alignment
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_crt.c | 3 +++
drivers/gpu/drm/i915/intel_display.c | 17 +
drivers/gpu/drm/i915/intel_dp.c | 1 +
drivers/gpu/drm/i915/intel_dp_mst.c | 1 +
drivers/gp
checkpatch warnings for alignment
V8: Fixed another checkpatch warning for alignment
Cc: Imre Deak
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_lspcon.c | 117 +++-
1 file changed
->get_config().
- V7 fixes alignment warnings from checkpatch.
- V8 fixes more alignment warnings from checkpatch.
- V9 is just with rebase
Sharma, Shashank (2):
drm/i915: Check LSPCON vendor OUI
drm/i915: Write AVI infoframes for MCA LSPCON
Shashank Sharma (6):
drm/i915: Introduce C
checkpatch)
V8: Another check[atch warning for alignment
V9: Rebase
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_crt.c | 3 +++
drivers/gpu/drm/i915/intel_display.c | 17 +
drivers/gpu/drm/i915/intel_dp.c | 1 +
drivers/gpu/drm/i915/intel_dp_mst.c | 1
ala
Cc: Maarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_color.c | 2 +-
drivers/gpu/drm/i915/intel_ddi.c | 2 +-
drivers/gpu/drm/i915/intel_display.c | 72 +---
drivers/gpu/drm/i915/inte
ngs
V8: Rebase
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_color.c | 3 ++-
drivers/gpu/drm/i915/intel_display.c | 13 +
drivers/gpu/drm/i915/intel_drv.h | 1 +
drivers/gpu/drm/i915/intel_hdmi.c| 2 ++
4 files chang
V5: Rebase
V6: Rebase
V7: Rebase
Cc: Imre Deak
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Reviewed-by: Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_drv.h| 6
drivers/gpu/drm/i915/intel_lspcon.c | 69 +
2 files changed, 61 inse
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_ddi.c| 19 +++---
drivers/gpu/drm/i915/intel_drv.h| 13 +-
drivers/gpu/drm/i915/intel_hdmi.c | 13 +++---
drivers/gpu/drm/i915/intel_lsp
rames into
MCA LSPCON devices.
V2: Rebase
V3: Added r-b from Maarten
V4: Rebase
V5: Rebase
V6: Rebase
V7: Fixed checkpatch warnings for alignment
V8: Rebase
Cc: Imre Deak
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gp
e TRANS_MSA_CLRSP_YCBCR (2<<3)
Cc: Ville Syrjala
Cc: Maarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/i915_reg.h | 2 ++
drivers/gpu/drm/i915/intel_ddi.c | 7 +++
drivers/gpu/drm/i915/intel_display.c |
checkpatch warnings for alignment
V8: Rebase
Cc: Imre Deak
Cc: Ville Syrjälä
Cc: Maarten Lankhorst
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_lspcon.c | 117 +++-
1 file changed, 116 insertions(+), 1 deletion(-)
diff
Reviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_ddi.c| 19 +++---
drivers/gpu/drm/i915/intel_drv.h| 13 +-
drivers/gpu/drm/i915/intel_hdmi.c | 13 +++---
drivers/gpu/drm/i915/intel_lsp
eviewed-by: Maarten Lankhorst
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_drv.h| 4 ++
drivers/gpu/drm/i915/intel_hdmi.c | 2 +
drivers/gpu/drm/i915/intel_lspcon.c | 89 +
3 files changed, 95 insertions(+)
diff --git a/drivers/gp
-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_ddi.c | 36 ++--
drivers/gpu/drm/i915/intel_drv.h | 4
drivers/gpu/drm/i915/intel_hdmi.c | 17 +
3 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915
alize
and configure an on-board lspcon device during the driver
init time.
Also, this patch adds a small structure for lspcon device,
which will provide the runtime status of the device.
Signed-off-by: Shashank Sharma
Signed-off-by: Akashdeep Sharma
---
drivers/gpu/drm/i915/Makefile
specific requirements of lspcon detection
by adding appropriate changes in I915 drivers HDMI/DP detection sequence.
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_ddi.c| 14 ++
drivers/gpu/drm/i915/intel_dp.c | 12
drivers/gpu/drm/i915/intel_drv.h| 2
er.
Paulo:
1. Do not create a separate connector for lspcon, re-use the existing ddi
layer, with special detection sequence (Mutually agreed by Daniel)
Shashank Sharma (5):
drm: Helper for LSPCON in drm_dp_dual_mode
drm/i915: Add lspcon support for I915 driver
drm/i915: lspcon detection
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/drm_dp_dual_mode_helper.c | 85 +++
include/drm/drm_dp_dual_mode_helper.h | 29 +++
2 files changed, 114 insertions(+)
diff --git a/drivers/gpu/drm/drm_dp_dual_mode_helper.c
b/drivers/gpu/drm
port is configured to have a
lspcon device or not.
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/i915_drv.h | 3 +++
drivers/gpu/drm/i915/intel_bios.c | 44 +++
2 files changed, 47 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b
is, we driving lspcon in PCON mode only,
where it can serve both HDMI1.3/HDMI1.4 sinks as well as 4k@60 capable
HDMI 2.0 sinks. So compared to previous series, there is one patch less,
as we have dropped lspcon detection patch.
Shashank Sharma (4):
drm: Helper for lspcon in drm_dp_dual_mode
port is configured to have a
lspcon device or not.
V2: Fixed review comments from Ville
- Do not forget PORT_D while checking lspcon for GEN9
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/i915_drv.h | 3 +++
drivers/gpu/drm/i915/intel_bios.c | 49
s for LSPCON display now.
This part will be added once the dig_port level AVI-IF series
gets merged.
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_ddi.c | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_
.
V2: addressed ville's review comments
- Clean the leftover macros from previous patch set
Signed-off-by: Shashank Sharma
Signed-off-by: Akashdeep Sharma
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_drv.h| 13 +++-
drivers/gpu/drm/i915/intel_lspcon.c
definition
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/drm_dp_dual_mode_helper.c | 103 ++
include/drm/drm_dp_dual_mode_helper.h | 25
2 files changed, 128 insertions(+)
diff --git a/drivers/gpu/drm/drm_dp_dual_mode_helper.c
b/drivers/gpu/drm/drm_d
correction properties.
2. Creating these DRM properties in DRM standard properties creation
sequence.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/drm_crtc.c | 19 +++
include/drm/drm_crtc.h | 8
2 files changed, 27 insertions
This patch adds new variables in CRTC state, to hold respective color
correction blobs. These blobs will be required during the atomic commit
for writing the color correction values in correction registers.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm
,2,4,8: Fixed make htmldoc warnings, for missing description of new
variables
added in drm_crtc_state and mode_config.
-Rebase:
===
Changed few variables from u32->i915_reg_t to align with changes
in I915_READ and I915_WRITE.
Shashank Sharma (25):
drm: Create Color Ma
.
- cm_coeff_after_ctm_property: A platform driver should use this property
to show supported no_of_coefficients for palette correction, which gets
applied after ctm correction.
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/drm_crtc.c | 13 +
include/drm/drm_crtc.h
Add a color correction state flag, to indicate a change in
color correction states. This flag will help a core driver to
optimize its commit calls, by appling the color correction only
when there is a change, not every commit.
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/drm_atomic.c | 6
the property
and passing its blob_id.
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/drm_atomic.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
index 6c5baba..203a4a4 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b
TC
getting initiaized.
3. Adds two new parameters "num_samples_after_ctm" and
"num_samples_before_ctm" in intel_device_info as gamma and
degamma coefficients vary per platform basis.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
the blob can referred and applied on display controller
registers.
This patch adds this set_property support for color correction blobs
in drm framework.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal malladi
---
drivers/gpu/drm/drm_atomic.c | 53
coefficitents for best gamma color correction
modes possible in CHV, in device info structure, which is:
Gamma(10 bit, CGM HW unit): 257 coeff
These values will be loaded in cm_crtc_palette_capabilities_property
during the CRTC init section, by color manager's attach function.
Signed-off-by: Sha
This patch adds set property interface for intel CRTC. This
interface will be used for set operation on any DRM properties.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/i915/intel_display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm
macros
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/i915/i915_reg.h| 12
drivers/gpu/drm/i915/intel_color_manager.c | 97 ++
drivers/gpu/drm/i915/intel_color_manager.h | 13
3 files changed, 122 insertions
This patch adds new structures in DRM layer for Palette color
correction.These structures will be used by user space agents
to configure appropriate number of samples and Palette LUT for
a platform.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
include/uapi/drm/drm.h | 20
This patch create new files intel_color_manager.c which
will contain the core color correction code for I915 driver
and its header intel_color_manager.h
The per color property patches coming up in this patch series
will fill the appropriate functions in this file.
Signed-off-by: Shashank Sharma
color correction.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
include/uapi/drm/drm.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h
index 3dce251..d4de772 100644
--- a/include/uapi/drm/drm.h
+++ b/include/uapi
The color correction blob values are loaded during set_property
calls. This patch adds a function to find the blob and apply the
correction values to the display registers, during the atomic
commit call.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/i915
ff-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/i915/i915_drv.c| 1 +
drivers/gpu/drm/i915/intel_color_manager.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 0060027..09fdba4 100644
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/i915/i915_reg.h| 25 ++-
drivers/gpu/drm/i915/intel_color_manager.c | 280 +
drivers/gpu/drm/i915/intel_color_manager.h | 6 +
3 files changed, 309 insertions(+), 2
-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
Signed-off-by: Kumar, Kiran S
---
drivers/gpu/drm/i915/i915_reg.h| 8 +++
drivers/gpu/drm/i915/intel_color_manager.c | 99 ++
drivers/gpu/drm/i915/intel_color_manager.h | 19 ++
3 files changed, 126
. Add DeGamma correction macros/defines
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/i915/i915_reg.h| 6 ++
drivers/gpu/drm/i915/intel_color_manager.c | 95 ++
drivers/gpu/drm/i915/intel_color_manager.h | 5 ++
3 files
: Shashank Sharma
Signed-off-by: Kausal Malladi
Signed-off-by: Kumar, Kiran S
---
drivers/gpu/drm/i915/i915_reg.h| 7 ++
drivers/gpu/drm/i915/intel_color_manager.c | 114 +
drivers/gpu/drm/i915/intel_color_manager.h | 8 ++
3 files changed, 129
in device
info structures, for all of those.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/i915/i915_drv.c| 7 +++
drivers/gpu/drm/i915/intel_color_manager.h | 3 +++
2 files changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.c
I915 color manager registers pipe degamma correction as palette
correction before CTM, DRM property.
This patch adds the no of coefficients(512) for degamma correction
as "num_samples_before_ctm" parameter in device info structures,
for BDW and higher platforms.
Signed-off-by: Shash
2. Adds DeGamma correction macros/defines
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/i915/intel_color_manager.c | 59 ++
1 file changed, 59 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_color_manager.c
b/drivers/gpu/drm
set_property call. Apply color correction
from the commit layer, only when this flag is set, else pass.
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_color_manager.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_color_manager.c
b/drivers/gpu
In plane enabling sequence, plane gamma bit is by default enabled.
Plane gamma gets higher priority than pipe gamma, if both enabled.
This patch disables plane gamma from sequence. If required, plane
gamma can be enabled via the color manager drm interface.
Signed-off-by: Shashank Sharma
Signed
Function intel_attach_color_properties_to_crtc attaches a
color property to its CRTC object. This patch calls this
function from crtc initialization sequence.
Signed-off-by: Shashank Sharma
Signed-off-by: Kausal Malladi
---
drivers/gpu/drm/i915/intel_display.c | 1 +
1 file changed, 1
This patch adds drm flag bits for aspect ratio information
Currently drm flag bits don't have field for mode's picture
aspect ratio. This field will help the driver to pick mode with
right aspect ratio, and help in setting right VIC field in avi
infoframes.
Signed-off-by: Shash
HDMI 2.0/CEA-861-F introduces two new aspect ratios:
- 64:27
- 256:135
This patch adds DRM flags for the new aspect ratios
in the existing aspect ratio flags.
Signed-off-by: Shashank Sharma
---
include/uapi/drm/drm_mode.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/uapi
HDMI 2.0/CEA-861-F introduces two new aspect ratios:
- 64:27
- 256:135
This patch adds enumeration for the new aspect ratios
in the existing aspect ratio list.
Signed-off-by: Shashank Sharma
---
drivers/video/hdmi.c | 4
include/linux/hdmi.h | 2 ++
2 files changed, 6 insertions(+)
diff
in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Signed-off-by: Shashank Sharma
Signed-off-by: Lin, Jia
Signed-off-by: Akashdeep Sharma
---
drivers/gpu/drm/drm_modes.c | 34 ++
HDMI 2.0/CEA-861-F introduces two new aspect ratios:
- 64:27
- 256:135
This patch adds support for these aspect ratios in
I915 driver, at various places.
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/drm_modes.c | 12
drivers/gpu/drm/i915/intel_hdmi.c | 6
ion of a umode->kmode
and viceversa.
- Adds aspect ratio check while finding a mode, during modeset.
Patch 3-5
- Adds some new aspect ratio defined in CEA-861-F specs to
support HDMI 2.0 displays, in DRM and I915 layer.
Shashank Sharma (5):
drm: add picture aspect ratio flags
drm: Add a
This patch adds drm flag bits for aspect ratio information
Currently drm flag bits don't have field for mode's picture
aspect ratio. This field will help the driver to pick mode with
right aspect ratio, and help in setting right VIC field in avi
infoframes.
Signed-off-by: Shash
a umode->kmode
and viceversa.
- Adds aspect ratio check while finding a mode, during modeset.
Patch 3-5
- Adds some new aspect ratio defined in CEA-861-F specs to
support HDMI 2.0 displays, in DRM and I915 layer.
V2: needed a rebase
Shashank Sharma (5):
drm: add picture aspect ratio
HDMI 2.0/CEA-861-F introduces two new aspect ratios:
- 64:27
- 256:135
This patch adds DRM flags for the new aspect ratios
in the existing aspect ratio flags.
Signed-off-by: Shashank Sharma
---
include/uapi/drm/drm_mode.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/uapi
in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Signed-off-by: Shashank Sharma
Signed-off-by: Lin, Jia
Signed-off-by: Akashdeep Sharma
---
drivers/gpu/drm/drm_modes.c | 34 ++
HDMI 2.0/CEA-861-F introduces two new aspect ratios:
- 64:27
- 256:135
This patch adds support for these aspect ratios in
I915 driver, at various places.
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/drm_modes.c | 12
drivers/gpu/drm/i915/intel_hdmi.c | 6
HDMI 2.0/CEA-861-F introduces two new aspect ratios:
- 64:27
- 256:135
This patch adds enumeration for the new aspect ratios
in the existing aspect ratio list.
Signed-off-by: Shashank Sharma
---
drivers/video/hdmi.c | 4
include/linux/hdmi.h | 2 ++
2 files changed, 6 insertions(+)
diff
(VIC=65 onwards).
This patch adds:
- Timings for existing CEA video modes (from VIC=65 till VIC=92)
- Newly added 4k modes (from VIC=93 to VIC=107).
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
Cc: Joes Abreu
---
drivers/gpu/drm/drm_edid.c | 231
(VIC=65 onwards).
This patch adds:
- Timings for existing CEA video modes (from VIC=65 till VIC=92)
- Newly added 4k modes (from VIC=93 to VIC=107).
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
Reviewed-by: Jose Abreu
Reviewed-by: Alex Deucher
Cc: Jose Abreu
Cc: Alex Deucher
k for HDMI detection, only for platforms
from gen7 onwards.
- Cleans up the retry logic.
There is an extra 'if (try)' check, which can be avoided by
changing the logic slightly, keeping the delay as same(80ms)
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/in
k for HDMI detection, only for platforms
from gen7 onwards.
- Cleans up the retry logic.
There is an extra 'if (try)' check, which can be avoided by
changing the logic slightly, keeping the delay as same(80ms)
V2: Ville: Skipped live_status check for IVB
Signed-off-by: Shashank Sharm
This patch set adds 2 patches:
- First patch optimizes the HDMI detection retry loop
- Second patch restricts the use of live status register for HDMI detection
to certain platforms. This is to fix a regression introduced by a previos
patch.
Shashank Sharma (2):
drm/i915: Optimize the live
There is an extra 'if (try)' check, which can be avoided by
changing the logic slightly, keeping the delay as same(80ms)
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_hdmi.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drive
regression introduced in:
commit 237ed86c693d8a8e4db476976aeb30df4deac74b
Author: Sonika Jindal
Date: Tue Sep 15 09:44:20 2015 +0530
drm/i915: Check live status before reading edid
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_hdmi.c | 18 +-
1 file changed, 13
ff-by: Shashank Sharma
---
drivers/gpu/drm/drm_edid.c | 73 +
include/drm/drm_connector.h | 48 +
include/drm/drm_edid.h | 5
include/linux/hdmi.h| 1 +
4 files changed, 127 insertions(+)
diff --git a/dr
atus check for HDMI detection, only for platforms
from gen7 onwards.
This fixes regression added by patch:
'commit 237ed86c693d ("drm/i915: Check live status before reading edid")'
Based on suggestion by: Ville Syrjala
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i
atus check for HDMI detection, only for platforms
from gen7 onwards.
This fixes regression added by patch:
'commit 237ed86c693d ("drm/i915: Check live status before reading edid")'
V2: restrict faking live_status to certain platforms
Based on suggestion by: Ville Syrjala
status case
- fix indentation of comment
- remove "warning" from the debug message
(Jani)
- Change format of fix details in the commit message
Suggested-by: Ville Syrjala
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_hdmi.c | 12 ++--
1 file changed,
s for LSPCON display now.
This part will be added once the dig_port level AVI-IF series
gets merged.
V3: Rebase
V4: Rebase
V5: Rebase
Signed-off-by: Shashank Sharma
Reviewed-by: Rodrigo Vivi
---
drivers/gpu/drm/i915/intel_ddi.c | 29 -
1 file changed, 28 inser
orce check while setting a lspcon mode
V5: Rebase
Signed-off-by: Shashank Sharma
Signed-off-by: Akashdeep Sharma
Reviewed-by: Rodrigo Vivi
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_drv.h| 9 +++
drivers/gpu/drm/i915/intel_lspc
will be noise.
V4: Rebase
V5: Rebase
Signed-off-by: Shashank Sharma
Reviewed-by: Rodrigo Vivi
---
drivers/gpu/drm/i915/i915_drv.h | 5
drivers/gpu/drm/i915/intel_bios.c | 49 +++
2 files changed, 54 insertions(+)
diff --git a/drivers/gpu/drm/i915
ith respective patch.
V4: Addressed review comments from Ville
Details available with respective patch.
V5: Rebase, added a new patch for suspend/resume
Shashank Sharma (5):
drm: Helper for lspcon in drm_dp_dual_mode
drm/i915: Add lspcon support for I915 driver
drm/i915: Parse VBT d
: Shashank Sharma
---
drivers/gpu/drm/i915/i915_drv.c | 2 ++
drivers/gpu/drm/i915/intel_drv.h| 1 +
drivers/gpu/drm/i915/intel_lspcon.c | 38 +
3 files changed, 41 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
t for _HAS_DPCD
- Fix enum description, for lspcon_mode.
v5: Rebase
Signed-off-by: Shashank Sharma
Reviewed-by: Rodrigo Vivi
---
drivers/gpu/drm/drm_dp_dual_mode_helper.c | 103 ++
include/drm/drm_dp_dual_mode_helper.h | 26
2 files changed, 129 insertions(+)
will be noise.
V4: Rebase
V5: Rebase
V6: Pass dev_priv to HAS_LSPCON() macro
Signed-off-by: Shashank Sharma
Reviewed-by: Rodrigo Vivi
---
drivers/gpu/drm/i915/i915_drv.h | 5
drivers/gpu/drm/i915/intel_bios.c | 49 +++
2 files changed, 54 insertions
s for LSPCON display now.
This part will be added once the dig_port level AVI-IF series
gets merged.
V3: Rebase
V4: Rebase
V5: Rebase
V6: Rebase
Signed-off-by: Shashank Sharma
Reviewed-by: Rodrigo Vivi
---
drivers/gpu/drm/i915/intel_ddi.c | 29 -
1 file change
orce check while setting a lspcon mode
V5: Rebase
V6: Pass dev_priv to IS_GEN9 check
Signed-off-by: Shashank Sharma
Signed-off-by: Akashdeep Sharma
Reviewed-by: Rodrigo Vivi
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/intel_drv.h| 9 +++
drivers/gpu/drm/i915/inte
t for _HAS_DPCD
- Fix enum description, for lspcon_mode.
v5: Rebase
v6: Rebase
Signed-off-by: Shashank Sharma
Reviewed-by: Rodrigo Vivi
---
drivers/gpu/drm/drm_dp_dual_mode_helper.c | 103 ++
include/drm/drm_dp_dual_mode_helper.h | 26
2 files changed, 129 i
ith respective patch.
V4: Addressed review comments from Ville
Details available with respective patch.
V5: Rebase, added a new patch for suspend/resume
V6: Rebase, addressed review comments from Imre
Shashank Sharma (5):
drm: Helper for lspcon in drm_dp_dual_mode
drm/i915: Add lspcon su
comments from Imre
- move lspcon_resume call to encoder->reset()
- use early returns
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_dp.c | 7 ++-
drivers/gpu/drm/i915/intel_drv.h| 1 +
drivers/gpu/drm/i915/intel_lspcon.c | 8
3 files changed,
ormation in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Signed-off-by: Shashank Sharma
Signed-off-by: Lin, Jia
Signed-off-by: Akashdeep Sharma
Reviewed-by: Jim Bride
Cc: Daniel Vetter
Cc: Emil Velikov
HDMI 2.0/CEA-861-F introduces two new aspect ratios:
- 64:27
- 256:135
This patch adds enumeration for the new aspect ratios
in the existing aspect ratio list.
Signed-off-by: Shashank Sharma
Reviewed-by: Sean Paul
Cc: Daniel Vetter
Cc: Emil Velikov
V2: rebase
V3: rebase
---
drivers/video
HDMI 2.0/CEA-861-F introduces two new aspect ratios:
- 64:27
- 256:135
This patch:
- Adds new DRM flags for to represent these new aspect ratios.
- Adds new cases to handle these aspect ratios while converting
from user->kernel mode or vise versa.
Signed-off-by: Shashank Sharma
Reviewed
comments from Imre
- move lspcon_resume call to encoder->reset()
- use early returns
Signed-off-by: Shashank Sharma
---
drivers/gpu/drm/i915/intel_dp.c | 7 ++-
drivers/gpu/drm/i915/intel_drv.h| 1 +
drivers/gpu/drm/i915/intel_lspcon.c | 8
3 files changed,
101 - 200 of 699 matches
Mail list logo