Platform descriptor defined and PCI IDs added for Battlemage.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display_device.c | 5 +
drivers/gpu/drm/i915/display/intel_display_device.h | 2 ++
include/drm/intel/i915_pciids.h | 8
Enable the display support for Battlemage
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Shekhar Chauhan
---
drivers/gpu/drm/xe/xe_pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 3b30353dbc09..5289cc651c8b 100644
-by: Balasubramani Vivekanandan
Acked-by: Nirmoy Das
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_display.c | 3 +++
.../gpu/drm/i915/display/intel_frontbuffer.c | 2 ++
drivers/gpu/drm/i915/display/intel_tdf.h | 25 +++
drivers/gpu/drm/xe/Makefile
a
routine for this which we can then call from the display code.
Signed-off-by: Nirmoy Das
Co-developed-by: Matthew Auld
Signed-off-by: Matthew Auld
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/xe/regs/xe_gt_regs.h | 3 ++
drivers/gpu/drm/xe/xe_device.c
From: Matthew Auld
Needed in an upcoming patch, where we want GT level print, but only
which to trigger once to avoid flooding dmesg.
Signed-off-by: Matthew Auld
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Nirmoy Das
---
drivers/gpu/drm/xe/xe_gt_printk.h | 3 +++
1 file changed
Max supported speed by xe2hpd is UHBR13.5. Limit the max DP source rate
to it.
Bspec: 67066
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Shekhar Chauhan
---
drivers/gpu/drm/i915/display/intel_dp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/display
From: Ankit Nautiyal
This reverts commit 562f33836f519a235e5c5e71bcc723ab1faccd2f.
For BMG it seems that the VBT to DDI mapping does not follow DG1, and
DG2, but follows ADLP mapping given in Bspec:20124.
Signed-off-by: Ankit Nautiyal
Signed-off-by: Balasubramani Vivekanandan
Reviewed
From: José Roberto de Souza
No display IP beyond Xe_LPD+ has "BW credits" bits in MBUS_DBOX_CTL
register. Restrict the programming only to Xe_LPD+.
BSpec: 49213
CC: Matt Roper
Signed-off-by: José Roberto de Souza
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
--
From: Matt Roper
Battlemage's south display is the same as Meteor Lake's, including the
need to invert the HPD pins, which Lunar Lake does not need.
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Dnyaneshwar Bhadane
---
drivers/gpu/drm/i915/soc/intel_pch.c
From: Anusha Srivatsa
Add step 9 from initialize display sequence.
v2: Commit subject improved
Bpsec: 49189
Signed-off-by: Anusha Srivatsa
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_display_power.c | 4
drivers/gpu/drm/i915
From: Matt Roper
Unlike DG2, Xe2_HPD does support multiple GV points with different
maximum memory bandwidths, but uses a much simpler algorithm than igpu
platforms use.
Bspec: 64631
CC: Jani Nikula
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Radhakrishna
From: Ravi Kumar Vodapalli
DP/eDP and HDMI pll values are updated for Xe2_HPD platform
v2: Removed the unsupported mtl_c20_dp_uhbr20 from xehpd_c20_dp_tables
Bspec: 74165
Signed-off-by: Ravi Kumar Vodapalli
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu
From: Lucas De Marchi
Add initial display info for xe2hpd. It is similar to xelpdp, but with no
PORT_B.
v2: Inherit from XE_LPDP_FEATURES instead of XE_LPD_FEATURES
Bspec: 67066
CC: Matt Roper
Signed-off-by: Lucas De Marchi
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
Tables for eDP PHY PLL configuration for different link rates added for
Xe2_HPD. Previous platforms were using C10 PHY for eDP port whereas
Xe2_HPD has C20 PHY.
v2: Updated with a more appropriate Bspec number.
Bspec: 74165
CC: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
Reviewed
sure it is the only display using them in the
driver.
v2:
* Redesigned how the right offsets are selected for different display
IP versions.
Bspec: 67610
Cc: Clint Taylor
Cc: Gustavo Sousa
Cc: Jani Nikula
Signed-off-by: Balasubramani Vivekanandan
Signed-off-by: Lucas De Marchi
---
drivers
From: José Roberto de Souza
Xe2_HPD has a different value to power down port A.
BSpec: 65450
Signed-off-by: José Roberto de Souza
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 17 ++---
1 file changed, 14
-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_display.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c
b/drivers/gpu/drm/i915/display/intel_display.c
index a92b67adee9c..67697d9a559c 100644
From: Clint Taylor
Add Xe2_HPD specific CDCLK table and use MTL Funcs.
Bspec: 65243
CC: Lucas De Marchi
Signed-off-by: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_cdclk.c | 11 +++
1 file changed, 11
from i915 builds if the IS_BATTLEMAGE() check is the only place
the i915 pointer gets used in a function.
While we're at it, also update the IS_LUNARLAKE macro to include the
parameter in the false expression for consistency.
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
d
From: Clint Taylor
Write both CX0 Lanes for Context Toggle for all except TC pin assignment D.
Bspec: 64539
CC: Jani Nikula
Signed-off-by: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 10 +-
1 file
1):
drm/i915/xe2hpd: Configure CHICKEN_MISC_2 before enabling planes
Balasubramani Vivekanandan (5):
drm/i915/bmg: Define IS_BATTLEMAGE macro
drm/i915/xe2hpd: Add new C20 PHY SRAM address
drm/i915/xe2hpd: Add support for eDP PLL configuration
drm/i915/xe2hpd: Set maximum DP rate to UHBR13.5
drm/
Enable the display support for Battlemage
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Shekhar Chauhan
---
drivers/gpu/drm/xe/xe_pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 3b30353dbc09..5289cc651c8b 100644
-by: Balasubramani Vivekanandan
Acked-by: Nirmoy Das
---
drivers/gpu/drm/i915/display/intel_display.c | 3 +++
.../gpu/drm/i915/display/intel_frontbuffer.c | 2 ++
drivers/gpu/drm/i915/display/intel_tdf.h | 25 +++
drivers/gpu/drm/xe/Makefile | 3 ++-
drivers/gpu
a
routine for this which we can then call from the display code.
CC: Matt Roper
Signed-off-by: Nirmoy Das
Co-developed-by: Matthew Auld
Signed-off-by: Matthew Auld
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/regs/xe_gt_regs.h | 3 ++
drivers/gpu/drm/xe/xe_device.c
From: Matthew Auld
Needed in an upcoming patch, where we want GT level print, but only
which to trigger once to avoid flooding dmesg.
Signed-off-by: Matthew Auld
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Nirmoy Das
---
drivers/gpu/drm/xe/xe_gt_printk.h | 3 +++
1 file changed
Max supported speed by xe2hpd is UHBR13.5. Limit the max DP source rate
to it.
Bspec: 67066
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Shekhar Chauhan
---
drivers/gpu/drm/i915/display/intel_dp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/display
From: Ankit Nautiyal
This reverts commit 562f33836f519a235e5c5e71bcc723ab1faccd2f.
For BMG it seems that the VBT to DDI mapping does not follow DG1, and
DG2, but follows ADLP mapping given in Bspec:20124.
Signed-off-by: Ankit Nautiyal
Signed-off-by: Balasubramani Vivekanandan
Reviewed
From: Matt Roper
Battlemage's south display is the same as Meteor Lake's, including the
need to invert the HPD pins, which Lunar Lake does not need.
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Dnyaneshwar Bhadane
---
drivers/gpu/drm/i915/soc/intel_pch.c
From: José Roberto de Souza
No display IP beyond Xe_LPD+ has "BW credits" bits in MBUS_DBOX_CTL
register. Restrict the programming only to Xe_LPD+.
BSpec: 49213
CC: Matt Roper
Signed-off-by: José Roberto de Souza
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i9
From: Matt Roper
Unlike DG2, Xe2_HPD does support multiple GV points with different
maximum memory bandwidths, but uses a much simpler algorithm than igpu
platforms use.
Bspec: 64631
CC: Jani Nikula
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915
From: Anusha Srivatsa
Add step 9 from initialize display sequence.
v2: Commit subject improved
Bpsec: 49189
Signed-off-by: Anusha Srivatsa
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_display_power.c | 4
drivers/gpu/drm/i915
From: Lucas De Marchi
Add initial display info for xe2hpd. It is similar to xelpdp, but with no
PORT_B.
v2: Inherit from XE_LPDP_FEATURES instead of XE_LPD_FEATURES
Bspec: 67066
CC: Matt Roper
Signed-off-by: Lucas De Marchi
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915
From: Ravi Kumar Vodapalli
DP/eDP and HDMI pll values are updated for Xe2_HPD platform
v2: Removed the unsupported mtl_c20_dp_uhbr20 from xehpd_c20_dp_tables
Bspec: 74165
Signed-off-by: Ravi Kumar Vodapalli
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper base.dev
Tables for eDP PHY PLL configuration for different link rates added for
Xe2_HPD. Previous platforms were using C10 PHY for eDP port whereas
Xe2_HPD has C20 PHY.
v2: Updated with a more appropriate Bspec number.
Bspec: 74165
CC: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
Reviewed
sure it is the only display using them in the
driver.
v2:
* Redesigned how the right offsets are selected for different display
IP versions.
Bspec: 67610
Cc: Clint Taylor
Cc: Gustavo Sousa
Cc: Jani Nikula
Signed-off-by: Balasubramani Vivekanandan
Signed-off-by: Lucas De Marchi
---
drivers
-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_display.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c
b/drivers/gpu/drm/i915/display/intel_display.c
index a92b67adee9c..67697d9a559c 100644
From: José Roberto de Souza
Xe2_HPD has a different value to power down port A.
BSpec: 65450
Signed-off-by: José Roberto de Souza
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 17 ++---
1 file changed, 14
or not.
v2:
* Improved the commit description with more details
* Removed the redundant display IP version check for 20. Display version
check for each modifier above would take care of it.
CC: Juha-Pekka Heikkilä
CC: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm
From: Clint Taylor
Add Xe2_HPD specific CDCLK table and use MTL Funcs.
Bspec: 65243
CC: Lucas De Marchi
Signed-off-by: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
drivers/gpu/drm/i915/display/intel_cdclk.c | 11 +++
1 file changed, 11
from i915 builds if the IS_BATTLEMAGE() check is the only place
the i915 pointer gets used in a function.
While we're at it, also update the IS_LUNARLAKE macro to include the
parameter in the false expression for consistency.
Signed-off-by: Balasubramani Vivekanandan
Reviewed-by: Matt Roper
---
d
From: Clint Taylor
Write both CX0 Lanes for Context Toggle for all except TC pin assignment D.
Bspec: 64539
CC: Jani Nikula
Signed-off-by: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 10 +-
1 file changed, 5 insertions
: Jani Nikula
Signed-off-by: Mitul Golani
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display_irq.c | 10 ++
drivers/gpu/drm/i915/i915_reg.h | 3 +++
2 files changed, 13 insertions(+)
diff --git a/drivers/gpu/drm/i915/display
ifferent
display IP versions
v2: Rebased on latest drm-tip
Ankit Nautiyal (1):
Revert "drm/i915/dgfx: DGFX uses direct VBT pin mapping"
Anusha Srivatsa (1):
drm/i915/xe2hpd: Configure CHICKEN_MISC_2 before enabling planes
Balasubramani Vivekanandan (6):
drm/i915/bmg: Define IS_
Enable the display support for Battlemage
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/xe_pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index b3158053baee..835c18ec8fb9 100644
--- a/drivers/gpu/drm/xe
-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display.c | 3 +++
.../gpu/drm/i915/display/intel_frontbuffer.c | 2 ++
drivers/gpu/drm/i915/display/intel_tdf.h | 25 +++
drivers/gpu/drm/xe/Makefile | 3 ++-
drivers/gpu/drm/xe/display/xe_tdf.c
a
routine for this which we can then call from the display code.
Signed-off-by: Nirmoy Das
Co-developed-by: Matthew Auld
Signed-off-by: Matthew Auld
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/regs/xe_gt_regs.h | 3 ++
drivers/gpu/drm/xe/xe_device.c | 52
From: Matthew Auld
Needed in an upcoming patch, where we want GT level print, but only
which to trigger once to avoid flooding dmesg.
Signed-off-by: Matthew Auld
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/xe_gt_printk.h | 3 +++
1 file changed, 3 insertions(+)
diff
Max supported speed by xe2hpd is UHBR13.5. Limit the max DP source rate
to it.
Bspec: 67066
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_dp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
b/drivers/gpu/drm
From: Matt Roper
Battlemage's south display is the same as Meteor Lake's, including the
need to invert the HPD pins, which Lunar Lake does not need.
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/soc/intel_pch.c | 4 ++--
1 file changed, 2
From: José Roberto de Souza
Xe2_HPD doesn't have DBOX BW credits, so here programing it with
zero.
BSpec: 49213
Signed-off-by: José Roberto de Souza
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/skl_watermark.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display_irq.c | 10 ++
drivers/gpu/drm/i915/i915_reg.h | 3 +++
2 files changed, 13 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_display_irq.c
b/drivers/gpu/drm/i915/display/intel_display_irq.c
From: Matt Roper
Unlike DG2, Xe2_HPD does support multiple GV points with different
maximum memory bandwidths, but uses a much simpler algorithm than igpu
platforms use.
Bspec: 64631
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display
Defined a new DRAM type to be used in the following patches.
The following patch first makes use of this new type in the i915
display. So without this define, build would fail when the shared
display code is built for Xe.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe
From: Clint Taylor
Write both CX0 Lanes for Context Toggle for all except TC pin assignment D.
BSPEC: 64539
Signed-off-by: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions
From: Anusha Srivatsa
Add step 9 from initialize display sequence.
Bpsec: 49189
Signed-off-by: Anusha Srivatsa
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display_power.c | 4
drivers/gpu/drm/i915/i915_reg.h| 1 +
2 files changed
From: Lucas De Marchi
Add initial display info for xe2hpd. It is similar to xelpd, but with no
PORT_B.
Bspec: 67066
Signed-off-by: Lucas De Marchi
Signed-off-by: Balasubramani Vivekanandan
---
.../gpu/drm/i915/display/intel_display_device.c | 16
1 file changed, 16
From: Ravi Kumar Vodapalli
DP/eDP and HDMI pll values are updated for Xe2_HPD platform
Bspec: 74165
Signed-off-by: Ravi Kumar Vodapalli
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 47 +++-
1 file changed, 45 insertions(+), 2
Tables for eDP PHY PLL configuration for different link rates added for
Xe2_HPD. Previous platforms were using C10 PHY for eDP port whereas
Xe2_HPD has C20 PHY.
Bpsec: 64568
CC: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 147
make sure it is the only display using them in the
driver.
Bspec: 67610
Cc: Clint Taylor
Cc: Gustavo Sousa
Signed-off-by: Balasubramani Vivekanandan
Signed-off-by: Lucas De Marchi
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 27 +--
.../gpu/drm/i915/display
From: José Roberto de Souza
Xe2_HPD has a different value to power down port A.
BSpec: 65450
CC: Matt Roper
Signed-off-by: José Roberto de Souza
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 17 ++---
1 file changed, 14 insertions
-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c
b/drivers/gpu/drm/i915/display/intel_display.c
index 614e60420a29..aed25890b6f5 100644
--- a/drivers/gpu/drm/i915
From: Ankit Nautiyal
This reverts commit 562f33836f519a235e5c5e71bcc723ab1faccd2f.
For BMG it seems that the VBT to DDI mapping does not follow DG1, and
DG2, but follows ADLP mapping given in Bspec:20124.
Signed-off-by: Ankit Nautiyal
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu
From: Clint Taylor
Add Xe2_HPD specific CDCLK table and use MTL Funcs.
Bspec: 65243
Cc: Matt Roper
CC: Lucas De Marchi
Signed-off-by: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cdclk.c | 11 +++
1 file changed, 11 insertions
Xe2 platforms doesn't support Aux CCS and the Flat CCS is enabled
through PAT. No CCS modifiers required for Xe2 platforms.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_fb.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git
nings from i915 builds if the IS_BATTLEMAGE() check is the only place
the i915 pointer gets used in a function.
While we're at it, also update the IS_LUNARLAKE macro to include the
parameter in the false expression for consistency.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/
Common display code requires IS_BATTLEMAGE macro. Defined the macro.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
b/drivers/gpu/drm/xe/compat
From: Matt Roper
BMG is a discrete GPU based on the Xe2 architecture.
Bspec: 68090
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/xe_pci.c| 7 +++
drivers/gpu/drm/xe/xe_platform_types.h | 1 +
include/drm/xe_pciids.h
-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 53 +--
.../gpu/drm/i915/display/intel_cx0_phy_regs.h | 36 ++---
2 files changed, 65 insertions(+), 24 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c
b/drivers/gpu
dgfx: DGFX uses direct VBT pin mapping"
Anusha Srivatsa (1):
drm/i915/xe2hpd: Add missing chicken bit register programming
Balasubramani Vivekanandan (9):
drm/i915/display: Prepare to handle new C20 PLL register address
drm/xe/bmg: Define IS_BATTLEMAGE macro
drm/i915/bmg: Define IS_BA
Enable the display support for Battlemage
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/xe_pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index b3158053baee..835c18ec8fb9 100644
--- a/drivers/gpu/drm/xe
-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display.c | 3 +++
.../gpu/drm/i915/display/intel_frontbuffer.c | 2 ++
drivers/gpu/drm/i915/display/intel_tdf.h | 25 +++
drivers/gpu/drm/xe/Makefile | 3 ++-
drivers/gpu/drm/xe/display/xe_tdf.c
a
routine for this which we can then call from the display code.
Signed-off-by: Nirmoy Das
Co-developed-by: Matthew Auld
Signed-off-by: Matthew Auld
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/regs/xe_gt_regs.h | 3 ++
drivers/gpu/drm/xe/xe_device.c | 49
From: Matthew Auld
Needed in an upcoming patch, where we want GT level print, but only
which to trigger once to avoid flooding dmesg.
Signed-off-by: Matthew Auld
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/xe_gt_printk.h | 3 +++
1 file changed, 3 insertions(+)
diff
Max supported speed by xe2hpd is UHBR13.5. Limit the max DP source rate
to it.
Bspec: 67066
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_dp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c
b/drivers/gpu/drm
From: Matt Roper
Battlemage's south display is the same as Meteor Lake's, including the
need to invert the HPD pins, which Lunar Lake does not need.
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/soc/intel_pch.c | 4 ++--
1 file changed, 2
From: José Roberto de Souza
Xe2_HPD doesn't have DBOX BW credits, so here programing it with
zero.
BSpec: 49213
Signed-off-by: José Roberto de Souza
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/skl_watermark.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
From: Clint Taylor
Write both CX0 Lanes for Context Toggle for all except TC pin assignment D.
BSPEC: 64539
Signed-off-by: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions
-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display_irq.c | 10 ++
drivers/gpu/drm/i915/i915_reg.h | 3 +++
2 files changed, 13 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_display_irq.c
b/drivers/gpu/drm/i915/display/intel_display_irq.c
From: Matt Roper
Unlike DG2, Xe2_HPD does support multiple GV points with different
maximum memory bandwidths, but uses a much simpler algorithm than igpu
platforms use.
Bspec: 64631
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display
Defined a new DRAM type to be used in the following patches.
The following patch first makes use of this new type in the i915
display. So without this define, build would fail when the shared
display code is built for Xe.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe
-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c
b/drivers/gpu/drm/i915/display/intel_display.c
index 614e60420a29..aed25890b6f5 100644
--- a/drivers/gpu/drm/i915
From: Ravi Kumar Vodapalli
DP/eDP and HDMI pll values are updated for Xe2_HPD platform
Bspec: 74165
Signed-off-by: Ravi Kumar Vodapalli
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 47 +++-
1 file changed, 45 insertions(+), 2
From: Anusha Srivatsa
Add step 9 from initialize display sequence.
Bpsec: 49189
Signed-off-by: Anusha Srivatsa
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display_power.c | 4
drivers/gpu/drm/i915/i915_reg.h| 1 +
2 files changed
From: José Roberto de Souza
Xe2_HPD has a different value to power down port A.
BSpec: 65450
CC: Matt Roper
Signed-off-by: José Roberto de Souza
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 17 ++---
1 file changed, 14 insertions
From: Lucas De Marchi
Add initial display info for xe2hpd. It is similar to xelpd, but with no
PORT_B.
Bspec: 67066
Signed-off-by: Lucas De Marchi
Signed-off-by: Balasubramani Vivekanandan
---
.../gpu/drm/i915/display/intel_display_device.c | 16
1 file changed, 16
make sure it is the only display using them in the
driver.
Bspec: 67610
Cc: Clint Taylor
Cc: Gustavo Sousa
Signed-off-by: Balasubramani Vivekanandan
Signed-off-by: Lucas De Marchi
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 27 +--
.../gpu/drm/i915/display
From: Ankit Nautiyal
This reverts commit 562f33836f519a235e5c5e71bcc723ab1faccd2f.
For BMG it seems that the VBT to DDI mapping does not follow DG1, and
DG2, but follows ADLP mapping given in Bspec:20124.
Signed-off-by: Ankit Nautiyal
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu
Tables for eDP PHY PLL configuration for different link rates added for
Xe2_HPD. Previous platforms were using C10 PHY for eDP port whereas
Xe2_HPD has C20 PHY.
Bpsec: 64568
CC: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 147
Xe2 platforms doesn't support Aux CCS and the Flat CCS is enabled
through PAT. No CCS modifiers required for Xe2 platforms.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_fb.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git
From: Clint Taylor
Add Xe2_HPD specific CDCLK table and use MTL Funcs.
Bspec: 65243
Cc: Matt Roper
CC: Lucas De Marchi
Signed-off-by: Clint Taylor
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cdclk.c | 11 +++
1 file changed, 11 insertions
Common display code requires IS_BATTLEMAGE macro. Defined the macro.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
b/drivers/gpu/drm/xe/compat
nings from i915 builds if the IS_BATTLEMAGE() check is the only place
the i915 pointer gets used in a function.
While we're at it, also update the IS_LUNARLAKE macro to include the
parameter in the false expression for consistency.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/
From: Matt Roper
BMG is a discrete GPU based on the Xe2 architecture.
Bspec: 68090
Signed-off-by: Matt Roper
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/xe/xe_pci.c| 7 +++
drivers/gpu/drm/xe/xe_platform_types.h | 1 +
include/drm/xe_pciids.h
-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 53 +--
.../gpu/drm/i915/display/intel_cx0_phy_regs.h | 36 ++---
2 files changed, 65 insertions(+), 24 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c
b/drivers/gpu
apping"
Anusha Srivatsa (1):
drm/i915/xe2hpd: Add missing chicken bit register programming
Balasubramani Vivekanandan (9):
drm/i915/display: Prepare to handle new C20 PLL register address
drm/xe/bmg: Define IS_BATTLEMAGE macro
drm/i915/bmg: Define IS_BATTLEMAGE macro
drm/i915/xe2
WAs 14011508470, 14011503030 were applied on IP versions beyond which
they are applicable. Fixed the IP version checks for these workarounds.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display_power.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions
On 25.10.2023 18:47, Dnyaneshwar Bhadane wrote:
> Implemented workaround for XeLPM+
> BSpec: 51762
>
> Signed-off-by: Dnyaneshwar Bhadane
> ---
> drivers/gpu/drm/i915/gt/intel_workarounds.c | 3 +++
> 1 file changed, 3 insertions(+)
Reviewed-by: Balasubramani Vivekan
)
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm/i915/display/intel_display_driver.c | 5 +
drivers/gpu/drm/i915/i915_driver.c | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display_driver.c
b/drivers/gpu/drm
On 21.09.2023 10:38, Jani Nikula wrote:
> On Thu, 21 Sep 2023, Balasubramani Vivekanandan
> wrote:
> > Separate the printing of display version and feature flags from the main
> > driver probe to inside the display initialization. This is in alignment
> > with isolati
Separate the printing of display version and feature flags from the main
driver probe to inside the display initialization. This is in alignment
with isolating the display code from the main driver and helps Xe driver
to resuse it.
Signed-off-by: Balasubramani Vivekanandan
---
drivers/gpu/drm
1 - 100 of 238 matches
Mail list logo