Re: [PATCH 2/5] drm: Compile out legacy chunks from struct drm_device

2020-10-30 Thread Alex Deucher
On Fri, Oct 30, 2020 at 6:11 AM Daniel Vetter wrote: > > This means some very few #ifdef in code, but it allows us to > enlist the compiler to make sure this stuff isn't used anymore. > > More important, only legacy drivers change drm_device (for the > legacy_dev_list shadow attach management), th

[PATCH 2/5] drm: Compile out legacy chunks from struct drm_device

2020-10-30 Thread Daniel Vetter
This means some very few #ifdef in code, but it allows us to enlist the compiler to make sure this stuff isn't used anymore. More important, only legacy drivers change drm_device (for the legacy_dev_list shadow attach management), therefore this is prep to allow modern drivers to have a const driv

Re: [PATCH 2/5] drm: Compile out legacy chunks from struct drm_device

2020-10-26 Thread Daniel Vetter
On Mon, Oct 26, 2020 at 9:37 AM Thomas Zimmermann wrote: > > Hi > > Am 23.10.20 um 14:28 schrieb Daniel Vetter: > > This means some very few #ifdef in code, but it allows us to > > enlist the compiler to make sure this stuff isn't used anymore. > > > > More important, only legacy drivers change dr

Re: [PATCH 2/5] drm: Compile out legacy chunks from struct drm_device

2020-10-26 Thread Thomas Zimmermann
Hi Am 23.10.20 um 14:28 schrieb Daniel Vetter: > This means some very few #ifdef in code, but it allows us to > enlist the compiler to make sure this stuff isn't used anymore. > > More important, only legacy drivers change drm_device (for the > legacy_dev_list shadow attach management), therefore

Re: [PATCH 2/5] drm: Compile out legacy chunks from struct drm_device

2020-10-25 Thread Sam Ravnborg
On Fri, Oct 23, 2020 at 02:28:08PM +0200, Daniel Vetter wrote: > This means some very few #ifdef in code, but it allows us to > enlist the compiler to make sure this stuff isn't used anymore. > > More important, only legacy drivers change drm_device (for the > legacy_dev_list shadow attach managem

Re: [PATCH 2/5] drm: Compile out legacy chunks from struct drm_device

2020-10-24 Thread Maxime Ripard
On Fri, Oct 23, 2020 at 02:28:08PM +0200, Daniel Vetter wrote: > This means some very few #ifdef in code, but it allows us to > enlist the compiler to make sure this stuff isn't used anymore. > > More important, only legacy drivers change drm_device (for the > legacy_dev_list shadow attach managem

[PATCH 2/5] drm: Compile out legacy chunks from struct drm_device

2020-10-23 Thread Daniel Vetter
This means some very few #ifdef in code, but it allows us to enlist the compiler to make sure this stuff isn't used anymore. More important, only legacy drivers change drm_device (for the legacy_dev_list shadow attach management), therefore this is prep to allow modern drivers to have a const driv