Re: [Intel-gfx] [PATCH v6 3/3] drm/i915/hdcp: reuse rx_info for mst stream type1 capability check

2021-09-02 Thread Kandpal, Suraj
- From: Gupta, Anshuman Sent: Thursday, September 2, 2021 6:40 PM To: Li, Juston ; intel-gfx@lists.freedesktop.org; Kandpal, Suraj Cc: seanp...@chromium.org; C, Ramalingam ; Vivi, Rodrigo Subject: RE: [Intel-gfx] [PATCH v6 3/3] drm/i915/hdcp: reuse rx_info for mst stream type1 capability check

Re: [Intel-gfx] [PATCH v6 1/3] drm/i915/hdcp: update cp_irq_count_cached in intel_dp_hdcp2_read_msg()

2021-09-02 Thread Kandpal, Suraj
: Gupta, Anshuman Sent: Thursday, September 2, 2021 6:38 PM To: Li, Juston ; intel-gfx@lists.freedesktop.org; Kandpal, Suraj Cc: seanp...@chromium.org; C, Ramalingam ; Vivi, Rodrigo Subject: RE: [Intel-gfx] [PATCH v6 1/3] drm/i915/hdcp: update cp_irq_count_cached in intel_dp_hdcp2_read_msg

Re: [Intel-gfx] [PATCH v6 2/3] drm/i915/hdcp: read RxInfo once when reading RepeaterAuth_Send_ReceiverID_List

2021-09-02 Thread Kandpal, Suraj
: Gupta, Anshuman Sent: Thursday, September 2, 2021 6:39 PM To: Li, Juston ; intel-gfx@lists.freedesktop.org; Kandpal, Suraj Cc: seanp...@chromium.org; C, Ramalingam ; Vivi, Rodrigo Subject: RE: [Intel-gfx] [PATCH v6 2/3] drm/i915/hdcp: read RxInfo once when reading

[Intel-gfx] [PATCH 3/4] drm/i915: Define WD trancoder for i915

2021-12-16 Thread Kandpal, Suraj
From: suraj kandpal Adding WD Types, WD transcoder to enum list and WD Transcoder offsets Signed-off-by: suraj kandpal --- drivers/gpu/drm/i915/display/intel_display.h | 6 ++ drivers/gpu/drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/i915_reg.h

[Intel-gfx] [PATCH 4/4] drm/i915: Enabling WD Transcoder

2021-12-16 Thread Kandpal, Suraj
From: suraj kandpal Adding support for writeback transcoder to start capturing frames using interrupt mechanism Signed-off-by: suraj kandpal --- drivers/gpu/drm/i915/Makefile |2 + drivers/gpu/drm/i915/display/intel_acpi.c |1 +

[Intel-gfx] [PATCH 0/4] Adding writeback support for i915

2021-12-16 Thread Kandpal, Suraj
The following series of patches add writeback support for i915. This has been validated on TGL using IGT. Note:Only a single instance of WD transcoder is being considered for now, using multiple WD transcoder may not work. The support for the same will be added in next set of patches. suraj

[Intel-gfx] [PATCH 1/4] drm: add writeback pointers to drm_connector

2021-12-16 Thread Kandpal, Suraj
From: suraj kandpal Adding drm_writeback_connector to drm_connector so that writeback_connector can be fetched from drm_connector Adding drm_connector and drm_encoder pointers in drm_writeback_connector Signed-off-by: suraj kandpal --- drivers/gpu/drm/drm_writeback.c | 19 ++-

[Intel-gfx] [PATCH 2/4] drm/komeda: change driver to use drm_writeback_connector.base pointer

2021-12-16 Thread Kandpal, Suraj
From: suraj kandpal Changing driver to use drm_writeback_connector.base pointer Signed-off-by: suraj kandpal --- drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2 +- drivers/gpu/drm/arm/display/komeda/komeda_kms.h | 3 ++-

Re: [Intel-gfx] [PATCH 4/4] drm/i915: Enabling WD Transcoder

2022-01-06 Thread Kandpal, Suraj
> > Adding support for writeback transcoder to start capturing frames using > > interrupt mechanism > > I stopped reviewing this after a while, because there's just way too > much unrelated noise in the patch to even be able to focus on what's > actually being done functionally here. There are

Re: [Intel-gfx] [PATCH 3/4] drm/i915: Define WD trancoder for i915

2022-01-06 Thread Kandpal, Suraj
> > Adding WD Types, WD transcoder to enum list and WD Transcoder offsets > > This should be part of the patch that uses them. Got it will squash this patch with the one using the above Thanks, Suraj Kandpal > > BR, > Jani.

Re: [Intel-gfx] [PATCH 1/4] drm: add writeback pointers to drm_connector

