On Wed, Dec 11, 2019 at 5:27 AM Simon Ser <contact@xxxxxxxxxxx> wrote: > > This makes it easier to figure out whether the kernel parameter has been > taken into account. > > Signed-off-by: Simon Ser <contact@xxxxxxxxxxx> > Cc: Harry Wentland <hwentlan@xxxxxxx> > Cc: Alex Deucher <alexander.deucher@xxxxxxx> Applied. thanks. Alex > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > index 7a6c837c0a85..10618353383f 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > @@ -2525,6 +2525,9 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type) > return amdgpu_dc != 0; > #endif > default: > + if (amdgpu_dc > 0) > + DRM_INFO("Display Core has been requested via kernel parameter " > + "but isn't supported by ASIC, ignoring\n"); > return false; > } > } > -- > 2.24.0 > > > _______________________________________________ > amd-gfx mailing list > amd-gfx@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx