atch(Daniel)
v6: Rebased and maintaining authorship.
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 58 ++-
1 file changed, 45 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c
b/drive
run a
detect cycle.
Cc: Shashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/intel_hotplug.c | 26 ++
drivers/gpu/drm/i915/intel_sdvo.c| 1 -
3 files changed, 27 insertions(+), 1 deletion(-)
diff --gi
atch(Daniel)
v6: Rebased and maintaining authorship.
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 58 ++-
1 file changed, 45 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c
b/drive
gned-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 58 ++-
1 file changed, 45 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c
b/drivers/gpu/drm/i915/intel_hdmi.c
index bdd462e..16dd2a7
hot_plug
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/intel_hotplug.c | 26 ++
drivers/gpu/drm/i915/intel_sdvo.c| 1 -
3 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b
Un-initialize DDI PHYs as per the bspec update
Cc: Sivakumar Thulasimani
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c |7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index
For all the encoders, call the hot_plug if it is registered.
This is required for connected boot and resume cases to generate
fake hpd resulting in reading of edid.
Removing the initial sdvo hot_plug call too so that it will be called
just once from this loop.
Signed-off-by: Sonika Jindal
ashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 54 +
1 file changed, 43 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c
b/drivers/gpu/drm/i915/intel_hdmi.c
index bb33c66..9c1a308 10064
el)
Also, calling hdmi_probe in init instead of set_edid
v4: Renaming intel_hdmi_probe to intel_hdmi_hot_plug and changing the patch
subject. Also calling this hotplug handler from intel_hpd_init to take care
of init resume scenarios.
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jinda
Adding voltage swing table for edp to support low vswings.
v2: Rebased.
Signed-off-by: Sonika Jindal
Reviewed-by: Sivakumar Thulasimani
---
drivers/gpu/drm/i915/intel_ddi.c | 23 +++
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915
Bspec update tells that we have to enable oscaledcompmethod instead of
ouniqetrangenmethod for enabling scale value during swing programming.
v2: Adding back 'don't care' values to bxt_ddi_translations_dp and add
error message if ouniquetrangemethod was set (Imre)
Signed-off-by
Adding voltage swing table for edp to support low vswings.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 23 +++
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index
Bspec update tells that we have to enable oscaledcompmethod instead of
ouniqetrangenmethod for enabling scale value during swing programming.
Also, scale value is 'don't care' for other levels except the last entry
translation table. So, make it 0 instead of 0x9A.
Signed-off-by
ed global in this patch, some
reformatting of while loop, adding a print when live status is not
up. (Rodrigo)
v8: Rebase it on nightly which involved skipping the hot_plug hook for now
and letting the live_status check happen in detect until the hpd handling
part is finalized (Daniel)
Signed-of
Using intel_encoder's hpd_pin to check the live status
because of BXT A0/A1 WA for HPD pins and hpd_pin contains the
updated pin for the corresponding port.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_dp.c |9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
ed global in this patch, some
reformatting of while loop, adding a print when live status is not
up. (Rodrigo)
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_dp.c |2 +-
drivers/gpu/drm/i915/intel_drv.h |2 ++
drivers/gpu/drm/i915/intel_hdmi.c
hdmi as well as DP, we don't have a
mechanism to differentiate between DP and hdmi inside the encoder's
hot_plug. This leads to call to the hdmi's hot_plug hook for DP as well
as hdmi which leads to issues during unplug because of the above check.
Signed-off-by: Shashank Sharma
Sign
. (Daniel)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hotplug.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_hotplug.c
b/drivers/gpu/drm/i915/intel_hotplug.c
index 53c0173..ff4692a 100644
--- a/drivers/gpu/drm/i915
t HPD
v5: Removed extra "drm/i915" from commit message. Adding Shashank's sob
which was missed.
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 35 ---
1 file changed, 28 insertions(+), 7 del
From: Shashank Sharma
This patch adds the intel_connector initialized to intel_hdmi
display, during the init phase, just like the other encoders do.
This attachment is very useful when we need to extract the connector
pointer during the hotplug handler function
Signed-off-by: Shashank Sharma
--
If the same port is enumerated as hdmi as well as DP, this will get
called for DP connector as well which is not required because
i915_hotplug_work_func is solely to handle hdmi HPD.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hotplug.c |3 ++-
1 file changed, 2 insertions
take time in setting the live status. So retry for few
times if this is a connect HPD
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 35 ---
1 file changed, 28 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c
or updating the edid.(Daniel)
Also, calling hdmi_probe in init instead of set_edid
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 46 -
1 file changed, 40 insertions(+), 6 deletions(-)
diff --git a/drivers/
From: Durgadoss R
Currently, HDMI hotplug with eDP as local panel is failing
because the HDMI hpd is detected as a long hpd for eDP; and is
thus rightfully ignored. But, it should really be handled as
an interrupt on port B for HDMI (due to BXT A1 platform having
HPD pins A and B swapped). This p
(1):
drm/i915/bxt: Fix irq_port for eDP
Shashank Sharma (2):
drm/i915: add attached connector to hdmi container
drm/i915: Add HDMI probe function
Sonika Jindal (3):
drm/i915: Make intel_digital_port_connected global
drm/i915: drm/i915: Check live status before reading edid
drm/i915: d
This is to allow live status check for HDMI as well.
Also, using intel_encoder->hpd_pin to check the live status
for bxt because of BXT A0/A1 WA for HPD pins.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_dp.c | 11 +++
drivers/gpu/drm/i915/intel_drv.h |2 ++
squashed to :
commit cf1d58833f07afbb4534b15caa3fd48baa313b2c
Author: Sonika Jindal
Date: Mon Aug 10 10:35:36 2015 +0530
drm/i915/bxt: WA for swapped HPD pins in A stepping
Signed-off-by: Durgadoss R
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 21 -
d VLV
Shashank Sharma (2):
drm/i915: add attached connector to hdmi container
drm/i915: Add HDMI probe function
Sonika Jindal (2):
drm/i915: Check live status before reading edid
drm/i915: Retry for live status
drivers/gpu/drm/i915/intel_dp.c |4 +-
drivers/gpu/drm/i915/inte
Some monitors take time in setting the live status.
So retry for few times if this is a connect HPD
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c
b/drivers/gpu/drm/i915
l_dig_port), so for DP also, hot_plug function gets called
which is not intended here. So, check for HDMI in intel_hdmi_probe
Rely on HPD for updating edid only for platforms gen > 8 and also for VLV.
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm
to intel_hdmi_probe and passing parameter
to read/not to read the edid. (me)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_dp.c |4 +--
drivers/gpu/drm/i915/intel_drv.h |2 ++
drivers/gpu/drm/i915/intel_hdmi.c | 62 -
3 files changed,
From: Shashank Sharma
This patch adds the intel_connector initialized to intel_hdmi
display, during the init phase, just like the other encoders do.
This attachment is very useful when we need to extract the connector
pointer during the hotplug handler function
Signed-off-by: Shashank Sharma
--
This series adds BXT HPD pin swap WA for A0/A1 by setting right hpd_pin
and irq_port for PORT_B.
Sonika Jindal (3):
drm/i915: Dont enable hpd for eDP
drm/i915/bxt: Add HPD support for DDIA
drm/i915/bxt: WA for swapped HPD pins in A stepping
drivers/gpu/drm/i915/i915_irq.c | 10
With HPD support added for all ports including PORT_A, setting hpd_pin will
result in enabling of hpd to edp as well. There is no need to enable HPD on
PORT_A hence this patch removes hpd_pin update for PORT_A, where edp will
be connected. it can be added back when required
Signed-off-by: Sonika
pin itself (Imre)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 10 +-
drivers/gpu/drm/i915/intel_dp.c |2 ++
drivers/gpu/drm/i915/intel_hdmi.c |9 -
3 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_ddi.c
Also remove redundant comments.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_irq.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 02b9e73..9b9533a 100644
--- a/drivers/gpu/drm
r enabling HPD on PORT A.
Added hpd_pin swapping for intel_dp_init_connector, setting encoder
for PORT_A as per the WA in irq_port (Imre)
v4: Dont enable interrupt for edp, also reframe the description (Siva)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 11 ++-
d
)
v3: Rebased on top of Imre's patchset for enabling HPD on PORT A.
Added hpd_pin swapping for intel_dp_init_connector, setting encoder
for PORT_A as per the WA in irq_port (Imre)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 12 +++-
drivers/gpu/drm/i915/intel
This is to get PSR support for bxt.
v2: Adding bxt prefix in title (Damien)
Signed-off-by: Sonika Jindal
Reviewed-by: Damien Lespiau
---
drivers/gpu/drm/i915/i915_drv.h |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm
This is to get PSR support for bxt.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_drv.h |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 718170c..54d2729 100644
--- a/drivers/gpu/drm
)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 10 +-
drivers/gpu/drm/i915/intel_hdmi.c |9 -
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index e2c6f73..777e3a3
From: Shashank Sharma
This patch adds the intel_connector initialized to intel_hdmi
display, during the init phase, just like the other encoders do.
This attachment is very useful when we need to extract the connector
pointer during the hotplug handler function
Signed-off-by: Shashank Sharma
--
Adding this for SKL onwards.
v2: Adding checks for VLV/CHV as well. Reusing old ibx and g4x functions
to check digital port status. Adding a separate function to get bxt live
status (Daniel)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_dp.c |4 ++--
drivers/gpu/drm/i915
probe function
Sonika Jindal (1):
drm/i915: Check live status before reading edid
drivers/gpu/drm/i915/intel_dp.c |4 +-
drivers/gpu/drm/i915/intel_drv.h |3 ++
drivers/gpu/drm/i915/intel_hdmi.c | 93 +
3 files changed, 88 insertions(+
.
The "< gen7" check is there because this was tested only for >=gen7
platforms. For older platforms the hotplug/reading edid path remains same.
Signed-off-by: Shashank Sharma
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 49 ---
As per bspec, on BXT A0/A1, sw needs to activate DDIA HPD logic
and interrupts to check the external panel connection and DDIC HPD
logic for edp panel.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_dp.c | 18 --
drivers/gpu/drm/i915/intel_hdmi.c |9
Also remove redundant comments.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_irq.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index a897f68..63137dd 100644
--- a/drivers/gpu/drm
Adding this for SKL onwards.
v2: Adding checks for VLV/CHV as well. Reusing old ibx and g4x functions
to check digital port status. Adding a separate function to get bxt live
status (Daniel)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_dp.c |4 ++--
drivers/gpu/drm/i915
platforms older than gen 7 (Shashank)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c
b/drivers/gpu/drm/i915/intel_hdmi.c
index 66af388..44e7160 100644
--- a/drive
here (Imre)
v3: Add comment about the WA, move 'hpd' initialization outside for
loop (Siva)
Also, remove few redundant comments from hpd handler (me)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_irq.c | 46 ++-
1 file changed, 31
here (Imre)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_irq.c | 38 +-
1 file changed, 29 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index eb52a03..760539c 100644
--- a/drivers
During init_connector set the edid, then edid will be set/unset only during
hotplug. For the sake of older platforms where HPD is not stable, let edid
read happen from detect as well only if it is forced to do so.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c |6
Adding this for SKL onwards.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_hdmi.c | 49 ++---
1 file changed, 45 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c
b/drivers/gpu/drm/i915/intel_hdmi.c
index 1fb6919
From: Shashank Sharma
This patch adds a separate probe function for HDMI
EDID read over DDC channel. This function has been
registered as a .hot_plug handler for HDMI encoder.
The reason behind addition of this separate function needs
brief explaination. The current implementation of hdmi_detect
From: Shashank Sharma
This patch adds the intel_connector initialized to intel_hdmi
display, during the init phase, just like the other encoders do.
This attachment is very useful when we need to extract the connector
pointer during the hotplug handler function
Signed-off-by: Shashank Sharma
--
(3):
drm/i915: add attached connector to hdmi container
drm/i915: Add HDMI probe function
drm/i915: Read HDMI EDID only when required
Sonika Jindal (2):
drm/i915: Check live status before reading edid
drm/i915: Set edid from detect only if forced
drivers/gpu/drm/i915/intel_drv.h |1
From: Shashank Sharma
This patch makes sure that the HDMI detect function
reads EDID only when its forced to do it. All the other
times, it uses the connector->detect_edid which was cached
during hotplug handling in the hdmi_probe() function. As the
probe function gets called before detect in the
pch_get_hpd_pins
v4: Indentation (Ville)
Reviewed-by: Ville Syrjälä
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_irq.c | 32 +---
1 file changed, 17 insertions(+), 15 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm
pch_get_hpd_pins
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_irq.c | 32 +---
1 file changed, 17 insertions(+), 15 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index a6fbe64..ba2c27c 100644
--- a
Writing to PCH_PORT_HOTPLUG for each interrupt is not required.
Handle it only if hpd has actually occurred like we handle other
interrupts.
v2: Make few variables local to if block (Ville)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_irq.c | 14 --
1 file changed, 8
Writing to PCH_PORT_HOTPLUG for each interrupt is not required.
Handle it only if hpd has actually occurred like we handle other
interrupts.
Signed-off-by: Sonika Jindal
---
Hi,
I see we don't check for hotplug_trigger before processing the HPD for any of
the platform. Is there any reaso
From: Shashank Sharma
This patch makes sure that the HDMI detect function
reads EDID only when its forced to do it. All the other
times, it uses the connector->detect_edid which was cached
during hotplug handling in the hdmi_probe() function. As the
probe function gets called before detect in the
From: Shashank Sharma
This patch adds a separate probe function for HDMI
EDID read over DDC channel. This function has been
registered as a .hot_plug handler for HDMI encoder.
The reason behind addition of this separate function needs
brief explaination. The current implementation of hdmi_detect
From: Shashank Sharma
This patch adds the intel_connector initialized to intel_hdmi
display, during the init phase, just like the other encoders do.
This attachment is very useful when we need to extract the connector
pointer during the hotplug handler function
Signed-off-by: Shashank Sharma
--
Moving rotation property to "Drm" and removing from i915 and omap.
Also, adding description to the property
Cc: DRI Development
Suggested-by: Ville Syrjälä
Signed-off-by: Sonika Jindal
---
Documentation/DocBook/drm.tmpl | 41 ++--
1 file c
eed to use link_bw or rate_select
for selecting pll(Ville)
v4: Make bxt_dp_clk_val const and remove size (Ville)
v5: Rebased
v6: Removed setting of vco while rebasing in v5, adding it back
Signed-off-by: Sonika Jindal
Reviewed-by: Ville Syrjälä (v4)
---
drivers/gpu/drm/i915/intel_dd
eed to use link_bw or rate_select
for selecting pll(Ville)
v4: Make bxt_dp_clk_val const and remove size (Ville)
v5: Rebased
Signed-off-by: Sonika Jindal
Reviewed-by: Ville Syrjälä
---
drivers/gpu/drm/i915/intel_ddi.c | 40 +++---
drivers/gpu/drm/i915/intel_dp
Since DRM_ROTATE is counter clockwise (which is compliant with Xrandr),
and HW rotation is clockwise, swapping 90/270 to work as expected from
userspace.
v2: Rebased
Suggested-by: Ville Syrjälä
Cc: Ville Syrjälä
Signed-off-by: Sonika Jindal
Reviewed-by: Ville Syrjälä
---
drivers/gpu/drm
eed to use link_bw or rate_select
for selecting pll(Ville)
v4: Make bxt_dp_clk_val const and remove size (Ville)
Signed-off-by: Sonika Jindal
Reviewed-by: Ville Syrjälä
---
drivers/gpu/drm/i915/intel_ddi.c | 39 --
drivers/gpu/drm/i915/intel_dp.c |7 ++
eed to use link_bw or rate_select
for selecting pll(Ville)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 37 +++--
drivers/gpu/drm/i915/intel_dp.c |7 ++-
2 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/drivers/gp
BXT supports following intermediate link rates for edp:
2.16GHz, 2.43GHz, 3.24GHz, 4.32GHz.
Adding support for programming the intermediate rates.
v2: Adding clock in bxt_clk_div struct and then look for the entry with
required rate (Ville)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915
le Syrjälä
Signed-off-by: Sonika Jindal
Reviewed-by: Ville Syrjälä
---
drivers/gpu/drm/i915/intel_dp.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index bacdec5..6bd5afb 100644
--- a/drivers/gpu/drm/i915/
Since we already store the sink's psr status in dev_priv, use it.
Without this we were ignoring the case where sink supports psr2.
Cc: Durgadoss R
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_psr.c |7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --
BXT supports following intermediate link rates for edp:
2.16GHz, 2.43GHz, 3.24GHz, 4.32GHz.
Adding support for programming the intermediate rates.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 44 --
drivers/gpu/drm/i915/intel_dp.c
The sink rate read from supported link rate table is in KHz as per spec
while in drm, the saved clock is in deca-KHz. So divide the link rate by
10 before storing.
Cc: Ville Syrjälä
Signed-off-by: Sonika Jindal
---
Just resending it along with the other intermediate link rate patches
(It was
Renaming gen9_rates to skl_rates because other platforms may have different
supported rates.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_dp.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915
?id=89554
Signed-off-by: Sonika Jindal
Reviewed-by: Jani Nikula
---
drivers/gpu/drm/i915/i915_drv.h|4 +++-
drivers/gpu/drm/i915/i915_params.c |8
drivers/gpu/drm/i915/intel_bios.c |9 +++--
drivers/gpu/drm/i915/intel_ddi.c |2 +-
drivers/gpu/drm/i915/intel_dp.c
This provides an option to override the value set by VBT
for selecting edp Vswing Pre-emph setting table.
v2: Adding comment about this being a temporary workaround and
making the parameter read-only (Jani)
https://bugs.freedesktop.org/show_bug.cgi?id=89554
Signed-off-by: Sonika Jindal
This provides an option to override the value set by VBT
for selecting edp Vswing Pre-emph setting table.
https://bugs.freedesktop.org/show_bug.cgi?id=89554
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_drv.h|4 +++-
drivers/gpu/drm/i915/i915_params.c |7
, we end up using only 2 lanes which doesn't
let the modeset go through because of limited data rate avalaible.
So, set the DDIA lane capability correctly if port E is being used
by any child device or not.
Cc: Sivakumar Thulasimani
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_
the negative test(Tvrtko)
Signed-off-by: Sonika Jindal
---
tests/kms_rotation_crc.c | 250 --
1 file changed, 217 insertions(+), 33 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index e11d7a9..eda66de 100644
--- a/te
The sink rate read from supported link rate table is in KHz as per spec
while in drm, the saved clock is in deca-KHz. So divide the link rate by
10 before storing.
Cc: Ville Syrjälä
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_dp.c |3 ++-
1 file changed, 2 insertions(+), 1
Cc: dri-de...@lists.freedesktop.org
Signed-off-by: Sonika Jindal
---
Documentation/DocBook/drm.tmpl |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index f4976cd..266d50a 100644
--- a/Documentation
DRM rotation is counter clockwise. So changing the test accordingly.
Signed-off-by: Sonika Jindal
---
tests/kms_rotation_crc.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 48afaa1..1054a75 100644
--- a
Signed-off-by: Sonika Jindal
---
Documentation/DocBook/drm.tmpl |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index f4976cd..266d50a 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation
Since DRM_ROTATE is counter clockwise (which is compliant with Xrandr),
and HW rotation is clockwise, swapping 90/270 to work as expected from
userspace.
Suggested-by: Ville Syrjälä
Cc: Ville Syrjälä
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_display.c |8
t;)
v2: Adding reference to commit which removed this table (Jani)
Cc: Damien Lespiau
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i
The HDMI translation table is added back to bspec, so adding it,
and defaulting the 800mV+0dB entry.
Cc: Damien Lespiau
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_ddi.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu
Adding 90/270 rotation testcase for primary and sprite planes.
v2: Added position test for sprite. Checking for gen > 9 for 90/270.
Some cleanup and rebase.
v3: Added test for unsupported tiling and unsupported pixel format for 90/270
Signed-off-by: Sonika Jindal
---
tests/kms_rotation_cr
Return the return value of the set_property ioctl and add check for
the failure.
Signed-off-by: Sonika Jindal
---
lib/igt_kms.c |7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 6cb1f08..14abae8 100644
--- a/lib/igt_kms.c
+++ b/lib
src_* params instead of crtc_* for offset
and size programming (Ville)
v5: Rebased on -nightly and Tvrtko's series for gtt remapping.
v6: Rebased on -nightly (Tvrtko's series merged)
v7: Moving pixel_format check to intel_atomic_plane_check (Matt)
Signed-off-by: Sonika Jindal
---
drive
frame sync, rename the
TP2 TIME macro for 2500us (Rodrigo, Siva)
v3: Moving the resolution restriction to intel_psr_enable so that we check it
only once(Durga)
Cc: Durgadoss R
Cc: Rodrigo Vivi
Signed-off-by: Sonika Jindal
Reviewed-by: Durgadoss R
---
Hi Daniel,
It applies cleanly for me. St
frame sync, rename the
TP2 TIME macro for 2500us (Rodrigo, Siva)
v3: Moving the resolution restriction to intel_psr_enable so that we check it
only once(Durga)
Cc: Durgadoss R
Cc: Rodrigo Vivi
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_drv.h |2 ++
drivers/gpu/drm/i915/i915_
Adding 90/270 rotation testcase for primary and sprite planes.
v2: Added position test for sprite. Checking for gen > 9 for 90/270.
Some cleanup and rebase.
Signed-off-by: Sonika Jindal
---
tests/kms_rotation_crc.c | 175 +-
1 file changed,
src_* params instead of crtc_* for offset
and size programming (Ville)
v5: Rebased on -nightly and Tvrtko's series for gtt remapping.
v6: Rebased on -nightly (Tvrtko's series merged)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_reg.h |2 +
drivers/gp
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_display.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index ceb2e61..f0bbc22 100644
--- a/drivers/gpu/drm/i915/intel_display.c
frame sync, rename the
TP2 TIME macro for 2500us (Rodrigo, Siva)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_drv.h |2 ++
drivers/gpu/drm/i915/i915_reg.h | 14 ++
drivers/gpu/drm/i915/intel_dp.c | 15 +++
drivers/gpu/drm/i915/intel_psr.c |
We make use of HW tracking for Selective update region and enable frame sync on
sink. We use hardware's hardcoded data values for frame sync and GTC.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/i915_reg.h | 14 ++
drivers/gpu/drm/i915/intel_dp.c |
Adding 90/270 rotation testcase for primary and sprite planes.
Signed-off-by: Sonika Jindal
---
tests/kms_rotation_crc.c | 153 ++
1 file changed, 128 insertions(+), 25 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_display.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 437a679..e1b0c4d 100644
--- a/drivers/gpu/drm/i915/intel_display.c
1 - 100 of 271 matches
Mail list logo