2022-01-06 Thread Kandpal, Suraj
> > Adding drm_connector and drm_encoder pointers in > > drm_writeback_connector > > Why? The elements of struct drm_writeback_connector are struct drm_writeback_connector { Struct drm_connector base; Struct drm_encoder encoder; Similarly the elements of intel_encoder and

Re: [Intel-gfx] [PATCH 2/4] drm/komeda: change driver to use drm_writeback_connector.base pointer

2022-01-06 Thread Kandpal, Suraj
> Every commit should build and work on its own, so this makes me believe > the previous patch breaks the build. > Sure Jani will address this in the next set of patches Thanks, Suraj Kandpal

[Intel-gfx] [PATCH 3/3] drm/vkms: change vkms driver to use drm_writeback_connector.base pointer

2022-01-11 Thread Kandpal, Suraj
Changing vkms driver to accomadate the change of drm_writeback_connector.base to a pointer the reason for which is explained in the Patch(drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal, Suraj --- drivers/gpu/drm/vkms/vkms_writeback.c | 6 +++--- 1 file changed, 3

[Intel-gfx] [PATCH 2/3] drm/arm/komeda : change driver to use drm_writeback_connector.base pointer

2022-01-11 Thread Kandpal, Suraj
Making changes to komeda driver because we had to change drm_writeback_connector.base into a pointer the reason for which is expained in the Patch (drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal, Suraj --- drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2

[Intel-gfx] [PATCH 1/3] drm: add writeback pointers to drm_connector

2022-01-11 Thread Kandpal, Suraj
ripple effect due to the above changes namely in two drivers as I can see it komeda and vkms have been dealt with in the upcoming patches of this series. Signed-off-by: Kandpal, Suraj --- drivers/gpu/drm/drm_writeback.c | 19 ++- include/drm/drm_connector.h | 3 +++ include

Re: [Intel-gfx] [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-03-08 Thread Kandpal, Suraj
Hi Abhinav, > > Hi, > >>> Hi, > > Hi Abhinav, > >> Hi Laurent > >> > >> Ok sure, I can take this up but I need to understand the proposal > >> a little bit more before proceeding on this. So we will discuss > >> this in another email where we specifically talk about the >

Re: [Intel-gfx] [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-02-25 Thread Kandpal, Suraj
Hi Abhinav, > Based on the discussion in this thread [1] , it seems like having drm_encoder > as a pointer seems to have merits for both of us and also in agreement with > the folks on this thread and has a better chance of an ack. > > However drm_connector is not. > > I had a brief look at

Re: [Intel-gfx] [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-02-22 Thread Kandpal, Suraj
Hey, > The connector/encoder funcs you do have to pass to > drm_writeback_connector_init() can't use any of the shared driver > infrastructure that assume a certain inheritance. > > See also my reply to Laurent [1]. > > > It well might be that we all misunderstand your design. Do you have a > >

Re: [Intel-gfx] [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-03-04 Thread Kandpal, Suraj
Hi Abhinav, > Hi Laurent > > Ok sure, I can take this up but I need to understand the proposal a little bit > more before proceeding on this. So we will discuss this in another email > where we specifically talk about the connector changes. > > Also, I am willing to take this up once the encoder

Re: [Intel-gfx] [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-03-04 Thread Kandpal, Suraj
Hi, > > Hi Abhinav, > > > Hi Laurent > > > > > > Ok sure, I can take this up but I need to understand the proposal a > > > little bit more before proceeding on this. So we will discuss this > > > in another email where we specifically talk about the connector changes. > > > > > > Also, I am

Re: [Intel-gfx] [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-03-04 Thread Kandpal, Suraj
Hi, > > Hi, > > > > Hi Abhinav, > > > > > Hi Laurent > > > > > > > > > > Ok sure, I can take this up but I need to understand the > > > > > proposal a little bit more before proceeding on this. So we will > > > > > discuss this in another email where we specifically talk about the > connector

Re: [Intel-gfx] [RFC PATCH v2 3/3] drm/i915: Enabling WD Transcoder

2022-03-24 Thread Kandpal, Suraj
Hi All, Gentle Reminder Regards, Suraj Kandpal > drivers/gpu/drm/i915/Makefile | 1 + > drivers/gpu/drm/i915/display/intel_acpi.c | 1 + > drivers/gpu/drm/i915/display/intel_display.c | 89 +- > drivers/gpu/drm/i915/display/intel_display.h | 9 + >

[Intel-gfx] [PATCH v2 1/6] drm: add writeback pointers to drm_connector

2022-02-02 Thread Kandpal Suraj
ripple effect due to the above changes namely in two drivers as I can see it komeda and vkms have been dealt with in the upcoming patches of this series. Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/drm_writeback.c | 19 ++- include/drm/drm_connector.h | 3 +++ include

[Intel-gfx] [PATCH v2 2/6] drm/arm/komeda : change driver to use drm_writeback_connector.base pointer

2022-02-02 Thread Kandpal Suraj
Making changes to komeda driver because we had to change drm_writeback_connector.base into a pointer the reason for which is expained in the Patch (drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 2

[Intel-gfx] [PATCH v2 4/6] drm/vc4: vc4 driver changes to accommodate changes done in drm_writeback_connector structure

2022-02-02 Thread Kandpal Suraj
Changing vc4 driver to accomadate the change of drm_writeback_connector.base and drm_writeback_connector.encoder to a pointer the reason for which is explained in the Patch(drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/vc4/vc4_txp.c | 20

[Intel-gfx] [PATCH v2 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-02-02 Thread Kandpal Suraj
Changing rcar_du driver to accomadate the change of drm_writeback_connector.base and drm_writeback_connector.encoder to a pointer the reason for which is explained in the Patch(drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/rcar-du/rcar_du_crtc.h

[Intel-gfx] [PATCH v2 6/6] drm/arm: changes to malidp driver resulting from drm_writeback_connector structure changes

2022-02-02 Thread Kandpal Suraj
Changing malidp driver to accomadate the change of drm_writeback_connector.base and drm_writeback_connector.encoder to a pointer the reason for which is explained in the Patch(drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/arm/malidp_crtc.c | 2

[Intel-gfx] [PATCH v2 3/6] drm/vkms: change vkms driver to use drm_writeback_connector.base pointer

2022-02-02 Thread Kandpal Suraj
Changing vkms driver to accomadate the change of drm_writeback_connector.base to a pointer the reason for which is explained in the Patch(drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/vkms/vkms_writeback.c | 9 ++--- 1 file changed, 6

[Intel-gfx] [PATCH 2/6] drm/arm/komeda : change driver to use drm_writeback_connector.base pointer

2022-02-02 Thread Kandpal Suraj
Making changes to komeda driver because we had to change drm_writeback_connector.base into a pointer the reason for which is expained in the Patch (drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj Reviewed-by: Carsten Haitzler --- drivers/gpu/drm/arm/display/komeda

[Intel-gfx] [PATCH 3/6] drm/vkms: change vkms driver to use drm_writeback_connector.base pointer

2022-02-02 Thread Kandpal Suraj
Changing vkms driver to accomadate the change of drm_writeback_connector.base to a pointer the reason for which is explained in the Patch(drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/vkms/vkms_writeback.c | 9 ++--- 1 file changed, 6

[Intel-gfx] [PATCH 4/6] drm/vc4: vc4 driver changes to accommodate changes done in drm_writeback_connector structure

2022-02-02 Thread Kandpal Suraj
Changing vc4 driver to accomadate the change of drm_writeback_connector.base and drm_writeback_connector.encoder to a pointer the reason for which is explained in the Patch(drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/vc4/vc4_txp.c | 20

[Intel-gfx] [PATCH 0/6] drm writeback connector changes

2022-02-02 Thread Kandpal Suraj
by it. I had perviously floated a patch series but missed some of the drivers that were effected by the change hence refloating the patch series Kandpal Suraj (6): drm: add writeback pointers to drm_connector drm/arm/komeda : change driver to use drm_writeback_connector.base pointer drm

[Intel-gfx] [PATCH 1/6] drm: add writeback pointers to drm_connector

2022-02-02 Thread Kandpal Suraj
ripple effect due to the above changes namely in two drivers as I can see it komeda and vkms have been dealt with in the upcoming patches of this series. Signed-off-by: Kandpal Suraj Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/drm_writeback.c | 19 ++- include/drm

[Intel-gfx] [PATCH 5/6] drm/rcar_du: changes to rcar-du driver resulting from drm_writeback_connector structure changes

2022-02-02 Thread Kandpal Suraj
Changing rcar_du driver to accomadate the change of drm_writeback_connector.base and drm_writeback_connector.encoder to a pointer the reason for which is explained in the Patch(drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/rcar-du/rcar_du_crtc.h

[Intel-gfx] [PATCH 6/6] drm/arm: changes to malidp driver resulting from drm_writeback_connector structure changes

2022-02-02 Thread Kandpal Suraj
Changing malidp driver to accomadate the change of drm_writeback_connector.base and drm_writeback_connector.encoder to a pointer the reason for which is explained in the Patch(drm: add writeback pointers to drm_connector). Signed-off-by: Kandpal Suraj --- drivers/gpu/drm/arm/malidp_crtc.c | 2

Re: [Intel-gfx] [PATCH 1/6] drm: add writeback pointers to drm_connector

2022-02-03 Thread Kandpal, Suraj
Hi Dmitry, Thanks for your comments > Could you please clarify, why do you want to use intel_connector for the > writeback connector? > I can see a usecase for sharing an encoder between the display and writback > pipelines (and if I'm not mistaken, this is the case for Abhinav's case). >

Re: [Intel-gfx] [PATCH 1/3] drm: add writeback pointers to drm_connector

2022-01-27 Thread Kandpal, Suraj
> > + laurent on this > > Hi Suraj > Jani pointed me to this thread as i had posted something similar here : > https://patchwork.freedesktop.org/patch/470296/ but since this thread was > posted earlier, we can discuss further here. > > Overall, its similar to what I had posted in the RFC and

Re: [Intel-gfx] [PATCH 1/3] drm: add writeback pointers to drm_connector

2022-01-31 Thread Kandpal, Suraj
Hey, > I think there are more places affected with this change. I can get below > compilation issues while trying to compile my branch: > > drivers/gpu/drm/vc4/vc4_txp.c: In function ‘encoder_to_vc4_txp’: > ./include/linux/build_bug.h:78:41: error: static assertion failed: > "pointer type

Re: [Intel-gfx] [PATCH 3/3] drm/vkms: change vkms driver to use drm_writeback_connector.base pointer

2022-01-30 Thread Kandpal, Suraj
Hi All, Gentle Reminder! Any Review comments? > Changing vkms driver to accomadate the change of > drm_writeback_connector.base to a pointer the reason for which is > explained in the Patch(drm: add writeback pointers to drm_connector). > > Signed-off-by: Kandpal, Suraj > ---

Re: [Intel-gfx] [RFC PATCH v2 0/3] i915 writeback private framework

2022-04-05 Thread Kandpal, Suraj
Hi All, Gentle Reminder. ++Uma Regards Suraj Kandapal > A patch series was floated in the drm mailing list which aimed to change the > drm_connector and drm_encoder fields to pointer in the > drm_connector_writeback structure, this received a huge pushback from the > community but since i915

Re: [Intel-gfx] [RFC PATCH v2 1/3] drm/i915: Creating writeback pipeline to bypass drm_writeback framework

2022-04-05 Thread Kandpal, Suraj
++Uma Regards, Suraj Kandpal > Changes to create a i915 private pipeline to enable the WD transcoder > without relying on the current drm_writeback framework. > > Signed-off-by: Suraj Kandpal > --- > drivers/gpu/drm/i915/Makefile | 1 + >

Re: [Intel-gfx] [RFC PATCH v2 2/3] drm/i915: Define WD trancoder for i915

2022-04-05 Thread Kandpal, Suraj
Hi All, ++Uma Regards, Suraj Kandpal > -Original Message- > From: Kandpal, Suraj > Sent: Thursday, March 17, 2022 2:09 PM > To: intel-gfx@lists.freedesktop.org > Cc: Nikula, Jani ; ville.syrj...@linux.intel.com; > Murthy, Arun R ; Kandpal, Suraj > > Subject: [RF

Re: [Intel-gfx] [RFC PATCH v2 3/3] drm/i915: Enabling WD Transcoder

2022-04-05 Thread Kandpal, Suraj
Hi All, ++Uma Regards, Suraj Kandpal > Adding support for writeback transcoder to start capturing frames using > interrupt mechanism > > Signed-off-by: Suraj Kandpal > --- > drivers/gpu/drm/i915/Makefile | 1 + > drivers/gpu/drm/i915/display/intel_acpi.c | 1 + >

Re: [Intel-gfx] [PATCH 3/3] drm/i915/display: Configure and initialize HDMI audio capabilities

2023-09-05 Thread Kandpal, Suraj
> Subject: [Intel-gfx] [PATCH 3/3] drm/i915/display: Configure and initialize > HDMI > audio capabilities > > Initialize the source audio capabilities in the crtc_state property, setting > them to Nit: maybe mention the above as intel_crtc_state rather than crtc_state property as property

Re: [Intel-gfx] [PATCH 2/3] drm: Add Wrapper Functions for ELD SAD Extraction

2023-09-05 Thread Kandpal, Suraj
> Subject: [Intel-gfx] [PATCH 2/3] drm: Add Wrapper Functions for ELD SAD > Extraction > > Add wrapper functions to facilitate extracting Short Audio Descriptor (SAD) > information from EDID-Like Data (ELD) pointers with different constness > requirements. > > 1. `drm_eld_sad`: This function

Re: [Intel-gfx] [PATCH 1/8] drm/i915/dsc: improve clarify of the pps reg read/write helpers

2023-09-06 Thread Kandpal, Suraj
> Subject: [PATCH 1/8] drm/i915/dsc: improve clarify of the pps reg read/write > helpers Should be clarity here in the commit header With that fixed Reviewed-by: Suraj Kandpal > > Make it clear what's the number of vdsc per pipe, and what's the number of > registers to grab. Have

Re: [Intel-gfx] [PATCH 3/8] drm/i915/dsc: have intel_dsc_pps_read() return the value

2023-09-06 Thread Kandpal, Suraj
> Subject: [PATCH 3/8] drm/i915/dsc: have intel_dsc_pps_read() return the value > > Register read functions usually return the value instead of passing via > pointer > parameters. Return the multiple register verification results via a pointer > parameter, which can also be NULL to skip the

Re: [Intel-gfx] [PATCH 7/8] drm/i915/dsc: add the PPS number to the register content macros

2023-09-06 Thread Kandpal, Suraj
> Subject: [PATCH 7/8] drm/i915/dsc: add the PPS number to the register content > macros > > Improve clarity by specifying the PPS number in the register content macros. > It's > easier to notice if macros are being used for the wrong register. LGTM. Reviewed-by : Suraj Kandpal > > Cc:

Re: [Intel-gfx] [PATCH 2/8] drm/i915/dsc: have intel_dsc_pps_read_and_verify() return the value

2023-09-06 Thread Kandpal, Suraj
> Subject: [PATCH 2/8] drm/i915/dsc: have intel_dsc_pps_read_and_verify() > return the value > > Register read functions usually return the value instead of passing via > pointer > parameters. The calling code becomes easier to read. > > Make the name conform to existing style better while at

Re: [Intel-gfx] [PATCH 6/8] drm/i915/dsc: clean up pps comments

2023-09-06 Thread Kandpal, Suraj
> Subject: [PATCH 6/8] drm/i915/dsc: clean up pps comments > > Unify comments to be the simple "PPS n" instead of all sorts of variants. > LGTM. Reviewed-by: Suraj Kandpal > Cc: Suraj Kandpal > Cc: Ankit Nautiyal > Signed-off-by: Jani Nikula > --- >

Re: [Intel-gfx] [PATCH 8/8] drm/i915/dsc: use REG_BIT, REG_GENMASK, and friends for PPS0 and PPS1

2023-09-06 Thread Kandpal, Suraj
> Subject: [PATCH 8/8] drm/i915/dsc: use REG_BIT, REG_GENMASK, and friends > for PPS0 and PPS1 > > Use the register helper macros for PPS0 and PPS1 register contents. > LGTM. Reviewed-by: Suraj Kandpal > Cc: Suraj Kandpal > Cc: Ankit Nautiyal > Signed-off-by: Jani Nikula > --- >

Re: [Intel-gfx] [PATCH 4/8] drm/i915/dsc: rename pps write to intel_dsc_pps_write()

2023-09-06 Thread Kandpal, Suraj
> Subject: [PATCH 4/8] drm/i915/dsc: rename pps write to intel_dsc_pps_write() > > Make the function name conform to existing style better. > LGTM. Reviewed-by: Suraj Kandpal > Cc: Suraj Kandpal > Cc: Ankit Nautiyal > Signed-off-by: Jani Nikula > --- >

Re: [Intel-gfx] [PATCH 7/8] drm/i915/dsc: add the PPS number to the register content macros

2023-09-06 Thread Kandpal, Suraj
> Subject: [PATCH 7/8] drm/i915/dsc: add the PPS number to the register content > macros > > Improve clarity by specifying the PPS number in the register content macros. > It's > easier to notice if macros are being used for the wrong register. > LGTM. Reviewed-by: Suraj Kandpal > Cc: Suraj

Re: [Intel-gfx] [PATCH 2/8] drm/i915/display: Store compressed bpp in U6.4 format

2023-09-11 Thread Kandpal, Suraj
> Subject: [PATCH 2/8] drm/i915/display: Store compressed bpp in U6.4 format > > From: Ankit Nautiyal > > DSC parameter bits_per_pixel is stored in U6.4 format. > The 4 bits represent the fractional part of the bpp. > Currently we use compressed_bpp member of dsc structure to store only the >

Re: [Intel-gfx] [PATCH 6/8] drm/i915/dp: Iterate over output bpp with fractional step size

2023-09-11 Thread Kandpal, Suraj
> Subject: [PATCH 6/8] drm/i915/dp: Iterate over output bpp with fractional step > size > > From: Ankit Nautiyal > > This patch adds support to iterate over compressed output bpp as per the > fractional step, supported by DP sink. > > v2: > -Avoid ending up with compressed bpp, same as pipe

Re: [Intel-gfx] [PATCH 1/8] drm/display/dp: Add helper function to get DSC bpp prescision

2023-09-11 Thread Kandpal, Suraj
> Subject: [PATCH 1/8] drm/display/dp: Add helper function to get DSC bpp > prescision > > From: Ankit Nautiyal > > Add helper to get the DSC bits_per_pixel precision for the DP sink. I think this should also be floated in drm-devel mailing list. Regards, Suraj Kandpal > > Signed-off-by:

Re: [Intel-gfx] [PATCH 4/8] drm/i915/audio : Consider fractional vdsc bpp while computing tu_data

2023-09-11 Thread Kandpal, Suraj
> Subject: [PATCH 4/8] drm/i915/audio : Consider fractional vdsc bpp while > computing tu_data > > From: Ankit Nautiyal > > MTL+ supports fractional compressed bits_per_pixel, with precision of > 1/16. This compressed bpp is stored in U6.4 format. > Accommodate the precision during calculation

Re: [Intel-gfx] [PATCH 8/8] drm/i915/dsc: Allow DSC only with fractional bpp when forced from debugfs

2023-09-11 Thread Kandpal, Suraj
> Subject: [PATCH 8/8] drm/i915/dsc: Allow DSC only with fractional bpp when > forced from debugfs > > From: Swati Sharma > > If force_dsc_fractional_bpp_en is set through debugfs allow DSC iff > compressed bpp is fractional. Continue if the computed compressed bpp turns > out to be a integer.

Re: [Intel-gfx] [PATCH 3/8] drm/i915/display: Consider fractional vdsc bpp while computing m_n values

2023-09-11 Thread Kandpal, Suraj
> Subject: [PATCH 3/8] drm/i915/display: Consider fractional vdsc bpp while > computing m_n values > > From: Ankit Nautiyal > > MTL+ supports fractional compressed bits_per_pixel, with precision of > 1/16. This compressed bpp is stored in U6.4 format. > Accommodate this precision while

Re: [Intel-gfx] [PATCH 5/8] drm/i915/dsc/mtl: Add support for fractional bpp

2023-09-11 Thread Kandpal, Suraj
> Subject: [PATCH 5/8] drm/i915/dsc/mtl: Add support for fractional bpp > > From: Vandita Kulkarni > > Consider the fractional bpp while reading the qp values. > > v2: Use helpers for fractional, integral bits of bits_per_pixel. (Suraj) > LGTM. Reviewed-by: Suraj Kandpal > Signed-off-by:

Re: [Intel-gfx] [PATCH 2/8] drm/i915/display: Store compressed bpp in U6.4 format

2023-09-11 Thread Kandpal, Suraj
> Subject: RE: [PATCH 2/8] drm/i915/display: Store compressed bpp in U6.4 > format > > > Subject: [PATCH 2/8] drm/i915/display: Store compressed bpp in U6.4 > > format > > > > From: Ankit Nautiyal > > > > DSC parameter bits_per_pixel is stored in U6.4 format. > > The 4 bits represent the

Re: [Intel-gfx] [PATCH 7/8] drm/i915/dsc: Add debugfs entry to validate DSC fractional bpp

2023-09-11 Thread Kandpal, Suraj
> Subject: [PATCH 7/8] drm/i915/dsc: Add debugfs entry to validate DSC > fractional > bpp > > From: Swati Sharma > > DSC_Sink_BPP_Precision entry is added to i915_dsc_fec_support_show to > depict sink's precision. > Also, new debugfs entry is created to enforce fractional bpp. > If

Re: [Intel-gfx] [Intel-xe] [PATCH 09/42] drm/i915/tc: move legacy code out of the main _max_lane_count() func

2023-08-24 Thread Kandpal, Suraj
> >> Subject: [Intel-gfx] [PATCH 09/42] drm/i915/tc: move legacy code out > >> of the main _max_lane_count() func > >> > >> From: Luca Coelho > >> > >> This makes the code a bit more symmetric and readable, especially > >> when we start adding more display version-specific alternatives. > >> > >>

Re: [Intel-gfx] [PATCH 2/9] drm/i915/display: Store compressed bpp in U6.4 format

2023-08-24 Thread Kandpal, Suraj
> Subject: [Intel-gfx] [PATCH 2/9] drm/i915/display: Store compressed bpp in > U6.4 format > > DSC parameter bits_per_pixel is stored in U6.4 format. > The 4 bits represent the fractional part of the bpp. > Currently we use compressed_bpp member of dsc structure to store only the > integral part

Re: [Intel-gfx] [PATCH v3 3/4] drm/i915/tc: move legacy code out of the main _max_lane_count() func

2023-08-24 Thread Kandpal, Suraj
> On Wed, 2023-08-16 at 08:54 +0000, Kandpal, Suraj wrote: > > > This makes the code a bit more symmetric and readable, especially > > > when we start adding more display version-specific alternatives. > > > > > > Signed-off-by: Luca Coelho > &

Re: [Intel-gfx] [PATCH v3 3/4] drm/i915/tc: move legacy code out of the main _max_lane_count() func

2023-08-24 Thread Kandpal, Suraj
> On Wed, 2023-08-16 at 08:54 +0000, Kandpal, Suraj wrote: > > > This makes the code a bit more symmetric and readable, especially > > > when we start adding more display version-specific alternatives. > > > > > > Signed-off-by: Luca Coelho > > > --

Re: [Intel-gfx] [PATCH 4/9] drm/i915/audio : Consider fractional vdsc bpp while computing tu_data

2023-08-24 Thread Kandpal, Suraj
> Subject: [Intel-gfx] [PATCH 4/9] drm/i915/audio : Consider fractional vdsc bpp > while computing tu_data > > MTL+ supports fractional compressed bits_per_pixel, with precision of > 1/16. This compressed bpp is stored in U6.4 format. > Accommodate the precision during calculation of transfer

Re: [Intel-gfx] [PATCH 5/9] drm/display/dp: Add helper function to get DSC bpp prescision

2023-08-24 Thread Kandpal, Suraj
> > > Add helper to get the DSC bits_per_pixel precision for the DP sink. > > > > Signed-off-by: Ankit Nautiyal Wouldn't we also need to send this patch to dri-devel Regards, Suraj Kandpal > > --- > > drivers/gpu/drm/display/drm_dp_helper.c | 27 > > + > >

Re: [Intel-gfx] [PATCH 3/9] drm/i915/display: Consider fractional vdsc bpp while computing m_n values

2023-08-24 Thread Kandpal, Suraj
> Subject: [Intel-gfx] [PATCH 3/9] drm/i915/display: Consider fractional vdsc > bpp while computing m_n values > > MTL+ supports fractional compressed bits_per_pixel, with precision of > 1/16. This compressed bpp is stored in U6.4 format. > Accommodate this precision while computing m_n values. >

Re: [Intel-gfx] [PATCH 5/9] drm/display/dp: Add helper function to get DSC bpp prescision

2023-08-24 Thread Kandpal, Suraj
> Add helper to get the DSC bits_per_pixel precision for the DP sink. > > Signed-off-by: Ankit Nautiyal > --- > drivers/gpu/drm/display/drm_dp_helper.c | 27 > + > include/drm/display/drm_dp_helper.h | 1 + > 2 files changed, 28 insertions(+) > > diff --git

Re: [Intel-gfx] [PATCH 2/9] drm/i915/display: Store compressed bpp in U6.4 format

2023-08-24 Thread Kandpal, Suraj
> Subject: RE: [Intel-gfx] [PATCH 2/9] drm/i915/display: Store compressed bpp in > U6.4 format > > > Subject: [Intel-gfx] [PATCH 2/9] drm/i915/display: Store compressed > > bpp in > > U6.4 format > > > > DSC parameter bits_per_pixel is stored in U6.4 format. > > The 4 bits represent the

Re: [Intel-gfx] [PATCH 2/8] drm/i915/display: Store compressed bpp in U6.4 format

2023-09-12 Thread Kandpal, Suraj
> Subject: [PATCH 2/8] drm/i915/display: Store compressed bpp in U6.4 format > > From: Ankit Nautiyal > > DSC parameter bits_per_pixel is stored in U6.4 format. > The 4 bits represent the fractional part of the bpp. > Currently we use compressed_bpp member of dsc structure to store only the >

Re: [Intel-gfx] [PATCH 1/8] drm/display/dp: Add helper function to get DSC bpp prescision

2023-09-13 Thread Kandpal, Suraj
> Subject: [PATCH 1/8] drm/display/dp: Add helper function to get DSC bpp > prescision > > From: Ankit Nautiyal > > Add helper to get the DSC bits_per_pixel precision for the DP sink. > I think you forgot to add my reviewed by that I gave in the last revision  Anyways, LGTM. Reviewed-by:

Re: [Intel-gfx] [PATCH 1/8] drm/display/dp: Add helper function to get DSC bpp prescision

2023-09-12 Thread Kandpal, Suraj
> Subject: [PATCH 1/8] drm/display/dp: Add helper function to get DSC bpp > prescision > > From: Ankit Nautiyal > > Add helper to get the DSC bits_per_pixel precision for the DP sink. > LGTM. Reviewed-by: Suraj Kandpal > Signed-off-by: Ankit Nautiyal > --- >

Re: [Intel-gfx] [PATCH 5/8] drm/i915/dsc: drop redundant = 0 assignments

2023-09-07 Thread Kandpal, Suraj
> Subject: [PATCH 5/8] drm/i915/dsc: drop redundant = 0 assignments > > Directly assign the values instead of first assigning 0 and then |= the > values. > LGTM. Reviewed-by: Suraj Kandpal > Cc: Suraj Kandpal > Cc: Ankit Nautiyal > Signed-off-by: Jani Nikula > --- >

Re: [Intel-gfx] [PATCH v5] drm/i915: Added Wa_18022495364

2023-09-14 Thread Kandpal, Suraj
> Subject: [Intel-gfx] [PATCH v5] drm/i915: Added Wa_18022495364 > Commit message style should be imperative so the header becomes something Around the lines of "Add Wa_18022495364" > Set the instruction and state cache invalidate bit using INDIRECT_CTX on every > gpu context switch. > The

Re: [Intel-gfx] [PATCH 3/3] drm/i915/display: Configure and initialize HDMI audio capabilities

2023-09-08 Thread Kandpal, Suraj
> Subject: RE: [Intel-gfx] [PATCH 3/3] drm/i915/display: Configure and > initialize > HDMI audio capabilities > > Hi Suraj, > > > -Original Message- > > From: Kandpal, Suraj > > Sent: 05 September 2023 14:47 > > To: Golani, Mitulkumar Ajitkumar

Re: [Intel-gfx] [PATCH 2/2] drm/i915/vdsc: Remove old comment about DSC 444 support

2023-10-31 Thread Kandpal, Suraj
> -Original Message- > From: Intel-gfx On Behalf Of Ankit > Nautiyal > Sent: Monday, October 16, 2023 10:51 AM > To: intel-gfx@lists.freedesktop.org > Subject: [Intel-gfx] [PATCH 2/2] drm/i915/vdsc: Remove old comment about > DSC 444 support > > DSC with YCbCr420 is now supported, so

Re: [Intel-gfx] [PATCH 1/2] drm/i915/dsc: Use helper to calculate range_bpg_offset

2023-10-31 Thread Kandpal, Suraj
> -Original Message- > From: Intel-gfx On Behalf Of Ankit > Nautiyal > Sent: Monday, October 16, 2023 10:51 AM > To: intel-gfx@lists.freedesktop.org > Subject: [Intel-gfx] [PATCH 1/2] drm/i915/dsc: Use helper to calculate > range_bpg_offset > > We get range_bpg_offset for different

Re: [Intel-gfx] [PATCH 1/2] drm/i915/hdcp: Create a blanket hdcp enable function

2023-10-26 Thread Kandpal, Suraj
> -Original Message- > From: Jani Nikula > Sent: Thursday, October 26, 2023 1:02 PM > To: Kandpal, Suraj ; intel-gfx@lists.freedesktop.org > Cc: Shankar, Uma ; Nautiyal, Ankit K > ; Kandpal, Suraj > Subject: Re: [PATCH 1/2] drm/i915/hdcp: Create a blanket

Re: [Intel-gfx] [PATCH 2/3] drm/i915/hdcp: Create a blanket hdcp enable function

2023-10-26 Thread Kandpal, Suraj
> -Original Message- > From: Jani Nikula > Sent: Thursday, October 26, 2023 3:34 PM > To: Kandpal, Suraj ; intel-gfx@lists.freedesktop.org > Cc: Shankar, Uma ; Nautiyal, Ankit K > ; Kandpal, Suraj > Subject: Re: [PATCH 2/3] drm/i915/hdcp: Create a blanket

Re: [Intel-gfx] [PATCH 2/2] drm/i915/hdcp: Move common message filling function to its own file

2023-09-20 Thread Kandpal, Suraj
> Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915/hdcp: Move common message > filling function to its own file > > On Wed, 20 Sep 2023, Suraj Kandpal wrote: > > diff --git a/drivers/gpu/drm/i915/display/intel_hdcp_gsc.h > > b/drivers/gpu/drm/i915/display/intel_hdcp_gsc.h > > index

Re: [Intel-gfx] [PATCH v3 2/2] drm/i915/hdcp: Move common message filling function to its own file

2023-09-20 Thread Kandpal, Suraj
> Subject: Re: [PATCH v3 2/2] drm/i915/hdcp: Move common message filling > function to its own file > > On Wed, 20 Sep 2023, Suraj Kandpal wrote: > > diff --git a/drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.h > > b/drivers/gpu/drm/i915/display/intel_hdcp_gsc_message.h > > new file mode

Re: [Intel-gfx] [PATCH] drm/i915/ddi: Fix i2c_adapter assignment

2023-10-05 Thread Kandpal, Suraj
> Subject: Re: [Intel-gfx] [PATCH] drm/i915/ddi: Fix i2c_adapter assignment > > On Thu, 05 Oct 2023, Ville Syrjälä wrote: > > On Thu, Oct 05, 2023 at 12:12:58PM +0530, Suraj Kandpal wrote: > >> i2c_adapter is being assigned using intel_connector even before the > >> NULL check occurs and even

Re: [Intel-gfx] [PATCH] drm/i915/ddi: Fix i2c_adapter assignment

2023-10-05 Thread Kandpal, Suraj
> Subject: Re: [Intel-gfx] [PATCH] drm/i915/ddi: Fix i2c_adapter assignment > > Hi Suraj, > > On Thu, Oct 05, 2023 at 12:12:58PM +0530, Suraj Kandpal wrote: > > i2c_adapter is being assigned using intel_connector even before the > > NULL check occurs and even though it shouldn't be a problem

Re: [Intel-gfx] [PATCH] drm/i915/display: Free crtc_state in verify_crtc_state

2023-10-09 Thread Kandpal, Suraj
> -Original Message- > From: Jani Nikula > Sent: Monday, October 9, 2023 4:07 PM > To: Kandpal, Suraj ; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i915/display: Free crtc_state in > verify_crtc_state > > On Mon, 09 Oct 2023, Suraj

Re: [Intel-gfx] [PATCH v5 1/2] drm/i915/hdcp: Move checks for gsc health status

2023-10-09 Thread Kandpal, Suraj
> -Original Message- > From: Jani Nikula > Sent: Monday, October 9, 2023 3:37 PM > To: Kandpal, Suraj ; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH v5 1/2] drm/i915/hdcp: Move checks for gsc > health status > > On Mon, 09 Oct 2023, Suraj

Re: [Intel-gfx] [PATCH] drm/i915/display: Free crtc_state in verify_crtc_state

2023-10-09 Thread Kandpal, Suraj
> -Original Message- > From: Ville Syrjälä > Sent: Monday, October 9, 2023 6:08 PM > To: Kandpal, Suraj > Cc: Jani Nikula ; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] drm/i915/display: Free crtc_state in > verify_crtc_state > > On

Re: [Intel-gfx] [PATCH v3 0/4] drm/i915/tc: some clean-ups in max lane count handling code

2023-08-21 Thread Kandpal, Suraj
0/4] drm/i915/tc: some clean-ups in max > lane count handling code > > On Fri, Jul 21, 2023 at 02:11:17PM +0300, Luca Coelho wrote: > >Hi, > > > >Here are four patches with some clean-ups in the code that handles the > >max lane count of Type-C connections. > > > >This is done mostly in

Re: [Intel-gfx] [PATCH v3 2/4] drm/i915/tc: make intel_tc_port_get_lane_mask() static

2023-08-16 Thread Kandpal, Suraj
> This function is only used locally, so make it static and remove the > definition > from the header file. > > Signed-off-by: Luca Coelho LGTM Reviewed-by: Suraj Kandpal > --- > drivers/gpu/drm/i915/display/intel_tc.c | 2 +- > drivers/gpu/drm/i915/display/intel_tc.h | 1 - > 2 files

Re: [Intel-gfx] [PATCH] drm/i915/dsi: Explicit first_line_bpg_offset assignment for DSI

2023-08-16 Thread Kandpal, Suraj
> > > > On Wed, 16 Aug 2023, Jani Nikula wrote: > > > On Wed, 16 Aug 2023, "Kandpal, Suraj" > wrote: > > >>> On Mon, 07 Aug 2023, Suraj Kandpal > wrote: > > >>> > Assign explicit value of 12 at 8bpp as per Table E2 of DSC 1.1

Re: [Intel-gfx] [PATCH] drm/i915/dsi: Explicit first_line_bpg_offset assignment for DSI

2023-08-16 Thread Kandpal, Suraj
> > On Wed, 16 Aug 2023, Jani Nikula wrote: > > On Wed, 16 Aug 2023, "Kandpal, Suraj" wrote: > >>> On Mon, 07 Aug 2023, Suraj Kandpal wrote: > >>> > Assign explicit value of 12 at 8bpp as per Table E2 of DSC 1.1 for > >>> >

Re: [Intel-gfx] [PATCH v3 3/4] drm/i915/tc: move legacy code out of the main _max_lane_count() func

2023-08-16 Thread Kandpal, Suraj
> This makes the code a bit more symmetric and readable, especially when we > start adding more display version-specific alternatives. > > Signed-off-by: Luca Coelho > --- > drivers/gpu/drm/i915/display/intel_tc.c | 32 +++-- > 1 file changed, 19 insertions(+), 13

Re: [Intel-gfx] [PATCH v7 4/8] drm/i915/vdsc: Add function to read any PPS register

2023-08-16 Thread Kandpal, Suraj
> > On Tue, 08 Aug 2023, Suraj Kandpal wrote: > > Add function to read any PPS register based on the intel_dsc_pps enum > > provided. Add a function which will call the new pps read function and > > place it in crtc state. Only PPS0 and > > PPS1 are readout the rest of the registers will be read

Re: [Intel-gfx] [PATCH v7 4/8] drm/i915/vdsc: Add function to read any PPS register

2023-08-16 Thread Kandpal, Suraj
++ Ankit > > > > On Tue, 08 Aug 2023, Suraj Kandpal wrote: > > > Add function to read any PPS register based on the intel_dsc_pps > > > enum provided. Add a function which will call the new pps read > > > function and place it in crtc state. Only PPS0 and > > > PPS1 are readout the rest of the

Re: [Intel-gfx] [PATCH v3 1/4] drm/i915/tc: rename mtl_tc_port_get_pin_assignment_mask()

2023-08-16 Thread Kandpal, Suraj
> This function doesn't really return the pin assignment mask, but the max lane > count derived from that. So rename the function to > mtl_tc_port_get_max_lane_count() to better reflect what it really does. > Maybe also add the version changes on commit messages here as cover letter ends up

Re: [Intel-gfx] [PATCH v7 4/8] drm/i915/vdsc: Add function to read any PPS register

2023-08-16 Thread Kandpal, Suraj
> > On Wed, 16 Aug 2023, "Kandpal, Suraj" wrote: > >> > >> On Tue, 08 Aug 2023, Suraj Kandpal wrote: > >> > Add function to read any PPS register based on the intel_dsc_pps > >> > enum provided. Add a function which will call the new

Re: [Intel-gfx] [PATCH 28/42] drm/i915/xe2lpd: enable odd size and panning for planar yuv on xe2lpd

2023-08-23 Thread Kandpal, Suraj
> Subject: [PATCH 28/42] drm/i915/xe2lpd: enable odd size and panning for > planar yuv on xe2lpd > > From: Juha-Pekka Heikkilä > > Enable odd size and panning for planar yuv formats. > > Cc: Suraj Kandpal > Signed-off-by: Juha-Pekka Heikkilä > Signed-off-by: Lucas De Marchi Maybe add the

Re: [Intel-gfx] [PATCH 09/42] drm/i915/tc: move legacy code out of the main _max_lane_count() func

2023-08-23 Thread Kandpal, Suraj
> -Original Message- > From: Intel-gfx On Behalf Of Lucas > De Marchi > Sent: Wednesday, August 23, 2023 10:37 PM > To: intel...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org > Cc: Coelho, Luciano > Subject: [Intel-gfx] [PATCH 09/42] drm/i915/tc: move legacy code out of the >

Re: [Intel-gfx] [PATCH v3 4/4] drm/i915/tc: remove "fia" from intel_tc_port_fia_max_lane_count()

2023-08-23 Thread Kandpal, Suraj
> It is irrelevant for the caller that the max lane count is being derived from > a FIA > register, so having "fia" in the function name is irrelevant. Rename the > function accordingly. > > Signed-off-by: Luca Coelho LGTM. Reviewed-by: Suraj Kandpal > --- >

  1   2   3   >