[PATCH V9] drm/xe/uapi: Use hint for guc to set GT frequency

2025-02-12 Thread Tejas Upadhyay
query config for use to check kernel support (Jose) - Dont need to take runtime pm (Vinay) V2: - DRM_XE_EXEC_QUEUE_LOW_LATENCY_HINT 1 planned for other hint(Szymon) - Add motivation to description (Lucas) Reviewed-by: Vinay Belgaumkar Signed-off-by: Tejas Upadhyay --- Documentation/gpu/drm

[PATCH V9] drm/xe/uapi: Use hint for guc to set GT frequency

2025-02-12 Thread Tejas Upadhyay
query config for use to check kernel support (Jose) - Dont need to take runtime pm (Vinay) V2: - DRM_XE_EXEC_QUEUE_LOW_LATENCY_HINT 1 is already planned for other hint(Szymon) - Add motivation to description (Lucas) Reviewed-by: Vinay Belgaumkar Signed-off-by: Tejas Upadhyay

[PATCH V7] drm/xe/mmap: Add mmap support for PCI memory barrier

2025-01-13 Thread Tejas Upadhyay
f-by: Tejas Upadhyay --- drivers/gpu/drm/xe/xe_bo.c | 19 +- drivers/gpu/drm/xe/xe_bo.h | 2 + drivers/gpu/drm/xe/xe_device.c | 107 - include/uapi/drm/xe_drm.h | 29 - 4 files changed, 154 insertions(+), 3 deletions(-) diff --git a/dri

[RFC PATCH V3] drm/xe/guc: Use exec queue hints for GT frequency

2025-01-10 Thread Tejas Upadhyay
ver user flag to kernel internal flag and use (Oak) - Support query config for use to check kernel support (Jose) - Dont need to take runtime pm (Vinay) V2: - DRM_XE_EXEC_QUEUE_LOW_LATENCY_HINT 1 is already planned for other hint(Szymon) - Add motivation to description (Lucas) Signed-off-b

[RFC PATCH V2] drm/xe/guc: Use exec queue hints for GT frequency

2025-01-09 Thread Tejas Upadhyay
lel. V2: - DRM_XE_EXEC_QUEUE_LOW_LATENCY_HINT 1 is already planned for other hint(Szymon) - Add motivation to description (Lucas) Cc:dri-devel@lists.freedesktop.org Cc:vinay.belgaum...@intel.com Cc:Michal Mrozek Cc:Szymon Morek Cc:José Roberto de Souza Signed-off-by: Tejas Upadhyay --- drivers/gpu/dr

[RFC PATCH 1/2] drm/xe/guc: Use exec queue hints for GT frequency

2025-01-08 Thread Tejas Upadhyay
is ready, will reference here. Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/xe/abi/guc_actions_slpc_abi.h | 3 +++ drivers/gpu/drm/xe/xe_exec_queue.c| 7 --- drivers/gpu/drm/xe/xe_guc_pc.c| 16 drivers/gpu/drm/xe/xe_guc_submit.c

[RFC PATCH 2/2] drm/uapi: Adjust uniform spacing

2025-01-08 Thread Tejas Upadhyay
Extensions in exec queue creation formatted to have uniform spacing in defines. Signed-off-by: Tejas Upadhyay --- include/uapi/drm/xe_drm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h index 62447f5422d8

[RFC PATCH 0/2] Add UAPI support for low latency hint

2025-01-08 Thread Tejas Upadhyay
With this user can hint low latency during exec queue creation. KMD will forward hint to guc. Note : There is some issue going on with GUC, that setting hint is not correctly fixing high frequency. The work to fix that in GUC is being done parallely so sending RFC to get KMD reviews going. Tejas

[PATCH V6 1/1] drm/xe/mmap: Add mmap support for PCI memory barrier

2025-01-07 Thread Tejas Upadhyay
Cc: Michal Mrozek Reviewed-by: Matthew Auld Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/xe/xe_bo.c | 16 - drivers/gpu/drm/xe/xe_bo.h | 2 + drivers/gpu/drm/xe/xe_device.c | 103 - include/uapi/drm/xe_drm.h | 29 +- 4 files changed,

[PATCH V6 0/1] Add mmap support for pci membarrier

2025-01-07 Thread Tejas Upadhyay
Test-with: 20250107140023.2940684-1-tejas.upadh...@intel.com Tejas Upadhyay (1): drm/xe/mmap: Add mmap support for PCI memory barrier drivers/gpu/drm/xe/xe_bo.c | 16 - drivers/gpu/drm/xe/xe_bo.h | 2 + drivers/gpu/drm/xe/xe_device.c | 103

