Re: [Freedreno] [PATCH 12/12] drm/msm/adreno: Switch to chip-id for identifying GPU

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark Since the revision becomes an opaque identifier with future GPUs, move away from treating different ranges of bits as having a given meaning. This means that we need to explicitly list different patch revisions in the device table. Signed-o

Re: [Freedreno] [PATCH 09/12] drm/msm/adreno: Add adreno family

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 02:35, Konrad Dybcio wrote: On 6.07.2023 23:10, Rob Clark wrote: From: Rob Clark Sometimes it is useful to know the sub-generation (or "family"). And in any case, this helps us get away from infering the generation from the numerical chip-id. Signed-off-by: Rob Clark --- [...

Re: [Freedreno] [PATCH 07/12] drm/msm/adreno: Move speedbin mapping to device table

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark This simplifies the code. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 171 ++--- drivers/gpu/drm/msm/adreno/adreno_device.c | 51 ++ drivers/gpu/drm/msm/adreno/adreno_gpu.h| 25 ++

Re: [Freedreno] [PATCH 10/12] drm/msm/adreno: Add helper for formating chip-id

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark This is used in a few places, including one that is parsed by userspace tools. So let's standardize it a bit better. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 8 +++- drivers/gpu/drm/msm/adreno/adre

Re: [Freedreno] [PATCH 09/12] drm/msm/adreno: Add adreno family

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark Sometimes it is useful to know the sub-generation (or "family"). And in any case, this helps us get away from infering the generation from the numerical chip-id. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c |

Re: [Freedreno] [PATCH 06/12] drm/msm/adreno: Allow SoC specific gpu device table entries

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark There are cases where there are differences due to SoC integration. Such as cache-coherency support, and (in the next patch) e-fuse to speedbin mappings. I have the feeling that we are trying to circumvent the way DT works. I'd suggest ad

Re: [Freedreno] [PATCH 05/12] drm/msm/adreno: Use quirk to identify cached-coherent support

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark It is better to explicitly list it. With the move to opaque chip-id's for future devices, we should avoid trying to infer things like generation from the numerical value. Would it be better to push this to DT? I mean, we already have a '

Re: [Freedreno] [PATCH 04/12] drm/msm/adreno: Use quirk identify hw_apriv

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark Rather than just open coding a list of gpu-id matches. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 3 +-- drivers/gpu/drm/msm/adreno/adreno_device.c | 4 drivers/gpu/drm/msm/adreno/adreno_gpu.h| 1

Re: [Freedreno] [PATCH v4 5/6] drm/msm/dpu: Refactor printing of main blocks in device core dump

2023-07-06 Thread Abhinav Kumar
On 7/6/2023 7:19 PM, Dmitry Baryshkov wrote: On 07/07/2023 03:16, Abhinav Kumar wrote: On 7/6/2023 5:07 PM, Dmitry Baryshkov wrote: On 06/07/2023 23:48, Ryan McCann wrote: Currently, the names of main blocks are hardcoded into the msm_disp_snapshot_add_block function rather than using the

Re: [Freedreno] [PATCH 03/12] drm/msm/adreno: Remove redundant revn param

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark This just duplicates what is in adreno_info, and can cause confusion if used before it is set. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 -- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 1 - drivers/gpu/dr

Re: [Freedreno] [PATCH 02/12] drm/msm/adreno: Remove redundant gmem size param

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark Even in the ocmem case, the allocated ocmem buffer size should match the requested size. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a2xx_gpu.c | 2 +- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +- drivers/gpu/drm

Re: [Freedreno] [PATCH v4 5/6] drm/msm/dpu: Refactor printing of main blocks in device core dump

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 03:16, Abhinav Kumar wrote: On 7/6/2023 5:07 PM, Dmitry Baryshkov wrote: On 06/07/2023 23:48, Ryan McCann wrote: Currently, the names of main blocks are hardcoded into the msm_disp_snapshot_add_block function rather than using the name that already exists in the catalog. Change

Re: [Freedreno] [PATCH 06/12] drm/msm/adreno: Allow SoC specific gpu device table entries

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > There are cases where there are differences due to SoC integration. > Such as cache-coherency support, and (in the next patch) e-fuse to > speedbin mappings. > > Signed-off-by: Rob Clark > --- of_machine_is_compatible is rather used in

Re: [Freedreno] [PATCH 12/12] drm/msm/adreno: Switch to chip-id for identifying GPU

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > Since the revision becomes an opaque identifier with future GPUs, move > away from treating different ranges of bits as having a given meaning. > This means that we need to explicitly list different patch revisions in > the device table.

Re: [Freedreno] [PATCH v4 6/6] drm/msm/dpu: Update dev core dump to dump registers of sub-blocks

2023-07-06 Thread Dmitry Baryshkov
On 06/07/2023 23:48, Ryan McCann wrote: Currently, the device core dump mechanism does not dump registers of sub-blocks within the DSPP, SSPP, DSC, and PINGPONG blocks. Edit dpu_kms_mdp_snapshot function to account for sub-blocks. Signed-off-by: Ryan McCann --- drivers/gpu/drm/msm/disp/dpu1/d

Re: [Freedreno] [PATCH v4 5/6] drm/msm/dpu: Refactor printing of main blocks in device core dump

2023-07-06 Thread Abhinav Kumar
On 7/6/2023 5:07 PM, Dmitry Baryshkov wrote: On 06/07/2023 23:48, Ryan McCann wrote: Currently, the names of main blocks are hardcoded into the msm_disp_snapshot_add_block function rather than using the name that already exists in the catalog. Change this to take the name directly from the ca

Re: [Freedreno] [PATCH v4 5/6] drm/msm/dpu: Refactor printing of main blocks in device core dump

2023-07-06 Thread Dmitry Baryshkov
On 06/07/2023 23:48, Ryan McCann wrote: Currently, the names of main blocks are hardcoded into the msm_disp_snapshot_add_block function rather than using the name that already exists in the catalog. Change this to take the name directly from the catalog instead of hardcoding it. Signed-off-by: R

Re: [Freedreno] [PATCH 01/12] drm/msm/adreno: Remove GPU name

2023-07-06 Thread Dmitry Baryshkov
On 07/07/2023 00:10, Rob Clark wrote: From: Rob Clark No real need to have marketing names in the kernel. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 24 -- drivers/gpu/drm/msm/adreno/adreno_gpu.c| 13 +--- drivers/gpu/drm/msm/

Re: [Freedreno] [PATCH 10/12] drm/msm/adreno: Add helper for formating chip-id

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > This is used in a few places, including one that is parsed by userspace > tools. So let's standardize it a bit better. > > Signed-off-by: Rob Clark > --- Userspace parsed this weird string instead of the hex-based chipid? weird^2 Kon

Re: [Freedreno] [PATCH 09/12] drm/msm/adreno: Add adreno family

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > Sometimes it is useful to know the sub-generation (or "family"). And in > any case, this helps us get away from infering the generation from the > numerical chip-id. > > Signed-off-by: Rob Clark > --- [...] > .rev = AD

Re: [Freedreno] [PATCH 08/12] drm/msm/adreno: Bring the a630 family together

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > All of these are derivatives of a630. > > Signed-off-by: Rob Clark > --- Reviewed-by: Konrad Dybcio Konrad > drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +- > drivers/gpu/drm/msm/adreno/adreno_gpu.h | 7 --- > 2 files changed, 5

Re: [Freedreno] [PATCH 05/12] drm/msm/adreno: Use quirk to identify cached-coherent support

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > It is better to explicitly list it. With the move to opaque chip-id's > for future devices, we should avoid trying to infer things like > generation from the numerical value. > > Signed-off-by: Rob Clark > --- Reviewed-by: Konrad Dybci

Re: [Freedreno] [PATCH 04/12] drm/msm/adreno: Use quirk identify hw_apriv

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > Rather than just open coding a list of gpu-id matches. > > Signed-off-by: Rob Clark > --- Reviewed-by: Konrad Dybcio Konrad > drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 3 +-- > drivers/gpu/drm/msm/adreno/adreno_device.c | 4 >

Re: [Freedreno] [PATCH 03/12] drm/msm/adreno: Remove redundant revn param

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > This just duplicates what is in adreno_info, and can cause confusion if > used before it is set. > > Signed-off-by: Rob Clark > --- [...] > - return gpu->revn == revn; > + if (WARN_ON_ONCE(!gpu->info)) > + return fa

Re: [Freedreno] [PATCH 02/12] drm/msm/adreno: Remove redundant gmem size param

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > Even in the ocmem case, the allocated ocmem buffer size should match the > requested size. > > Signed-off-by: Rob Clark > --- [...] > + > + WARN_ON(ocmem_hdl->len != adreno_gpu->info->gmem); I believe this should be an error condit

Re: [Freedreno] [PATCH 01/12] drm/msm/adreno: Remove GPU name

2023-07-06 Thread Konrad Dybcio
On 6.07.2023 23:10, Rob Clark wrote: > From: Rob Clark > > No real need to have marketing names in the kernel. > > Signed-off-by: Rob Clark > --- Reviewed-by: Konrad Dybcio [...] > - gpu_name = adreno_gpu->info->name; > - if (!gpu_name) { > - gpu_name = devm_kasprintf(dev

[Freedreno] [PATCH 11/12] dt-bindings: drm/msm/gpu: Extend bindings for chip-id

2023-07-06 Thread Rob Clark
From: Rob Clark Upcoming GPUs use an opaque chip-id for identifying the GPU. Signed-off-by: Rob Clark --- Documentation/devicetree/bindings/display/msm/gpu.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.yaml b/Documentation/dev

[Freedreno] [PATCH 12/12] drm/msm/adreno: Switch to chip-id for identifying GPU

2023-07-06 Thread Rob Clark
From: Rob Clark Since the revision becomes an opaque identifier with future GPUs, move away from treating different ranges of bits as having a given meaning. This means that we need to explicitly list different patch revisions in the device table. Signed-off-by: Rob Clark --- drivers/gpu/drm/m

[Freedreno] [PATCH 10/12] drm/msm/adreno: Add helper for formating chip-id

2023-07-06 Thread Rob Clark
From: Rob Clark This is used in a few places, including one that is parsed by userspace tools. So let's standardize it a bit better. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 8 +++- drivers/gpu/drm/msm/adreno/adreno_gpu.c| 19 --- driv

[Freedreno] [PATCH 09/12] drm/msm/adreno: Add adreno family

2023-07-06 Thread Rob Clark
From: Rob Clark Sometimes it is useful to know the sub-generation (or "family"). And in any case, this helps us get away from infering the generation from the numerical chip-id. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 31 ++- drivers/gpu/drm/msm/a

[Freedreno] [PATCH 08/12] drm/msm/adreno: Bring the a630 family together

2023-07-06 Thread Rob Clark
From: Rob Clark All of these are derivatives of a630. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 7 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c b/driver

[Freedreno] [PATCH 07/12] drm/msm/adreno: Move speedbin mapping to device table

2023-07-06 Thread Rob Clark
From: Rob Clark This simplifies the code. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 171 ++--- drivers/gpu/drm/msm/adreno/adreno_device.c | 51 ++ drivers/gpu/drm/msm/adreno/adreno_gpu.h| 25 +++ 3 files changed, 92 insertions(+), 155 d

[Freedreno] [PATCH 06/12] drm/msm/adreno: Allow SoC specific gpu device table entries

2023-07-06 Thread Rob Clark
From: Rob Clark There are cases where there are differences due to SoC integration. Such as cache-coherency support, and (in the next patch) e-fuse to speedbin mappings. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 34 +++--- drivers/gpu/drm/msm/adr

[Freedreno] [PATCH 05/12] drm/msm/adreno: Use quirk to identify cached-coherent support

2023-07-06 Thread Rob Clark
From: Rob Clark It is better to explicitly list it. With the move to opaque chip-id's for future devices, we should avoid trying to infer things like generation from the numerical value. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 23 +++--- drive

[Freedreno] [PATCH 04/12] drm/msm/adreno: Use quirk identify hw_apriv

2023-07-06 Thread Rob Clark
From: Rob Clark Rather than just open coding a list of gpu-id matches. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 3 +-- drivers/gpu/drm/msm/adreno/adreno_device.c | 4 drivers/gpu/drm/msm/adreno/adreno_gpu.h| 1 + 3 files changed, 6 insertions(+), 2 del

[Freedreno] [PATCH 03/12] drm/msm/adreno: Remove redundant revn param

2023-07-06 Thread Rob Clark
From: Rob Clark This just duplicates what is in adreno_info, and can cause confusion if used before it is set. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 -- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 1 - drivers/gpu/drm/msm/adreno/adreno_gpu.h | 22 +---

[Freedreno] [PATCH 02/12] drm/msm/adreno: Remove redundant gmem size param

2023-07-06 Thread Rob Clark
From: Rob Clark Even in the ocmem case, the allocated ocmem buffer size should match the requested size. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a2xx_gpu.c | 2 +- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 +- drivers

[Freedreno] [PATCH 01/12] drm/msm/adreno: Remove GPU name

2023-07-06 Thread Rob Clark
From: Rob Clark No real need to have marketing names in the kernel. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 24 -- drivers/gpu/drm/msm/adreno/adreno_gpu.c| 13 +--- drivers/gpu/drm/msm/adreno/adreno_gpu.h| 1 - 3 files chan

[Freedreno] [PATCH 00/12] drm/msm/adreno: Move away from legacy revision matching

2023-07-06 Thread Rob Clark
From: Rob Clark Downstream seems to be moving to using the chip_id as simply an opaque identifier, and if we want to avoid headaches with userspace mesa supporting both kgsl and upstream, we should move away from the assumption that certain bits in the chip_id have a specific meaning. Patches 6

[Freedreno] [PATCH v4 2/6] drm/msm/dpu: Drop unused num argument from relevant macros

2023-07-06 Thread Ryan McCann
Drop unused parameter "num" from VIG_SBLK_NOSCALE and DMA sub-block macros. Update calls to relevant macros to reflect change. Reviewed-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov Signed-off-by: Ryan McCann --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 20 ++-- 1 fil

[Freedreno] [PATCH v4 3/6] drm/msm/dpu: Define names for unnamed sblks

2023-07-06 Thread Ryan McCann
Some sub-blocks in the hw catalog have not been given a name, so when the registers from that block are dumped, there is no name to reference. Define names for relevant sub-blocks to fix this. Reviewed-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov Signed-off-by: Ryan McCann --- drivers/gpu/d

[Freedreno] [PATCH v4 5/6] drm/msm/dpu: Refactor printing of main blocks in device core dump

2023-07-06 Thread Ryan McCann
Currently, the names of main blocks are hardcoded into the msm_disp_snapshot_add_block function rather than using the name that already exists in the catalog. Change this to take the name directly from the catalog instead of hardcoding it. Signed-off-by: Ryan McCann --- drivers/gpu/drm/msm/disp/

[Freedreno] [PATCH v4 1/6] drm/msm: Update dev core dump to not print backwards

2023-07-06 Thread Ryan McCann
Device core dump add block method adds hardware blocks to dumping queue with stack behavior which causes the hardware blocks to be printed in reverse order. Change the addition to dumping queue data structure from "list_add" to "list_add_tail" for FIFO queue behavior. Fixes: 98659487b845 ("drm/msm

[Freedreno] [PATCH v4 4/6] drm/msm/dpu: Remove redundant prefix/suffix in name of sub-blocks

2023-07-06 Thread Ryan McCann
For a device core dump, the registers of sub-blocks are printed under a title formatted as . For example, the csc sub-block for an SSPP main block "sspp_0" would be printed "sspp_0_sspp_csc0". The title is clearly redundant due to the duplicate "sspp" and "0" that exist in both the mainBlkName and

[Freedreno] [PATCH v4 6/6] drm/msm/dpu: Update dev core dump to dump registers of sub-blocks

2023-07-06 Thread Ryan McCann
Currently, the device core dump mechanism does not dump registers of sub-blocks within the DSPP, SSPP, DSC, and PINGPONG blocks. Edit dpu_kms_mdp_snapshot function to account for sub-blocks. Signed-off-by: Ryan McCann --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 66 +

[Freedreno] [PATCH v4 0/6] Add support to print sub-block registers in dpu hw catalog

2023-07-06 Thread Ryan McCann
The purpose of this patch series is to add support to print the registers of sub-blocks in the DPU hardware catalog and fix the order in which all hardware blocks are dumped for a device core dump. This involves: 1. Changing data structure from stack to queue to fix the printing order of the devic

[Freedreno] [PATCH v3 4/6] drm/msm/dpu: Remove redundant prefix/suffix in name of sub-blocks

2023-07-06 Thread Ryan McCann
For a device core dump, the registers of sub-blocks are printed under a title formatted as . For example, the csc sub-block for an SSPP main block "sspp_0" would be printed "sspp_0_sspp_csc0". The title is clearly redundant due to the duplicate "sspp" and "0" that exist in both the mainBlkName and

[Freedreno] [PATCH v3 1/6] drm/msm: Update dev core dump to not print backwards

2023-07-06 Thread Ryan McCann
Device core dump add block method adds hardware blocks to dumping queue with stack behavior which causes the hardware blocks to be printed in reverse order. Change the addition to dumping queue data structure from "list_add" to "list_add_tail" for FIFO queue behavior. Fixes: 98659487b845 ("drm/msm

[Freedreno] [PATCH v3 5/6] drm/msm/dpu: Refactor printing of main blocks in device core dump

2023-07-06 Thread Ryan McCann
Currently, the names of main blocks are hardcoded into the msm_disp_snapshot_add_block function rather than using the name that already exists in the catalog. Change this to take the name directly from the catalog instead of hardcoding it. Signed-off-by: Ryan McCann --- drivers/gpu/drm/msm/disp/

[Freedreno] [PATCH v3 2/6] drm/msm/dpu: Drop unused num argument from relevant macros

2023-07-06 Thread Ryan McCann
Drop unused parameter "num" from VIG_SBLK_NOSCALE and DMA sub-block macros. Update calls to relevant macros to reflect change. Signed-off-by: Ryan McCann --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/

[Freedreno] [PATCH v3 6/6] drm/msm/dpu: Update dev core dump to dump registers of sub-blocks

2023-07-06 Thread Ryan McCann
Currently, the device core dump mechanism does not dump registers of sub-blocks within the DSPP, SSPP, DSC, and PINGPONG blocks. Edit dpu_kms_mdp_snapshot function to account for sub-blocks. Signed-off-by: Ryan McCann --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 66 +

[Freedreno] [PATCH v3 3/6] drm/msm/dpu: Define names for unnamed sblks

2023-07-06 Thread Ryan McCann
Some sub-blocks in the hw catalog have not been given a name, so when the registers from that block are dumped, there is no name to reference. Define names for relevant sub-blocks to fix this. Signed-off-by: Ryan McCann --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 20 ++--

[Freedreno] [PATCH v3 0/6] Add support to print sub-block registers in dpu hw catalog

2023-07-06 Thread Ryan McCann
The purpose of this patch series is to add support to print the registers of sub-blocks in the DPU hardware catalog and fix the order in which all hardware blocks are dumped for a device core dump. This involves: 1. Changing data structure from stack to queue to fix the printing order of the devic

Re: [Freedreno] [PATCH] drm/msm: Check for the GPU IOMMU during bind

2023-07-06 Thread Dmitry Baryshkov
On 10/03/2023 00:20, Jordan Crouse wrote: While booting with amd,imageon on a headless target the GPU probe was failing with -ENOSPC in get_pages() from msm_gem.c. Investigation showed that the driver was using the default 16MB VRAM carveout because msm_use_mmu() was returning false since headle

Re: [Freedreno] [PATCH 2/2] drm/bridge: lt9611: Do not generate HFP/HBP/HSA and EOT packet

2023-07-06 Thread Amit Pundir
On Wed, 5 Jul 2023 at 11:09, Dmitry Baryshkov wrote: > > [Adding freedreno@ to cc list] > > On Wed, 5 Jul 2023 at 08:31, Jagan Teki wrote: > > > > Hi Amit, > > > > On Wed, Jul 5, 2023 at 10:15 AM Amit Pundir wrote: > > > > > > Hi Marek, > > > > > > On Wed, 5 Jul 2023 at 01:48, Marek Vasut wrote

Re: [Freedreno] RFC: DSI host capabilities (was: [PATCH RFC 03/10] drm/panel: Add LGD panel driver for Sony Xperia XZ3)

2023-07-06 Thread Neil Armstrong
On 06/07/2023 09:59, Maxime Ripard wrote: On Thu, Jul 06, 2023 at 09:33:15AM +0200, Neil Armstrong wrote: On 06/07/2023 09:24, Maxime Ripard wrote: On Wed, Jul 05, 2023 at 11:09:40PM +0300, Dmitry Baryshkov wrote: On 05/07/2023 19:53, Maxime Ripard wrote: On Wed, Jul 05, 2023 at 06:20:13PM +0

Re: [Freedreno] RFC: DSI host capabilities (was: [PATCH RFC 03/10] drm/panel: Add LGD panel driver for Sony Xperia XZ3)

2023-07-06 Thread Maxime Ripard
On Thu, Jul 06, 2023 at 09:33:15AM +0200, Neil Armstrong wrote: > On 06/07/2023 09:24, Maxime Ripard wrote: > > On Wed, Jul 05, 2023 at 11:09:40PM +0300, Dmitry Baryshkov wrote: > > > On 05/07/2023 19:53, Maxime Ripard wrote: > > > > On Wed, Jul 05, 2023 at 06:20:13PM +0300, Dmitry Baryshkov wrote:

Re: [Freedreno] RFC: DSI host capabilities (was: [PATCH RFC 03/10] drm/panel: Add LGD panel driver for Sony Xperia XZ3)

2023-07-06 Thread Neil Armstrong
On 06/07/2023 09:24, Maxime Ripard wrote: On Wed, Jul 05, 2023 at 11:09:40PM +0300, Dmitry Baryshkov wrote: On 05/07/2023 19:53, Maxime Ripard wrote: On Wed, Jul 05, 2023 at 06:20:13PM +0300, Dmitry Baryshkov wrote: On Wed, 5 Jul 2023 at 17:24, Maxime Ripard wrote: On Wed, Jul 05, 2023 at 0

Re: [Freedreno] RFC: DSI host capabilities (was: [PATCH RFC 03/10] drm/panel: Add LGD panel driver for Sony Xperia XZ3)

2023-07-06 Thread Maxime Ripard
On Wed, Jul 05, 2023 at 11:09:40PM +0300, Dmitry Baryshkov wrote: > On 05/07/2023 19:53, Maxime Ripard wrote: > > On Wed, Jul 05, 2023 at 06:20:13PM +0300, Dmitry Baryshkov wrote: > > > On Wed, 5 Jul 2023 at 17:24, Maxime Ripard wrote: > > > > > > > > On Wed, Jul 05, 2023 at 04:37:57PM +0300, Dmi