Re: [Intel-gfx] [PATCH 1/7] drm/hisilicon: Don't set drm_device->platformdev

2016-12-13 Thread Daniel Vetter
On Fri, Dec 09, 2016 at 01:04:12PM -0500, Sean Paul wrote: > On Fri, Dec 9, 2016 at 9:19 AM, Daniel Vetter wrote: > > It's deprecated and only should be used by drivers which still use > > drm_platform_init, not by anyone else. > > > > And indeed it's entirely unused and

Re: [Intel-gfx] [PATCH 1/7] drm/hisilicon: Don't set drm_device->platformdev

2016-12-09 Thread Sean Paul
On Fri, Dec 9, 2016 at 9:19 AM, Daniel Vetter wrote: > It's deprecated and only should be used by drivers which still use > drm_platform_init, not by anyone else. > > And indeed it's entirely unused and can be nuked. > > This required a bit more fudging, but I guess

[Intel-gfx] [PATCH 1/7] drm/hisilicon: Don't set drm_device->platformdev

2016-12-09 Thread Daniel Vetter
It's deprecated and only should be used by drivers which still use drm_platform_init, not by anyone else. And indeed it's entirely unused and can be nuked. This required a bit more fudging, but I guess kirin_dc_ops really wants to operate on the platform_device, not something else. Also bonus