[PATCH V6] drm/xe/mmap: Add mmap support for PCI memory barrier

2024-12-18 Thread Tejas Upadhyay
Cc: Michal Mrozek Reviewed-by: Matthew Auld Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/xe/xe_bo.c | 16 - drivers/gpu/drm/xe/xe_bo.h | 2 + drivers/gpu/drm/xe/xe_device.c | 103 - include/uapi/drm/xe_drm.h | 29 +- 4 files changed,

[PATCH] drm/vgem: Use 256B aligned pitch

2021-06-30 Thread Tejas Upadhyay
Having different alignment requirement by different drivers, 256B aligned should work for all drm drivers. Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/vgem/vgem_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem

[PATCH libdrm 2/2] intel: add INTEL_ADLS_IDS to the pciids list

2021-02-17 Thread Tejas Upadhyay
This enables drm_intel_bufmgr on ADLS Signed-off-by: Tejas Upadhyay --- intel/intel_chipset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/intel/intel_chipset.c b/intel/intel_chipset.c index 439db3e5..8ec36f82 100644 --- a/intel/intel_chipset.c +++ b/intel/intel_chipset.c @@ -35,6 +35,7

[PATCH libdrm 1/2] intel: sync i915_pciids.h with kernel

2021-02-17 Thread Tejas Upadhyay
f08c ("drm/i915: Reclassify SKL 0x1923 and 0x1927 as ULT") 194909a32aed ("drm/i915: Reclassify SKL 0x192a as GT3") 82e84284ab7d ("drm/i915: Update Haswell PCI IDs") 24ea098b7c0d ("drm/i915/jsl: Split EHL/JSL platform info and PCI ids") b50b7991b739 (&q

[PATCH libdrm 0/2] Update i915_pciids.h and support ADLS

2021-02-17 Thread Tejas Upadhyay
This series adds : 1. sync up of i915_pciids.h with kernel 2. Support for ADLS platform Tejas Upadhyay (2): intel: sync i915_pciids.h with kernel intel: add INTEL_ADLS_IDS to the pciids list intel/i915_pciids.h | 177 -- intel/intel_chipset.c | 1

[PATCH] drm/i915/edp/jsl: Update vswing table for HBR and HBR2

2020-10-14 Thread Tejas Upadhyay
JSL has update in vswing table for eDP. BSpec: 21257 Cc: Souza Jose Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/intel_ddi.c | 87 +++- 1 file changed, 85 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu

[PATCH V2] drm/i915/jsl: Split EHL/JSL platform info and PCI ids

2020-10-13 Thread Tejas Upadhyay
: - Rebased to avoid merge conflicts - Added missed check for jasperlake in intel_uc_fw.c Cc : Matt Roper Cc : Ville Syrjälä Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/icl_dsi.c | 4 ++-- drivers/gpu/drm/i915/display/intel_cdclk.c | 4 ++-- drivers/gpu/drm

[PATCH] drm/i915/jsl: Split EHL/JSL platform info and PCI ids

2020-10-07 Thread Tejas Upadhyay
Syrjälä Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/icl_dsi.c | 4 ++-- drivers/gpu/drm/i915/display/intel_cdclk.c | 4 ++-- drivers/gpu/drm/i915/display/intel_combo_phy.c | 6 +++--- drivers/gpu/drm/i915/display/intel_ddi.c | 12 ++-- drivers/gpu

[PATCH v4 0/2] drm/i915/jsl: Update JSL Voltage swing table

2020-10-05 Thread Tejas Upadhyay
commit Changes since V1 : - IS_ELKHARTLAKE and IS_JASPERLAKE is replaced with HAS_PCH_MCC(EHL) and HAS_PCH_JSP(JSL) respectively - Reverted EHL/JSL PCI ids split change Tejas Upadhyay (2): drm/i915/jsl: Split EHL/JSL platform info and PCI ids drm/i915/edp/jsl: Update

[PATCH v4 2/2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2

2020-10-05 Thread Tejas Upadhyay
) respectively - Reverted EHL/JSL PCI ids split change Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/intel_ddi.c | 93 ++-- 1 file changed, 88 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915

[PATCH v4 1/2] drm/i915/jsl: Split EHL/JSL platform info and PCI ids

2020-10-05 Thread Tejas Upadhyay
change Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/icl_dsi.c | 4 ++-- drivers/gpu/drm/i915/display/intel_cdclk.c | 4 ++-- drivers/gpu/drm/i915/display/intel_combo_phy.c | 6 +++--- drivers/gpu/drm/i915/display/intel_display.c | 8 drivers/gpu/drm/i915

[PATCH v4 2/2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2

2020-10-05 Thread Tejas Upadhyay
) respectively - Reverted EHL/JSL PCI ids split change Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/intel_ddi.c | 93 ++-- 1 file changed, 88 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915

[PATCH v4 1/2] drm/i915/jsl: Split EHL/JSL platform info and PCI ids

2020-10-05 Thread Tejas Upadhyay
change Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/icl_dsi.c | 4 ++-- drivers/gpu/drm/i915/display/intel_cdclk.c | 4 ++-- drivers/gpu/drm/i915/display/intel_combo_phy.c | 6 +++--- drivers/gpu/drm/i915/display/intel_display.c | 8 drivers/gpu/drm/i915

[PATCH v4 0/2] drm/i915/jsl: Update JSL Voltage swing table

2020-10-05 Thread Tejas Upadhyay
commit Changes since V1 : - IS_ELKHARTLAKE and IS_JASPERLAKE is replaced with HAS_PCH_MCC(EHL) and HAS_PCH_JSP(JSL) respectively - Reverted EHL/JSL PCI ids split change Tejas Upadhyay (2): drm/i915/jsl: Split EHL/JSL platform info and PCI ids drm/i915/edp/jsl: Update

[PATCH v3 0/2] drm/i915/jsl: Update JSL Voltage swing table

2020-10-01 Thread Tejas Upadhyay
Changes since V1 : - IS_ELKHARTLAKE and IS_JASPERLAKE is replaced with HAS_PCH_MCC(EHL) and HAS_PCH_JSP(JSL) respectively - Reverted EHL/JSL PCI ids split change Tejas Upadhyay (2): drm/i915/jsl: Split EHL/JSL platform info and PCI ids drm/i915/edp/jsl: Update vswing

[PATCH v3 2/2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2

2020-10-01 Thread Tejas Upadhyay
with HAS_PCH_MCC(EHL) and HAS_PCH_JSP(JSL) respectively - Reverted EHL/JSL PCI ids split change Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/intel_ddi.c | 95 ++-- 1 file changed, 89 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v3 1/2] drm/i915/jsl: Split EHL/JSL platform info and PCI ids

2020-10-01 Thread Tejas Upadhyay
HAS_PCH_MCC(EHL) and HAS_PCH_JSP(JSL) respectively - Reverted EHL/JSL PCI ids split change Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/icl_dsi.c | 4 ++-- drivers/gpu/drm/i915/display/intel_cdclk.c | 4 ++-- drivers/gpu/drm/i915/display

[PATCH v2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2

2020-09-29 Thread Tejas Upadhyay
JSL has update in vswing table for eDP BSpec: 21257 Changes since V1 : - IS_ELKHARTLAKE and IS_JASPERLAKE is replaced with HAS_PCH_MCC(EHL) and HAS_PCH_JSP(JSL) respectively - Reverted EHL/JSL PCI ids split change Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm

[PATCH 2/2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2

2020-09-28 Thread Tejas Upadhyay
JSL has update in vswing table for eDP BSpec: 21257 Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/display/intel_ddi.c | 67 ++-- 1 file changed, 64 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display

[PATCH 1/2] drm/i915/jsl: Split EHL/JSL platform info and PCI ids

2020-09-28 Thread Tejas Upadhyay
Split the basic platform definition, macros, and PCI IDs to differentiate between EHL and JSL platforms. Signed-off-by: Tejas Upadhyay --- drivers/gpu/drm/i915/i915_drv.h | 4 +++- drivers/gpu/drm/i915/i915_pci.c | 9 + drivers/gpu/drm/i915/intel_device_info.c | 1

[PATCH 0/2] drm/i915/jsl: Update JasperLake Voltage swing table

2020-09-28 Thread Tejas Upadhyay
Patch series covers following things: 1. Split and differentiate between EhlkhartLake and JasperLake platfrom 2. Update voltage swing table for eDP on JasperLake platform BSpec: 21257 Tejas Upadhyay (2): drm/i915/jsl: Split EHL/JSL platform info and PCI ids drm/i915/edp/jsl: Update vswing

[PATCH 1/1] drm/dp: Add debufs support for DP dpcd log

2018-08-02 Thread Tejas Upadhyay
@0x0206: 0x66 @0x0207: 0x00 Above information will help to debug DisplayPort related runtime issues knowing what communication was done between DisplayPort sink and source. Signed-off-by: Tejas Upadhyay Signed-off-by: Hyun Kwon --- drivers/gpu/drm/Kconfig | 10 +++ drivers/gpu/drm