[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-05-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #13 from burak  ---
(In reply to Harry Wentland from comment #12)
> Hi burak,
> 
> your stack is different. See dce110_opp_program_regamma_pwl vs
> dce110_stream_encoder_update_hdmi_info_packets on the stack.
> 
> Can you open a new ticket?
> 
> Thanks,
> Harry

Thanks Harry, I am opening now

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #12 from Harry Wentland  ---
Hi burak,

your stack is different. See dce110_opp_program_regamma_pwl vs
dce110_stream_encoder_update_hdmi_info_packets on the stack.

Can you open a new ticket?

Thanks,
Harry

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #11 from burak  ---
H(In reply to Harry Wentland from comment #10)
> No worries. Don't hesitate to open a new ticket if your warning/error log
> seems to indicate amdgpu. I'd be happy to take a brief look.
> 
> Even if I won't have time to provide an immediate fix it will still allow me
> to better understand what problems people have with our driver and where we
> might need to spend more effort.

Hi, sorry to bother for closed issue but I am having exact same error on every
boot, I build kernel from master head of linus repo, fedora with Fury X gpu. Is
this related with my driver? i have xorg-x11-drv-amdgpu.x86_64  
(18.0.1-1.fc27)

 WARNING: CPU: 8 PID: 288 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132
generic_reg_update_ex+0x108/0x150 [amdgpu]
[7.598040] Modules linked in: amdkfd amd_iommu_v2 amdgpu(+) chash gpu_sched
drm_kms_helper hid_logitech_hidpp ttm drm igb ptp crc32c_intel nvme pps_core
hid_logitech_dj hid_microsoft nvme_core dca i2c_algo_b
it
[7.598045] CPU: 8 PID: 288 Comm: kworker/8:1 Tainted: GW
4.17.0-rc5-1-burak+ #4
[7.598045] Hardware name: System manufacturer System Product Name/PRIME
X399-A, BIOS 0601 03/27/2018
[7.598047] Workqueue: events work_for_cpu_fn
[7.598073] RIP: 0010:generic_reg_update_ex+0x108/0x150 [amdgpu]
[7.598073] RSP: 0018:b82e475d3760 EFLAGS: 00010246
[7.598074] RAX: b82e475d3780 RBX: 937e1efdc000 RCX:

[7.598074] RDX: 00012390 RSI:  RDI:
937e21691d80
[7.598075] RBP: b82e475d37d0 R08:  R09:

[7.598075] R10: b82e475d37e8 R11: 0001 R12:
0001
[7.598075] R13:  R14: 937e1f5fc800 R15:
937e1e9ac000
[7.598076] FS:  () GS:937e3f40()
knlGS:
[7.598077] CS:  0010 DS:  ES:  CR0: 80050033
[7.598077] CR2: 7f830e34465e CR3: 00041fb9e000 CR4:
003406e0
[7.598078] Call Trace:
[7.598108]  dce110_stream_encoder_update_hdmi_info_packets+0x20e/0x3a0
[amdgpu]
[7.598135]  dc_stream_adjust_vmin_vmax+0xb3/0xf0 [amdgpu]
[7.598161]  set_freesync_on_streams.part.6+0x4d/0x250 [amdgpu]
[7.598187]  mod_freesync_notify_mode_change+0x11e/0x150 [amdgpu]
[7.598215]  amdgpu_dm_atomic_commit_tail+0x523/0xd00 [amdgpu]
[7.598240]  ? amdgpu_bo_pin_restricted+0x202/0x2c0 [amdgpu]
[7.598267]  ? dm_plane_helper_prepare_fb+0x19c/0x260 [amdgpu]
[7.598271]  commit_tail+0x3d/0x70 [drm_kms_helper]
[7.598274]  drm_atomic_helper_commit+0xfc/0x110 [drm_kms_helper]
[7.598277]  restore_fbdev_mode_atomic+0x1ac/0x210 [drm_kms_helper]
[7.598280]  drm_fb_helper_restore_fbdev_mode_unlocked+0x45/0x90
[drm_kms_helper]
[7.598283]  drm_fb_helper_set_par+0x29/0x50 [drm_kms_helper]
[7.598284]  fbcon_init+0x4d7/0x680
[7.598285]  visual_init+0xd5/0x130
[7.598286]  do_bind_con_driver+0x1f4/0x400
[7.598287]  do_take_over_console+0x7b/0x190
[7.598288]  do_fbcon_takeover+0x58/0xb0
[7.598289]  notifier_call_chain+0x47/0x70
[7.598291]  blocking_notifier_call_chain+0x3e/0x60
[7.598291]  ? down+0x12/0x50
[7.598292]  register_framebuffer+0x248/0x350
[7.598296]  __drm_fb_helper_initial_config_and_unlock+0x221/0x460
[drm_kms_helper]
[7.598320]  amdgpu_fbdev_init+0xc4/0xf0 [amdgpu]
[7.598344]  amdgpu_device_init+0xd56/0x1450 [amdgpu]
[7.598345]  ? kmalloc_order+0x14/0x40
[7.598368]  amdgpu_driver_load_kms+0x86/0x2b0 [amdgpu]
[7.598374]  drm_dev_register+0x132/0x1c0 [drm]
[7.598397]  amdgpu_pci_probe+0x13f/0x200 [amdgpu]
[7.598398]  local_pci_probe+0x42/0xa0
[7.598400]  work_for_cpu_fn+0x16/0x20
[7.598401]  process_one_work+0x175/0x360
[7.598402]  worker_thread+0x1c6/0x380
[7.598403]  ? process_one_work+0x360/0x360
[7.598404]  kthread+0x113/0x130
[7.598405]  ? kthread_create_worker_on_cpu+0x70/0x70

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-04-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #10 from Harry Wentland  ---
No worries. Don't hesitate to open a new ticket if your warning/error log seems
to indicate amdgpu. I'd be happy to take a brief look.

Even if I won't have time to provide an immediate fix it will still allow me to
better understand what problems people have with our driver and where we might
need to spend more effort.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-04-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #9 from Jon  ---
(In reply to Harry Wentland from comment #8)
> (In reply to Jon from comment #7)
> > (In reply to Harry Wentland from comment #6)
> > > Marking resolved as no longer an issue on recent mainline.
> > 
> > Which commit fixes this? I merged in agd5f/drm-fixes-4.17 into linus master:
> > Merge: 3be4aaf4e2d3 7ad35721e7d5
> > 
> 
> I believe it was this:
> 8acad1a18a78 drm/amd/display: Add regamma lut write mask to SOC base
> 
> 
> > I still see these crashes on every startup, with the following graphics 
> > card:
> > 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> > Tonga XT / Amethyst XT [Radeon R9 380X / R9 M295X] (rev f1)
> > 
> 
> Are you seeing a crash or simply the error log described in this ticket?
I'm sorry, I think I've been mislead by the warning so I didn't actually go
through the stack properly on my recent boot. What I'm seeing now seem to be
the same warning line, however it shows a different stack and hence most likely
a different issue. And of course I was wrong to say crash, as nothing stops
after those warnings.

The crash I'm trying to debug is something completely different(every time I
lock screen, machine hangs at least keyboard/screen etc.), I'm just trying to
filter out the other warnings/errors I see to figure out what might be related.
Sorry for the disturbance :)
> 
> > regards

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-04-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #8 from Harry Wentland  ---
(In reply to Jon from comment #7)
> (In reply to Harry Wentland from comment #6)
> > Marking resolved as no longer an issue on recent mainline.
> 
> Which commit fixes this? I merged in agd5f/drm-fixes-4.17 into linus master:
> Merge: 3be4aaf4e2d3 7ad35721e7d5
> 

I believe it was this:
8acad1a18a78 drm/amd/display: Add regamma lut write mask to SOC base


> I still see these crashes on every startup, with the following graphics card:
> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> Tonga XT / Amethyst XT [Radeon R9 380X / R9 M295X] (rev f1)
> 

Are you seeing a crash or simply the error log described in this ticket?

> regards

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #7 from Jon  ---
(In reply to Harry Wentland from comment #6)
> Marking resolved as no longer an issue on recent mainline.

Which commit fixes this? I merged in agd5f/drm-fixes-4.17 into linus master:
Merge: 3be4aaf4e2d3 7ad35721e7d5

I still see these crashes on every startup, with the following graphics card:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga
XT / Amethyst XT [Radeon R9 380X / R9 M295X] (rev f1)

regards

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-04-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

Harry Wentland  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Harry Wentland  ---
Marking resolved as no longer an issue on recent mainline.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-03-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #5 from mikhail.v.gavri...@gmail.com ---
But I see that on mainline kernel still happens another issue:
[43261.036201] amdgpu :07:00.0: swiotlb buffer is full (sz: 2097152 bytes)
[43261.036205] amdgpu :07:00.0: swiotlb: coherent allocation failed,
size=2097152

https://bugs.freedesktop.org/show_bug.cgi?id=104082

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-03-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #4 from mikhail.v.gavri...@gmail.com ---
I couldn't try drm-next-4.17-wip because RX Vega 56 hangs immediately after
start gdm with this kernel: https://bugs.freedesktop.org/show_bug.cgi?id=105833

But I checked this issue on mainline kernel:
https://git.kernel.org/torvalds/t/linux-4.16-rc7.tar.gz and don't saw that it
happens on 4.16-rc7

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #3 from Harry Wentland  ---
Can you try the latest amd-staging-drm-next or drm-next-4.17-wip from
https://cgit.freedesktop.org/~agd5f/linux? It should be fixed now.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #2 from mikhail.v.gavri...@gmail.com ---
(In reply to Harry Wentland from comment #1)
> Is this on a Vega or Raven ASIC?
> 
> If so it's known and a fix should land shortly.

This is Sapphire Radeon RX VEGA 56

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

--- Comment #1 from Harry Wentland  ---
Is this on a Vega or Raven ASIC?

If so it's known and a fix should land shortly.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 105284] Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"

2018-02-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105284

Bug ID: 105284
   Summary: Every boot I get an error in dmesg "WARNING: CPU: 2
PID: 1380 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h
:132 generic_reg_update_ex+0x108/0x150 [amdgpu]"
   Product: DRI
   Version: XOrg git
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/AMDgpu
  Assignee: dri-devel@lists.freedesktop.org
  Reporter: mikhail.v.gavri...@gmail.com

Created attachment 137679
  --> https://bugs.freedesktop.org/attachment.cgi?id=137679=edit
dmesg

Every boot I get an error in dmesg "WARNING: CPU: 2 PID: 1380 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132
generic_reg_update_ex+0x108/0x150 [amdgpu]"

[   17.285753] WARNING: CPU: 2 PID: 1380 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132
generic_reg_update_ex+0x108/0x150 [amdgpu]
[   17.285786] Modules linked in: nf_conntrack_netbios_ns
nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6
xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc
ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle
ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4
nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw iptable_security
ebtable_filter ebtables ip6table_filter ip6_tables bnep sunrpc xfs vfat fat
libcrc32c intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp btrfs
kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul xor zstd_compress
ghash_clmulni_intel hid_logitech_hidpp iTCO_wdt ppdev iTCO_vendor_support
intel_cstate raid6_pq snd_hda_codec_realtek snd_hda_codec_generic
snd_hda_codec_hdmi intel_uncore
[   17.285890]  snd_usb_audio zstd_decompress snd_hda_intel xxhash
intel_rapl_perf snd_hda_codec btusb btrtl snd_usbmidi_lib btbcm snd_rawmidi
snd_hda_core btintel huawei_cdc_ncm cdc_wdm snd_hwdep bluetooth gspca_zc3xx
snd_seq cdc_ncm gspca_main option v4l2_common usb_wwan snd_seq_device pcspkr
snd_pcm videodev cdc_ether joydev hid_logitech_dj usbnet snd_timer media snd
ecdh_generic rfkill mei_me soundcore mei i2c_i801 lpc_ich shpchp parport_pc
parport video binfmt_misc uas usb_storage amdgpu chash i2c_algo_bit gpu_sched
drm_kms_helper ttm drm crc32c_intel r8169 mii
[   17.285987] CPU: 2 PID: 1380 Comm: gnome-shell Not tainted
4.16.0-rc1-amd-vega+ #1
[   17.285989] Hardware name: Gigabyte Technology Co., Ltd. Z87M-D3H/Z87M-D3H,
BIOS F11 08/12/2014
[   17.286032] RIP: 0010:generic_reg_update_ex+0x108/0x150 [amdgpu]
[   17.286035] RSP: 0018:aca7493fb688 EFLAGS: 00010246
[   17.286041] RAX: aca7493fb6a8 RBX: a080ddc78000 RCX:

[   17.286044] RDX: 0007 RSI: 3aa3 RDI:
a080df9c9400
[   17.286046] RBP: aca7493fb6f8 R08:  R09:

[   17.286048] R10: aca7493fb710 R11: 0001 R12:
0007
[   17.286050] R13:  R14:  R15:
a080ddc7ae90
[   17.286052] FS:  7f2e73266ac0() GS:a0811da0()
knlGS:
[   17.286055] CS:  0010 DS:  ES:  CR0: 80050033
[   17.286057] CR2: 7efd5a0c6d64 CR3: 0007ab80c001 CR4:
001606e0
[   17.286059] Call Trace:
[   17.286110]  dce110_opp_program_regamma_pwl+0x625/0x850 [amdgpu]
[   17.286153]  dce110_set_output_transfer_func+0x47d/0x700 [amdgpu]
[   17.286202]  dce110_program_front_end_for_pipe+0x1f5/0x2e0 [amdgpu]
[   17.286247]  dce110_apply_ctx_for_surface+0xe9/0x1e0 [amdgpu]
[   17.286286]  dc_commit_updates_for_stream+0x32c/0x520 [amdgpu]
[   17.286327]  dc_commit_planes_to_stream+0x36c/0x420 [amdgpu]
[   17.286385]  amdgpu_dm_atomic_commit_tail+0x790/0xdc0 [amdgpu]
[   17.286407]  commit_tail+0x3d/0x70 [drm_kms_helper]
[   17.286414]  drm_atomic_helper_commit+0xdf/0x150 [drm_kms_helper]
[   17.286423]  drm_atomic_helper_legacy_gamma_set+0x112/0x160 [drm_kms_helper]
[   17.286442]  drm_mode_gamma_set_ioctl+0x183/0x1f0 [drm]
[   17.286464]  ? drm_mode_crtc_set_gamma_size+0xa0/0xa0 [drm]
[   17.286474]  drm_ioctl_kernel+0x5b/0xb0 [drm]
[   17.286486]  drm_ioctl+0x2e2/0x380 [drm]
[   17.286498]  ? drm_mode_crtc_set_gamma_size+0xa0/0xa0 [drm]
[   17.286506]  ? __pm_runtime_resume+0x54/0x90
[   17.286513]  ? trace_hardirqs_on_caller+0xed/0x180
[   17.286541]  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[   17.286548]  do_vfs_ioctl+0xa5/0x6e0
[   17.286559]  SyS_ioctl+0x74/0x80
[   17.286566]  do_syscall_64+0x7a/0x220
[   17.286572]  entry_SYSCALL_64_after_hwframe+0x26/0x9b
[   17.286575] RIP: 0033:0x7f2e703168e7
[   17.286577] RSP: 002b:7ffef3c8a8a8 EFLAGS: 0246 ORIG_RAX:
0010
[   17.286581] RAX: ffda RBX: 5634248cc070 RCX:
7f2e703168e7
[   17.286584] RDX: 7ffef3c8a8e0 RSI: c02064a5 RDI:
0008