✗ CI.checkpatch: warning for drm/xe/oa: Call xe_oa_emit_oa_config() with new config when updating config

Patchwork patchwork at emeril.freedesktop.org
Wed Jun 19 20:12:51 UTC 2024


== Series Details ==

Series: drm/xe/oa: Call xe_oa_emit_oa_config() with new config when updating config
URL   : https://patchwork.freedesktop.org/series/135076/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit d321f281b86a81fcfc5eb2dfbd12f17930a19310
Author: José Roberto de Souza <jose.souza at intel.com>
Date:   Wed Jun 19 12:28:54 2024 -0700

    drm/xe/oa: Call xe_oa_emit_oa_config() with new config when updating config
    
    When UMD ask config to be updated, xe_oa_config_locked() was calling
    xe_oa_emit_oa_config() that would use stream->oa_config but that is
    only changed to the next oa_config after xe_oa_emit_oa_config() finish.
    So it was setting the same config for all DRM_XE_PERF_IOCTL_CONFIG
    calls.
    
    Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
    Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
+ /mt/dim checkpatch 66d8ec4c6e7d124a021a3a8d038ed9e739cc9359 drm-intel
d321f281b86a drm/xe/oa: Call xe_oa_emit_oa_config() with new config when updating config
-:28: WARNING:LONG_LINE: line length of 117 exceeds 100 columns
#28: FILE: drivers/gpu/drm/xe/xe_oa.c:890:
+static struct xe_oa_config_bo *xe_oa_alloc_config_buffer(struct xe_oa_stream *stream, struct xe_oa_config *oa_config)

total: 0 errors, 1 warnings, 0 checks, 41 lines checked




More information about the Intel-xe mailing list