On Tue, Jul 25, 2017 at 01:06:42PM +0800, Huang Rui wrote: > On Tue, Jul 25, 2017 at 04:06:00AM +0000, Deucher, Alexander wrote: > > > -----Original Message----- > > > From: Alex Deucher [mailto:alexdeucher at gmail.com] > > > Sent: Monday, July 24, 2017 11:31 PM > > > To: amd-gfx at lists.freedesktop.org > > > Cc: Deucher, Alexander > > > Subject: [PATCH 4/4] drm/amdgpu/gmc9: disable legacy vga features in gmc > > > init > > > > > > Needs to be done when the MC is set up. > > > > > > Signed-off-by: Alex Deucher <alexander.deucher at amd.com> > > > > Can someone see if this patch fixes the problem with the lower 8 MB of vram on vega10? I think this may explain what was messing with vram on resume that caused us to reserve the first 8 MB of vram. > > > > Let me have a try. The start of vram overwrite is probably still caused by > VGA mode. So, here, you disable it at first. > This patch doesn't fix the start 8 MB of vram corruption. But I just found the 8M corruption issue only encountered when DC is disabled. Thanks, Ray