On 07/03/2018 12:50 PM, Bridgman, John wrote:
I have seen a couple of reports that booting Raven desktop parts requires disabling DC, although I'm not sure if that actually makes sense (I didn't think we implemented non-DC display paths for Vega/Raven).


Might be specific to people with a dGPU plugged in, I guess ?

Yup, there's no DCE driver for vg10/rv1.

Also I like how y'all bike shedded my patch into obsolescence. :-). I'm ok with cleaner/simpler code.

Dropping DRM_AMD_DC might break things for pre-vega users would prefer DCE over DC/display (if they exist) though no?

Tom


------------------------------------------------------------------------
*From:* amd-gfx <amd-gfx-boun...@lists.freedesktop.org> on behalf of Alex Deucher <alexdeuc...@gmail.com>
*Sent:* July 3, 2018 12:45 PM
*To:* Michel Dänzer
*Cc:* StDenis, Tom; Kuehling, Felix; amd-gfx@lists.freedesktop.org
*Subject:* Re: SOC15 DC support warning
On Tue, Jul 3, 2018 at 12:36 PM, Michel Dänzer <mic...@daenzer.net> wrote:
On 2018-07-03 06:13 PM, Felix Kuehling wrote:
On 2018-07-03 10:19 AM, Tom St Denis wrote:
Hi all,

This block

#if defined(CONFIG_DRM_AMD_DC)
         else if (amdgpu_device_has_dc_support(adev))
             amdgpu_device_ip_block_add(adev, &dm_ip_block);
#else
#    warning "Enable CONFIG_DRM_AMD_DC for display support on SOC15."
#endif


in soc15_set_ip_blocks() should probably be ported to a runtime
drm_warn() no?  This means a kernel with no DC support will just
silently fail to light up on SOC15.

I can write a patch for this if nobody objects.

Maybe do both. So someone building a kernel without DC gets a warning as
well as someone running it.

Yep, we already do both for CONFIG_MTRR & CONFIG_X86_PAT.

BTW, the build warning should also be guarded by #ifndef
CONFIG_COMPILE_TEST, per commit 31bb90f1cd084 "drm/amdgpu: shut up
#warning for compile testing".


OTOH, do we even need the capability to build the driver without DC anymore?

Yeah, we can probably go ahead and remove CONFIG_DRM_AMD_DC.

Alex



--
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to