[PATCH v6.1] drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer

2024-11-13 Thread Vamsi Krishna Brahmajosyula
: Philip Yang Reviewed-by: Felix Kuehling Acked-by: Christian König Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin Signed-off-by: Vamsi Krishna Brahmajosyula --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 14 +++--- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h

Re: [PATCH 1/5] drm/edid: convert drm_parse_hdmi_vsdb_video to use struct cea_db *

2024-11-13 Thread Vamsi Krishna Brahmajosyula
Thanks for the feedback. On Mon, Oct 28, 2024 at 8:09 PM Ville Syrjälä wrote: > > On Mon, Oct 28, 2024 at 03:45:07PM +0200, Jani Nikula wrote: > > On Sun, 27 Oct 2024, Vamsi Krishna Brahmajosyula > > wrote: > > > @@ -6320,19 +6321,20 @@ static void drm_parse_

[PATCH v4] drm/i915/cx0: Set power state to ready only on owned PHY lanes

2024-11-12 Thread Vamsi Krishna Brahmajosyula
. Tested on Meteor Lake-P [Intel Arc Graphics] with DP alt mode. Signed-off-by: Vamsi Krishna Brahmajosyula --- v3 -> v4: - Rebase code - Include exact TODO to the commit message v2 -> v3: - Fix changelog per Jani Nikula's feedback v1 -> v2: Address Gustavo Sousa's feedback - Use

[PATCH 5/5] drm/edid: convert drm_parse_hdr_metadata_block to use struct cea_db *

2024-10-27 Thread Vamsi Krishna Brahmajosyula
Address the following FIXME: convert parsers to use struct cea_db in the parser drm_parse_hdr_metadata_block cea_db contains len and then data. Appropriately change the indices when referring to individual elements (db[n] becomes data[n-1]). Signed-off-by: Vamsi Krishna Brahmajosyula

[PATCH 3/5] drm/edid: convert drm_parse_microsoft_vsdb to use struct cea_db *

2024-10-27 Thread Vamsi Krishna Brahmajosyula
Address the following FIXME: convert parsers to use struct cea_db in the parser drm_parse_microsoft_vsdb cea_db contains len and then data. Appropriately change the indices when referring to individual elements (db[n] becomes data[n-1]). Signed-off-by: Vamsi Krishna Brahmajosyula

[PATCH 4/5] drm/edid: convert drm_parse_vcdb to use struct cea_db *

2024-10-27 Thread Vamsi Krishna Brahmajosyula
Address the following FIXME: convert parsers to use struct cea_db in the parser drm_parse_vcdb cea_db contains len and then data. Appropriately change the indices when referring to individual elements (db[n] becomes data[n-1]). Signed-off-by: Vamsi Krishna Brahmajosyula --- drivers

[PATCH 2/5] drm/edid: convert drm_parse_hdmi_forum_scds to use struct cea_db *

2024-10-27 Thread Vamsi Krishna Brahmajosyula
Address the following FIXME: convert parsers to use struct cea_db in the parser drm_parse_hdmi_forum_scds and related methods cea_db contains len and then data. Appropriately change the indices when referring to individual elements (db[n] becomes data[n-1]). Signed-off-by: Vamsi Krishna

[PATCH 1/5] drm/edid: convert drm_parse_hdmi_vsdb_video to use struct cea_db *

2024-10-27 Thread Vamsi Krishna Brahmajosyula
Address the following FIXME: convert parsers to use struct cea_db in the parser drm_parse_hdmi_vsdb_video cea_db contains len and then data. Appropriately change the indices when referring to individual elements (db[n] becomes data[n-1]). Signed-off-by: Vamsi Krishna Brahmajosyula

[PATCH 0/5] drm/edid: Convert cea_ext parsers to use struct cea_db *

2024-10-27 Thread Vamsi Krishna Brahmajosyula
={u8 len, u8 *data}. Vamsi Krishna Brahmajosyula (5): drm/edid: convert drm_parse_hdmi_vsdb_video to use struct cea_db * drm/edid: convert drm_parse_hdmi_forum_scds to use struct cea_db * drm/edid: convert drm_parse_microsoft_vsdb to use struct cea_db * drm/edid: convert drm_parse_vcdb to

