Re: [PATCH v2 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-29 Thread Shashank Sharma
On 28/09/2023 20:53, Felix Kuehling wrote: On 2023-09-28 11:38, Shashank Sharma wrote: Hello Felix, Mukul, On 28/09/2023 17:30, Felix Kuehling wrote: On 2023-09-28 10:30, Joshi, Mukul wrote: [AMD Official Use Only - General] -Original Message- From: Yadav, Arvind Sent: Thursday

Re: [PATCH v2 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-28 Thread Shashank Sharma
gfx8 This patch is to adjust the absolute doorbell offset against the doorbell id considering the doorbell size of 32/64 bit. v2: - Addressed the review comment from Felix. Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Shashank Sharma Signed-off-by: Arvind Yadav ---   drivers/gpu/drm

Re: [PATCH 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-27 Thread Shashank Sharma
On 27/09/2023 19:27, Felix Kuehling wrote: [+Mukul] On 2023-09-27 12:16, Arvind Yadav wrote: This patch is to adjust the absolute doorbell offset against the doorbell id considering the doorbell size of 32/64 bit. Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Shashank Sharma Signed

Re: [PATCH v2 1/7] drm/amdgpu: Added init/fini functions for workload

2023-08-21 Thread Shashank Sharma
On 21/08/2023 16:12, Yadav, Arvind wrote: On 8/21/2023 7:24 PM, Shashank Sharma wrote: On 21/08/2023 15:35, Yadav, Arvind wrote: On 8/21/2023 6:36 PM, Shashank Sharma wrote: Hey Arvind, On 21/08/2023 08:47, Arvind Yadav wrote: The'struct amdgpu_smu_workload' initializati

Re: [PATCH v5 5/5] drm/amdgpu: Create version number for coredumps

2023-08-21 Thread Shashank Sharma
09 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h @@ -88,6 +88,9 @@ struct amdgpu_reset_domain { }; #ifdef CONFIG_DEV_COREDUMP + +#define AMDGPU_COREDUMP_VERSION "1" + Reviewed-by: Shashank Sharma - Shashank struct amdgpu_coredump_info { struct amdgpu_device*adev; struct amdgpu_task_info reset_task_info;

Re: [PATCH v5 4/5] drm/amdgpu: Move coredump code to amdgpu_reset file

2023-08-21 Thread Shashank Sharma
struct timespec64 reset_time; + bool reset_vram_lost; +}; +#endif int amdgpu_reset_init(struct amdgpu_device *adev); int amdgpu_reset_fini(struct amdgpu_device *adev); @@ -126,4 +134,6 @@ void amdgpu_device_lock_reset_domain(struct amdgpu_reset_domain *reset_domain); void amdgpu_device_unlock_reset_domain(struct amdgpu_reset_domain *reset_domain); +void amdgpu_coredump(struct amdgpu_device *adev, bool vram_lost, +struct amdgpu_reset_context *reset_context); #endif Reviewed-by: Shashank Sharma - Shashank

Re: [PATCH v5 3/5] drm/amdgpu: Encapsulate all device reset info

2023-08-21 Thread Shashank Sharma
On 17/08/2023 20:20, André Almeida wrote: To better organize struct amdgpu_device, keep all reset information related fields together in a separated struct. Signed-off-by: André Almeida --- v5: new patch, as requested by Shashank Sharma --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 34

Re: [PATCH v5 2/5] drm/amdgpu: Rework coredump to use memory dynamically

2023-08-21 Thread Shashank Sharma
;job->vm->task_info; - amdgpu_reset_capture_coredumpm(tmp_adev); -#endif + + amdgpu_coredump(tmp_adev, vram_lost, reset_context); + if (vram_lost) { DRM_INFO("VRAM is lost due to GPU reset!\n"); amdgpu_inc_vram_lost(tmp_adev); Reviewed-by: Shashank Sharma - Shashank

Re: [PATCH v2 1/7] drm/amdgpu: Added init/fini functions for workload

2023-08-21 Thread Shashank Sharma
On 21/08/2023 15:35, Yadav, Arvind wrote: On 8/21/2023 6:36 PM, Shashank Sharma wrote: Hey Arvind, On 21/08/2023 08:47, Arvind Yadav wrote: The'struct amdgpu_smu_workload' initialization/cleanup functions is added by this patch. v2: - Splitting big patch into separate patches. -

Re: [PATCH v2 7/7] Revert "drm/amd/amdgpu: switch on/off vcn power profile mode"

2023-08-21 Thread Shashank Sharma
Someone from MM should also confirm on this, but: Acked-by: Shashank Sharma On 21/08/2023 08:47, Arvind Yadav wrote: This reverts commit 5ce71f59bb9bd3d8a09b96afdbc92975cb6dc303. Reason for revert: New amdgpu_workload_profile* api is added to switch on/off profile mode. These new api will

Re: [PATCH v2 6/7] drm/amdgpu: switch workload context to/from compute

2023-08-21 Thread Shashank Sharma
On 21/08/2023 08:47, Arvind Yadav wrote: This patch switches the GPU workload mode to/from compute mode, while submitting compute workload. Cc: Christian Koenig Signed-off-by: Alex Deucher Signed-off-by: Shashank Sharma Signed-off-by: Arvind Yadav --- drivers/gpu/drm/amd/amdgpu

Re: [PATCH v2 5/7] drm/amdgpu: Switch on/off GPU workload profile

2023-08-21 Thread Shashank Sharma
On 21/08/2023 08:47, Arvind Yadav wrote: This patch is to switch the GPU workload profile based on the submitted job. The workload profile is reset to default when the job is done. Cc: Shashank Sharma Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Arvind Yadav --- drivers/gpu/drm

Re: [PATCH v2 4/7] drm/amdgpu: Add suspend function to clear the GPU power profile.

2023-08-21 Thread Shashank Sharma
On 21/08/2023 08:47, Arvind Yadav wrote: This patch adds a suspend function that will clear the GPU power profile before going into suspend state. v2: - Add the new suspend function based on review comment. Cc: Shashank Sharma Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Arvind

Re: [PATCH v2 3/7] drm/amdgpu: Add new function to put GPU power profile

2023-08-21 Thread Shashank Sharma
comes within 100ms then the *_workload_profile_set function will cancel this work and set the GPU power profile based on preferences. v2: - Splitting workload_profile_set and workload_profile_put into two separate patches. - Addressed review comment. Cc: Shashank Sharma Cc: Christian

Re: [PATCH v2 2/7] drm/amdgpu: Add new function to set GPU power profile

2023-08-21 Thread Shashank Sharma
. - Addressed review comment. Cc: Shashank Sharma Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Arvind Yadav --- drivers/gpu/drm/amd/amdgpu/amdgpu_workload.c | 56 +++ drivers/gpu/drm/amd/include/amdgpu_workload.h | 3 + 2 files changed, 59 insertions(+) diff --git a

Re: [PATCH v2 1/7] drm/amdgpu: Added init/fini functions for workload

2023-08-21 Thread Shashank Sharma
Hey Arvind, On 21/08/2023 08:47, Arvind Yadav wrote: The'struct amdgpu_smu_workload' initialization/cleanup functions is added by this patch. v2: - Splitting big patch into separate patches. - Added new fini function. Cc: Shashank Sharma Cc: Christian Koenig Cc: Alex Deucher Sig

Re: [PATCH 0/4] drm/amdgpu: Explicitly add a flexible array at the end of 'struct amdgpu_bo_list' and simplify amdgpu_bo_list_create()

2023-08-21 Thread Shashank Sharma
+ Amar should be able to help. Amar, Can you please check this patch (series if required) with a few IGTs and probably with Xonotic as well ? Regards Shashank On 21/08/2023 13:03, Christian König wrote: Am 20.08.23 um 11:51 schrieb Christophe JAILLET: This serie simplifies amdgpu_bo_list

Re: [PATCH v4 2/4] drm/amdgpu: Rework coredump to use memory dynamically

2023-08-17 Thread Shashank Sharma
On 17/08/2023 17:38, André Almeida wrote: Em 17/08/2023 12:26, Shashank Sharma escreveu: On 17/08/2023 17:17, André Almeida wrote: Em 17/08/2023 12:04, Shashank Sharma escreveu: On 17/08/2023 15:45, André Almeida wrote: Hi Shashank, Em 17/08/2023 03:41, Shashank Sharma escreveu

Re: [PATCH v4 2/4] drm/amdgpu: Rework coredump to use memory dynamically

2023-08-17 Thread Shashank Sharma
On 17/08/2023 17:17, André Almeida wrote: Em 17/08/2023 12:04, Shashank Sharma escreveu: On 17/08/2023 15:45, André Almeida wrote: Hi Shashank, Em 17/08/2023 03:41, Shashank Sharma escreveu: Hello Andre, On 15/08/2023 21:50, André Almeida wrote: Instead of storing coredump information

Re: [PATCH v4 2/4] drm/amdgpu: Rework coredump to use memory dynamically

2023-08-17 Thread Shashank Sharma
On 17/08/2023 15:45, André Almeida wrote: Hi Shashank, Em 17/08/2023 03:41, Shashank Sharma escreveu: Hello Andre, On 15/08/2023 21:50, André Almeida wrote: Instead of storing coredump information inside amdgpu_device struct, move if to a proper separated struct and allocate it dynamically

Re: [PATCH v4 2/4] drm/amdgpu: Rework coredump to use memory dynamically

2023-08-16 Thread Shashank Sharma
Hello Andre, On 15/08/2023 21:50, André Almeida wrote: Instead of storing coredump information inside amdgpu_device struct, move if to a proper separated struct and allocate it dynamically. This will make it easier to further expand the logged information. Signed-off-by: André Almeida --- v4:

Re: [PATCH v4 2/4] drm/amdgpu: Rework coredump to use memory dynamically

2023-08-16 Thread Shashank Sharma
On 16/08/2023 11:48, Christian König wrote: Am 15.08.23 um 21:50 schrieb André Almeida: Instead of storing coredump information inside amdgpu_device struct, move if to a proper separated struct and allocate it dynamically. This will make it easier to further expand the logged information. Sig

Re: [PATCH 3/3] Revert "drm/amd/amdgpu: switch on/off vcn power profile mode"

2023-08-14 Thread Shashank Sharma
api is added to switch on/off profile mode. These new api will allow to change the GPU power profile based on a submitted job. Cc: Shashank Sharma Cc: Christian Koenig Cc: Alex Deucher Signed-off-by: Arvind Yadav --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 14 ++ 1 file change

Re: [PATCH 1/3] drm/amdgpu: Add new api to switch on/off power profile mode

2023-08-14 Thread Shashank Sharma
Hey Arvind, On 14/08/2023 09:34, Arvind Yadav wrote: This patch adds a function which will allow to change the GPU power profile based on a submitted job. This can optimize the power performance when the workload is on. Cc: Shashank Sharma Cc: Christian Koenig Cc: Alex Deucher Signed-off-by

[ANNOUNCE] xf86-video-amdgpu 23.0.0

2023-02-22 Thread Shashank Sharma
Use DRM_CAP_CURSOR_WIDTH/HEIGHT if possible Shashank Sharma (2): config: Add hotplug driver name Bump version for the 23.0.0 release tiancyin (1): Fix screen corruption on secondary GPU Łukasz Spintzyk (1): amdgpu: fixup driver for new X server ABI git tag: xf86-video-a

[PATCH] amdgpu: add context creation flags in CS IOCTL

2022-08-02 Thread Shashank Sharma
n, so that kernel GPU scheduler can pass this information to GPU FW, which in turn can adjust the GPU characterstics as per the workload type. Signed-off-by: Shashank Sharma Cc: Alex Deucher Cc: Marek Olsak Cc: Christian Koenig Cc: Amarnath Somalapuram --- amdgpu/amdgpu.h | 2

[PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-08 Thread Shashank Sharma
From: Shashank Sharma This patch adds a new sysfs event, which will indicate the userland about a GPU reset, and can also provide some information like: - process ID of the process involved with the GPU reset - process name of the involved process - the GPU status info (using flags) This patch

[PATCH v2 2/2] drm/amdgpu: add work function for GPU reset event

2022-03-08 Thread Shashank Sharma
From: Shashank Sharma This patch adds a work function, which sends a GPU reset uevent and some contextual infomration, like the PID and some status flags. This work should be scheduled during a GPU reset. The userspace can do some recovery and post-processing work based on this event and

Re: [RFC PATCH 0/3] A drm_plane API to support HDR planes

2021-04-30 Thread Shashank Sharma
Hello Pekka, On 30/04/21 15:13, Pekka Paalanen wrote: > On Wed, 28 Apr 2021 13:24:27 +0530 > Shashank Sharma wrote: > >> Assuming these details, A compositor will look for DRM color properties like >> these: >> >> 1. Degamma plane property : To make buffers

Re: [RFC PATCH 0/3] A drm_plane API to support HDR planes

2021-04-28 Thread Shashank Sharma
Hello Harry, Many of us in the mail chain have discussed this before, on what is the right way to blend and tone map a SDR and a HDR buffer from same/different color spaces, and what kind of DRM plane properties will be needed. As you can see from the previous comments, that the majority of the

Re: [PATCH v3 3/3] drm/amd/display: Skip modeset for front porch change

2020-12-14 Thread Shashank Sharma
->stream)) { > @@ -9015,6 +9144,23 @@ static int dm_update_crtc_state(struct > amdgpu_display_manager *dm, > if (!dm_old_crtc_state->stream) > goto skip_modeset; > > + if (dm_new_crtc_state->stream && > + is_timing_unchanged_for_freesync(new_crtc_state, > old_crtc_state) && > + amdgpu_exp_freesync_vid_mode) { same here > + new_crtc_state->mode_changed = false; > + DRM_DEBUG_DRIVER( > + "Mode change not required for front porch > change, " > + "setting mode_changed to %d", > + new_crtc_state->mode_changed); > + > + set_freesync_fixed_config(dm_new_crtc_state); > + > + goto skip_modeset; > + } else if (aconnector && > +is_freesync_video_mode(&new_crtc_state->mode, > aconnector) && > +amdgpu_exp_freesync_vid_mode) > + set_freesync_fixed_config(dm_new_crtc_state); > + > ret = dm_atomic_get_state(state, &dm_state); > if (ret) > goto fail; > diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h > b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h > index f5a5f1ad7dba..fd5fb9dafded 100644 > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h > @@ -455,6 +455,7 @@ struct dm_crtc_state { > > bool freesync_timing_changed; > bool freesync_vrr_info_changed; > + bool freesync_video_mode; > > bool dsc_force_changed; > bool vrr_supported; With the minor comments fixed/explained above, this patch is Reviewed-by: Shashank Sharma - Shashank ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v3 2/3] drm/amd/display: Add freesync video modes based on preferred modes

2020-12-14 Thread Shashank Sharma
s(struct drm_connector *connector) > { > struct amdgpu_dm_connector *amdgpu_dm_connector = > @@ -7014,6 +7180,7 @@ static int amdgpu_dm_connector_get_modes(struct > drm_connector *connector) > } else { > amdgpu_dm_connector_ddc_get_modes(connector, edid); >

Re: [PATCH v2 0/3] Experimental freesync video mode optimization

2020-12-10 Thread Shashank Sharma
Hello Simon, Hope you are doing well, I was helping out Aurabindo and the team with the design, so I have taken the liberty of adding some comments on behalf of the team, Inline. On 11/12/20 3:31 am, Simon Ser wrote: > Hi, > > (CC dri-devel, Pekka and Martin who might be interested in this as w

[PATCH 2/3] drm/i915: Add support for scaling filters

2019-10-22 Thread Shashank Sharma
This patch does the following: - Creates the CRTC property for scaling filter mode (for GEN11 and +). - Applies the chosen filter value while enabling the panel fitter. - Adds CRTC state readouts and comparisons. Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/display/intel_display.c

[PATCH 1/3] drm: Introduce scaling filter mode property

2019-10-22 Thread Shashank Sharma
pick filters like Nearest-neighbor applied for non-blurry outputs. There was a RFC patch series published, to discus the request to enable Integer mode scaling by some of the gaming communities, which can be found here: https://patchwork.freedesktop.org/series/66175/ Signed-off-by: Shashank S

[PATCH 0/3] Add scaling filters in DRM layer

2019-10-22 Thread Shashank Sharma
published for the same, which can be seen here: https://patchwork.freedesktop.org/series/66175/ Shashank Sharma (3): drm: Introduce scaling filter mode property drm/i915: Add support for scaling filters drm/i915: Handle nearest-neighbor scaling filter drivers/gpu/drm/drm_atomic_uapi.c

[PATCH 3/3] drm/i915: Handle nearest-neighbor scaling filter

2019-10-22 Thread Shashank Sharma
ntainers can suggest. Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/display/intel_display.c | 102 ++ .../drm/i915/display/intel_display_types.h| 3 + drivers/gpu/drm/i915/i915_reg.h | 31 ++ 3 files changed, 136 insertions(+) diff --git a/drivers/

[REBASE 5/5] drm: Add and handle new aspect ratios in DRM layer

2017-11-17 Thread Shashank Sharma
and later reverted due to lack of DRM client protection, while adding aspect ratio bits in user modes. This is a re-spin of the series, with DRM client cap protection. The previous series can be found here: https://pw-emeril.freedesktop.org/series/10850/ Signed-off-by: Shashank Sharma Reviewed

[REBASE 0/5] Aspect ratio support in DRM layer

2017-11-17 Thread Shashank Sharma
ths Shashank Sharma (2): drm: Add aspect ratio parsing in DRM layer drm: Add and handle new aspect ratios in DRM layer aknautiy (2): drm: Add DRM client cap for aspect-ratio drm: Expose modes with aspect ratio, only if requested drivers/gpu/drm/drm_atomic.c|

[REBASE 3/5] drm: Expose modes with aspect ratio, only if requested

2017-11-17 Thread Shashank Sharma
st, if the user-space has not set the aspect ratio DRM client cap. Cc: Ville Syrjala Cc: Shashank Sharma Cc: Jose Abreu Signed-off-by: aknautiy --- drivers/gpu/drm/drm_connector.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/drm_connector.c b/drive

[REBASE 4/5] drm: Add aspect ratio parsing in DRM layer

2017-11-17 Thread Shashank Sharma
with DRM cap protection, to avoid aspect ratio information, when the client doesn't request for it. Review link: https://pw-emeril.freedesktop.org/patch/104068/ Background discussion: https://patchwork.kernel.org/patch/9379057/ Signed-off-by: Shashank Sharma Signed-off-by: Lin, Jia Signed-off-by

[REBASE 2/5] drm: Handle aspect ratio in modeset paths

2017-11-17 Thread Shashank Sharma
f the user does not support aspect ratio. 3. avoids setting the aspect-ratio info in user-mode, while converting user-mode from the kernel-mode. Cc: Ville Syrjala Cc: Shashank Sharma Cc: Jose Abreu Signed-off-by: Ankit Nautiyal --- drivers/gpu/drm/drm_atomic.c

[REBASE 1/5] drm: Add DRM client cap for aspect-ratio

2017-11-17 Thread Shashank Sharma
Syrjala Cc: Shashank Sharma Signed-off-by: aknautiy --- drivers/gpu/drm/drm_ioctl.c | 5 + include/drm/drm_file.h | 7 +++ include/uapi/drm/drm.h | 7 +++ 3 files changed, 19 insertions(+) diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c index 4aafe48

[PATCH 1/5] drm: Add DRM client cap for aspect-ratio

2017-11-16 Thread Shashank Sharma
Syrjala Cc: Shashank Sharma Signed-off-by: aknautiy --- drivers/gpu/drm/drm_ioctl.c | 5 + include/drm/drm_file.h | 7 +++ include/uapi/drm/drm.h | 7 +++ 3 files changed, 19 insertions(+) diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c index 4aafe48

[PATCH 2/5] drm: Handle aspect ratio in modeset paths

2017-11-16 Thread Shashank Sharma
does not support aspect ratio. 3. avoids setting the aspect-ratio info in user-mode, while converting user-mode from the kernel-mode. Cc: Ville Syrjala Cc: Shashank Sharma Cc: Jose Abreu Signed-off-by: aknautiy --- drivers/gpu/drm/drm_atomic.c

[PATCH 4/5] drm: Add aspect ratio parsing in DRM layer

2017-11-16 Thread Shashank Sharma
with DRM cap protection, to avoid aspect ratio information, when the client doesn't request for it. Review link: https://pw-emeril.freedesktop.org/patch/104068/ Background discussion: https://patchwork.kernel.org/patch/9379057/ Signed-off-by: Shashank Sharma Signed-off-by: Lin, Jia Signed-off-by

[PATCH 3/5] drm: Expose modes with aspect ratio, only if requested

2017-11-16 Thread Shashank Sharma
st, if the user-space has not set the aspect ratio DRM client cap. Cc: Ville Syrjala Cc: Shashank Sharma Cc: Jose Abreu Signed-off-by: aknautiy --- drivers/gpu/drm/drm_connector.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/drm_connector.c b/drive

[PATCH 0/5] Aspect ratio support in DRM layer

2017-11-16 Thread Shashank Sharma
yal in Wayland/weston layer: https://patchwork.freedesktop.org/patch/188125/ This, helps us in passing HDMI compliance test cases like 7-27, where the test equipment applies a CEA mode, and expects the exact VIC in the AVI infoframes. Shashank Sharma (2): drm: Add aspect ratio parsing in DRM la

[PATCH 5/5] drm: Add and handle new aspect ratios in DRM layer

2017-11-16 Thread Shashank Sharma
and later reverted due to lack of DRM client protection, while adding aspect ratio bits in user modes. This is a re-spin of the series, with DRM client cap protection. The previous series can be found here: https://pw-emeril.freedesktop.org/series/10850/ Signed-off-by: Shashank Sharma Reviewed

[PATCH v4 1/3] drm: Add retries for lspcon mode detection

2017-10-12 Thread Shashank Sharma
(Add the retries exclusively for LSPCON, not for all dp_dual_mode devices) V4: Added r-b from Imre, sending it to dri-devel (Jani) Cc: Ville Syrjala Cc: Imre Deak Cc: Jani Nikula Reviewed-by: Imre Deak Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_dp_dual_mode_helpe

[PATCH v8 06/14] drm/edid: parse YCBCR420 videomodes from EDID

2017-07-14 Thread Shashank Sharma
cmdb modes - use 1ULL while checking bitmap Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 154 +++- include/drm/drm_connector.h | 12 2 files changed, 164 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/d

[PATCH v2 12/14] drm/i915: prepare csc unit for YCBCR420 output

2017-07-13 Thread Shashank Sharma
e Cc: Ville Syrjala Cc: Daniel Vetter Cc: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_color.c | 46 +++- drivers/gpu/drm/i915/intel_display.c | 15 2 files changed, 60 insertions(+), 1 deletion(-)

[PATCH v2 14/14] drm/i915/glk: set HDMI 2.0 identifier

2017-07-13 Thread Shashank Sharma
Ander V6: Rebase V7: Rebase Cc: Ville Syrjala Cc: Ander Conselvan de Oliveira Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_hdmi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu

[PATCH v2 13/14] drm/i915: set colorspace for YCBCR420 outputs

2017-07-13 Thread Shashank Sharma
info in driver(not drm layer) (Ville) Cc: Ville Syrjala Cc: Ander Conselvan de Oliveira Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_hdmi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b

[PATCH v2 09/14] drm/i915: add config function for YCBCR420 outputs

2017-07-13 Thread Shashank Sharma
approach (Ville) V7: Addressed review comments from Ville - add else case in 12BPC check. - extract ycbcr420 state inside hdmi_12bpc_possible function. Cc: Ville Syrjala Cc: Daniel Vetter Cc: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915

[PATCH v2 10/14] drm/i915: prepare scaler for YCBCR420 modeset

2017-07-13 Thread Shashank Sharma
o not create a new scaler user, use existing pipe scaler user. Cc: Ville Syrjala Cc: Ander Conselvan De Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_display.c | 3 +++ drivers/gpu/drm/i915/intel_drv.h | 4 +++- drivers/gpu/drm/i915/intel_hdmi.c| 12 +++

[PATCH v2 11/14] drm/i915: prepare pipe for YCBCR420 output

2017-07-13 Thread Shashank Sharma
for YCBCR420 outputs. V2: rebase V3: rebase V4: rebase V5: added r-b from Ander V6: Handle only YCBCR420 outputs (ville) V7: rebase Cc: Ville Syrjala Cc: Ander Conselvan de Oliveira Cc: Daniel Vetter Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu

[PATCH v2 08/14] drm: add helper functions for YCBCR420 handling

2017-07-13 Thread Shashank Sharma
: Addressed review comments from Ville - Remove cea_vic_valid() check. - Fix indentation. - Make input parameters to helpers, const. Cc: Ville Syrjala Cc: Jose Abreu Cc: Daniel Vetter Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_modes.c | 58

[PATCH v2 07/14] drm/edid: parse ycbcr 420 deep color information

2017-07-13 Thread Shashank Sharma
y420_dc_modes into this patch, where its used (Ville) V5: Optimize function, if(conditions) not reqd (Ville) V6: Rebase V7: Rebase Cc: Ville Syrjälä Cc: Jose Abreu Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 12 include/drm/drm_connector.h | 3 +++ include/drm

[PATCH v2 06/14] drm/edid: parse YCBCR420 videomodes from EDID

2017-07-13 Thread Shashank Sharma
nction to prune ycbcr420-only modes from connector's probed modes. V6: Rebase V7: Move this patch after the 420_only validation patch (Ville) Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 148 +++- include/drm/drm_connector.

[PATCH v2 05/14] drm: add helper to validate YCBCR420 modes

2017-07-13 Thread Shashank Sharma
non-static. - Update MODE_STATUS with NO_420 condition. - Introduce y420_vdb_modes variable in this patch Cc: Ville Syrjala Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 1 + drivers/gpu/drm/drm_modes.c| 29 + drive

[PATCH v2 04/14] drm/edid: cleanup patch for CEA extended-tag macro

2017-07-13 Thread Shashank Sharma
V5: Introduced this patch into HDMI-YCBCR-output series V6: Rebase V7: Rebase Cc: Ville Syrjala Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c

[PATCH v2 02/14] drm/edid: complete CEA modedb(VIC 1-107)

2017-07-13 Thread Shashank Sharma
indentation for modes from VIC 80 Reviewed-by: Jose Abreu Reviewed-by: Alex Deucher Reviewed-by: Neil Armstrong Acked-by: Harry Wentland Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 227 - 1 file changed, 226 insertions(+), 1 deletion

[PATCH v2 03/14] drm/edid: parse sink information before CEA blocks

2017-07-13 Thread Shashank Sharma
s the call to drm_add_display_info function, before the mode parsing block. V4: Introduced new patch in the series V5: Move this patch before 4:2:0 parsing patch (ville) Added r-b from Ville V6: Rebase V7: Rebase Reviewed-by: Ville Syrjälä Signed-off-by: Shashank Sharma --- drivers/gp

[PATCH v2 01/14] drm: handle HDMI 2.0 VICs in AVI info-frames

2017-07-13 Thread Shashank Sharma
sed review comments from Ville - Do not block HDMI vendor IF, instead check for VIC while handling AVI infoframes V6: Rebase V7: Rebase Reviewed-by: Andrzej Hajda Reviewed-by: Neil Armstrong Signed-off-by: Shashank Sharma --- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c| 2 +- drivers/g

[PATCH v2 00/14] YCBCR 4:2:0 handling in DRM layer

2017-07-13 Thread Shashank Sharma
.0 monitor. Protocol testing: Astro VA-1844A HDMI analyzer. Shashank Sharma (14): drm: handle HDMI 2.0 VICs in AVI info-frames drm/edid: complete CEA modedb(VIC 1-107) drm/edid: parse sink information before CEA blocks drm/edid: cleanup patch for CEA extended-tag macro drm: add helper to validat

[PATCH 16/20] drm: add function to read vendor OUI

2017-07-10 Thread Shashank Sharma
ff-by: Shashank Sharma --- drivers/gpu/drm/drm_dp_dual_mode_helper.c | 24 include/drm/drm_dp_dual_mode_helper.h | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_dp_dual_mode_helper.c b/drivers/gpu/drm/drm_dp_dual_mode_helper.c

[PATCH 20/20] drm/i915: write AVI infoframes for LSPCON

2017-07-10 Thread Shashank Sharma
Ville Syrjälä Cc: Imre Deak Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_ddi.c| 8 ++ drivers/gpu/drm/i915/intel_drv.h| 3 + drivers/gpu/drm/i915/intel_lspcon.c | 174 3 files changed, 185 insertions(+) diff --git a/drivers/gpu/drm

[PATCH 19/20] drm/i915: Move AVI infoframe function to DDI layer

2017-07-10 Thread Shashank Sharma
LSPCON in the same function. - Links this function as AVI infoframe setup function for LSPCON. Cc: Ville Syrjälä Cc: Imre Deak Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_ddi.c| 89 ++--- drivers/gpu/drm/i915/intel_drv.h| 9 drivers

[PATCH 17/20] drm/i915: check LSPCON vendor OUI

2017-07-10 Thread Shashank Sharma
structure for future usages. Cc: Imre Deak Cc: Ville Syrjälä Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_drv.h| 6 ++ drivers/gpu/drm/i915/intel_lspcon.c | 24 2 files changed, 30 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_drv.h b

[PATCH 18/20] drm/i915: YCBCR 420 support for LSPCON

2017-07-10 Thread Shashank Sharma
patch adds the necessary changes to drive YCBCR420 output from LSPCON based HDMI output. Cc: Ville Syrjälä Cc: Imre Deak Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_display.c | 10 +++--- drivers/gpu/drm/i915/intel_dp.c | 16 +++- drivers/gpu/drm/i915

[PATCH 15/20] drm/i915/glk: set HDMI 2.0 identifier

2017-07-10 Thread Shashank Sharma
Ander V6: Rebase Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_hdmi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 2524ac4..d1b1efc 100644 --- a/drivers

[PATCH 11/20] drm/i915: prepare scaler for YCBCR420 modeset

2017-07-10 Thread Shashank Sharma
o existing scaler framework. This output type is identified using bit 30 of the scaler users bitmap. V2: rebase V3: rebase V4: rebase V5: addressed review comments from Ander: - No need to check both scaler_user && hdmi_output. Check for scaler_user is enough. Signed-off-b

[PATCH 14/20] drm/i915: set colorspace for YCBCR420 outputs

2017-07-10 Thread Shashank Sharma
Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_hdmi.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 9e8d784..2524ac4 100644 --- a/drivers/gpu/drm/i915/intel_hdmi.c

[PATCH 12/20] drm/i915: prepare pipe for YCBCR420 output

2017-07-10 Thread Shashank Sharma
for YCBCR420 outputs. V2: rebase V3: rebase V4: rebase V5: added r-b from Ander V6: Handle only YCBCR420 outputs (ville) Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ drivers/gpu/drm/i915/intel_display.c | 7 +++ 2

[PATCH 10/20] drm/i915: add config function for YCBCR420 outputs

2017-07-10 Thread Shashank Sharma
approach (Ville) Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_display.c | 1 + drivers/gpu/drm/i915/intel_drv.h | 3 +++ drivers/gpu/drm/i915/intel_hdmi.c| 42 +--- 3 files changed, 43 insertions(+), 3 deletions(-) diff --git a/drivers/gpu

[PATCH 13/20] drm/i915: prepare csc unit for YCBCR420 output

2017-07-10 Thread Shashank Sharma
6: Handle YCBCR420 outputs only (Ville) Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_color.c | 47 +++- drivers/gpu/drm/i915/intel_display.c | 17 + 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/drivers/gpu

[PATCH 08/20] drm: set output colorspace in AVI infoframe

2017-07-10 Thread Shashank Sharma
output type. Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 29 + include/drm/drm_edid.h | 5 + 2 files changed, 34 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 944a28f..cede86e 100644 --- a/drivers

[PATCH 09/20] drm: add helper functions for YCBCR420 handling

2017-07-10 Thread Shashank Sharma
) Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_modes.c | 74 + include/drm/drm_modes.h | 6 2 files changed, 80 insertions(+) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index 3b53c8e3..61c82a38 100644 --- a

[PATCH 07/20] drm/edid: parse ycbcr 420 deep color information

2017-07-10 Thread Shashank Sharma
y420_dc_modes into this patch, where its used (Ville) V5: Optimize function, if(conditions) not reqd (Ville) V6: Rebase Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 12 include/drm/drm_connector.h | 3 +++ include/drm/drm_edid.h | 8 3 files changed

[PATCH 06/20] drm: add helper to validate YCBCR420 modes

2017-07-10 Thread Shashank Sharma
s in the modedb. V5: Introduced the patch in series. V5-resend: Squashed two patches (validate YCBCR420 and add YCBCR420 identifier) Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 3 ++- drivers/gpu/drm/drm_modes.c| 28 d

[PATCH 04/20] drm/edid: cleanup patch for CEA extended-tag macro

2017-07-10 Thread Shashank Sharma
V5: Introduced this patch into HDMI-YCBCR-output series V6: Rebase Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 274356d..9a07f4

[PATCH 03/20] drm/edid: parse sink information before CEA blocks

2017-07-10 Thread Shashank Sharma
s the call to drm_add_display_info function, before the mode parsing block. V4: Introduced new patch in the series V5: Move this patch before 4:2:0 parsing patch (ville) Added r-b from Ville Reviewed-by: Ville Syrjälä Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 9 +++

[PATCH 05/20] drm/edid: parse YCBCR420 videomodes from EDID

2017-07-10 Thread Shashank Sharma
ctor's probed modes. V6: Rebase Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 148 +++- include/drm/drm_connector.h | 20 ++ 2 files changed, 166 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/driv

[PATCH 00/20] YCBCR 4:2:0 handling for LSPCON

2017-07-10 Thread Shashank Sharma
ing from patch 15, which are: drm: add function to read vendor OUI drm/i915: check LSPCON vendor OUI drm/i915: YCBCR 420 support for LSPCON drm/i915: Move AVI infoframe function to DDI layer drm/i915: write AVI infoframes for LSPCON Shashank Sharma (20): drm: handle HDMI 2.0 VICs in AVI inf

[PATCH 01/20] drm: handle HDMI 2.0 VICs in AVI info-frames

2017-07-10 Thread Shashank Sharma
VIC while handling AVI infoframes V6: Rebase Reviewed-by: Andrzej Hajda Reviewed-by: Neil Armstrong Signed-off-by: Shashank Sharma --- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c| 2 +- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c| 2 +- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 2 +- drivers/g

[PATCH 02/20] drm/edid: complete CEA modedb(VIC 1-107)

2017-07-10 Thread Shashank Sharma
: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 227 - 1 file changed, 226 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 0667b07..b879662 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers

[PATCH 15/15] drm/i915/glk: set HDMI 2.0 identifier

2017-07-06 Thread Shashank Sharma
Ander V6: Rebase Cc: Ville Syrjala Cc: Ander Conselvan de Oliveira Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_hdmi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915

[PATCH 14/15] drm/i915: set colorspace for YCBCR420 outputs

2017-07-06 Thread Shashank Sharma
Cc: Ander Conselvan de Oliveira Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_hdmi.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c index 9e8d784

[PATCH 13/15] drm/i915: prepare csc unit for YCBCR420 output

2017-07-06 Thread Shashank Sharma
6: Handle YCBCR420 outputs only (Ville) Cc: Ville Syrjala Cc: Daniel Vetter Cc: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_color.c | 47 +++- drivers/gpu/drm/i915/intel_display.c | 17 + 2 files ch

[PATCH 12/15] drm/i915: prepare pipe for YCBCR420 output

2017-07-06 Thread Shashank Sharma
for YCBCR420 outputs. V2: rebase V3: rebase V4: rebase V5: added r-b from Ander V6: Handle only YCBCR420 outputs (ville) Cc: Ville Syrjala Cc: Ander Conselvan de Oliveira Cc: Daniel Vetter Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915

[PATCH 07/15] drm/edid: parse ycbcr 420 deep color information

2017-07-06 Thread Shashank Sharma
y420_dc_modes into this patch, where its used (Ville) V5: Optimize function, if(conditions) not reqd (Ville) V6: Rebase Cc: Ville Syrjälä Cc: Jose Abreu Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 12 include/drm/drm_connector.h | 3 +++ include/drm/drm_edid.h

[PATCH 06/15] drm: add helper to validate YCBCR420 modes

2017-07-06 Thread Shashank Sharma
s in the modedb. V5: Introduced the patch in series. V5-resend: Squashed two patches (validate YCBCR420 and add YCBCR420 identifier) Cc: Ville Syrjala Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 3 ++- drivers/gpu/drm/drm_modes.c

[PATCH 10/15] drm/i915: add config function for YCBCR420 outputs

2017-07-06 Thread Shashank Sharma
approach (Ville) Cc: Ville Syrjala Cc: Daniel Vetter Cc: Ander Conselvan de Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_display.c | 1 + drivers/gpu/drm/i915/intel_drv.h | 3 +++ drivers/gpu/drm/i915/intel_hdmi.c| 42 +--- 3

[PATCH 11/15] drm/i915: prepare scaler for YCBCR420 modeset

2017-07-06 Thread Shashank Sharma
Syrjala Cc: Ander Conselvan De Oliveira Signed-off-by: Shashank Sharma --- drivers/gpu/drm/i915/intel_atomic.c | 6 ++ drivers/gpu/drm/i915/intel_display.c | 23 +++ drivers/gpu/drm/i915/intel_drv.h | 10 +- drivers/gpu/drm/i915/intel_hdmi.c| 12 dr

[PATCH 08/15] drm: set output colorspace in AVI infoframe

2017-07-06 Thread Shashank Sharma
output type. Cc: Ville Syrjala Cc: Jose Abreu Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 29 + include/drm/drm_edid.h | 5 + 2 files changed, 34 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index

[PATCH 04/15] drm/edid: cleanup patch for CEA extended-tag macro

2017-07-06 Thread Shashank Sharma
V5: Introduced this patch into HDMI-YCBCR-output series V6: Rebase Cc: Ville Syrjala Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index

[PATCH 05/15] drm/edid: parse YCBCR420 videomodes from EDID

2017-07-06 Thread Shashank Sharma
nction to prune ycbcr420-only modes from connector's probed modes. V6: Rebase Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 148 +++- include/drm/drm_connector.h | 20 ++ 2 files changed, 166 insertions(+), 2 deletions(

[PATCH 09/15] drm: add helper functions for YCBCR420 handling

2017-07-06 Thread Shashank Sharma
: Ville Syrjala Cc: Jose Abreu Cc: Daniel Vetter Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_modes.c | 74 + include/drm/drm_modes.h | 6 2 files changed, 80 insertions(+) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu

[PATCH 02/15] drm/edid: complete CEA modedb(VIC 1-107)

2017-07-06 Thread Shashank Sharma
Reviewed-by: Alex Deucher Reviewed-by: Neil Armstrong Acked-by: Harry Wentland Signed-off-by: Shashank Sharma --- drivers/gpu/drm/drm_edid.c | 227 - 1 file changed, 226 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu

  1   2   3   4   5   >