Re: [PATCH] drm/edid: transition to passing struct cea_db * to cae_db_payload_len

2024-10-21 Thread Vamsi Krishna Brahmajosyula
On Mon, Oct 21, 2024 at 7:12 PM Jani Nikula wrote: > > On Fri, 11 Oct 2024, Vamsi Krishna Brahmajosyula > wrote: > > Address the FIXME in cea_db_payload_len > > Transition to passing struct cea_db * everywhere > > You've misunderstood the comment. Th

Re: [PATCH] drm/edid: transition to passing struct cea_db * to cae_db_payload_len

2024-10-21 Thread Vamsi Krishna Brahmajosyula
On Fri, Oct 11, 2024 at 8:59 PM Vamsi Krishna Brahmajosyula wrote: > > Address the FIXME in cea_db_payload_len > Transition to passing struct cea_db * everywhere > > Precompute the payload length in drm_parse_cea_ext and pass to > individual parsers to avoid casting str

[PATCH] drm/edid: transition to passing struct cea_db * to cae_db_payload_len

2024-10-11 Thread Vamsi Krishna Brahmajosyula
inconsistent in the file, use u8, u16 where it was already in place, use int elsewhere. Signed-off-by: Vamsi Krishna Brahmajosyula --- drivers/gpu/drm/drm_edid.c | 63 -- 1 file changed, 27 insertions(+), 36 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b

Re: [PATCH] gpu/drm: set gamma_lut or degamma_lut based on HW in setcmap_atomic

2024-10-07 Thread Vamsi Krishna Brahmajosyula
On Sun, Oct 6, 2024 at 6:31 AM kernel test robot wrote: > > Hi Vamsi, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on 7ec462100ef9142344ddbf86f2c3008b97acddbe] > > url: > https://github.com/intel-lab-lkp/linux/commits/Vamsi-Kr

[PATCH] gpu/drm: set gamma_lut or degamma_lut based on HW in setcmap_atomic

2024-10-03 Thread Vamsi Krishna Brahmajosyula
(). Tested by calling setcmap_atomic in drm_fb_helper_setcmap with out the condition check. Signed-off-by: Vamsi Krishna Brahmajosyula --- drivers/gpu/drm/drm_fb_helper.c | 50 - 1 file changed, 31 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm

[PATCH] drm/i915/cx0: Set power state to ready only on owned PHY lanes

2024-09-19 Thread Vamsi Krishna Brahmajosyula
ed-off-by: Vamsi Krishna Brahmajosyula --- Patch version removed so that patchwork would recognize the entry drivers/gpu/drm/i915/display/intel_cx0_phy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c b/drivers/gpu/

[PATCH v3] drm/i915/cx0: Set power state to ready only on owned PHY lanes

2024-09-17 Thread Vamsi Krishna Brahmajosyula
ed-off-by: Vamsi Krishna Brahmajosyula --- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c b/drivers/gpu/drm/i915/display/intel_cx0_phy.c index 4a6c3040ca15..cbed53d3b250 100644 --- a

[PATCH v2] drm/i915/cx0: Set power state to ready only on owned PHY lanes

2024-09-16 Thread Vamsi Krishna Brahmajosyula
mode. v1 -> v2: Address comments from Gustavo Sousa Signed-off-by: Vamsi Krishna Brahmajosyula --- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c b/drivers/gpu/drm/i915/disp

[PATCH] drm/i915/cx0: Use one lane to set power state to ready in DP alt mode

2024-09-06 Thread Vamsi Krishna Brahmajosyula
Graphics] with DP alt mode. Signed-off-by: Vamsi Krishna Brahmajosyula --- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_cx0_phy.c b/drivers/gpu/drm/i915/display/intel_cx0_phy.c index

[PATCH v4.19-v6.1] drm/amdgpu: Using uninitialized value *size when calling

2024-08-29 Thread Vamsi Krishna Brahmajosyula
Zhang Suggested-by: Christian König Reviewed-by: Christian König Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin Signed-off-by: Vamsi Krishna Brahmajosyula --- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm