Re: [Intel-gfx] [PATCH 2/2] drm/doc: Update docs about device instance setup

2015-09-28 Thread David Herrmann
Hi On Mon, Aug 10, 2015 at 4:30 PM, Daniel Vetter wrote: > On Mon, Aug 10, 2015 at 02:34:18PM +0200, Thierry Reding wrote: >> On Mon, Aug 10, 2015 at 02:07:49PM +0200, Daniel Vetter wrote: >> > On Mon, Aug 10, 2015 at 01:59:07PM +0200, Thierry Reding wrote: >> > > On Mon, Aug

Re: [Intel-gfx] [PATCH 2/2] drm/doc: Update docs about device instance setup

2015-09-28 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Monday 10 August 2015 11:55:38 Daniel Vetter wrote: > ->load is depracated, bus functionst are deprecated and everyone s/depracated/deprecated/ s/functionst/functions/ > should use drm_dev_alloc > > So update the .tmpl (and pull a bunch of the overview

Re: [Intel-gfx] [PATCH 2/2] drm/doc: Update docs about device instance setup

2015-08-13 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 7129 -Summary- Platform Delta drm-intel-nightly Series Applied ILK -1

Re: [Intel-gfx] [PATCH 2/2] drm/doc: Update docs about device instance setup

2015-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2015 at 02:34:18PM +0200, Thierry Reding wrote: On Mon, Aug 10, 2015 at 02:07:49PM +0200, Daniel Vetter wrote: On Mon, Aug 10, 2015 at 01:59:07PM +0200, Thierry Reding wrote: On Mon, Aug 10, 2015 at 11:55:38AM +0200, Daniel Vetter wrote: -load is depracated, bus

Re: [Intel-gfx] [PATCH 2/2] drm/doc: Update docs about device instance setup

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 02:07:49PM +0200, Daniel Vetter wrote: On Mon, Aug 10, 2015 at 01:59:07PM +0200, Thierry Reding wrote: On Mon, Aug 10, 2015 at 11:55:38AM +0200, Daniel Vetter wrote: -load is depracated, bus functionst are deprecated and everyone should use drm_dev_allocregister.

[Intel-gfx] [PATCH 2/2] drm/doc: Update docs about device instance setup

2015-08-10 Thread Daniel Vetter
-load is depracated, bus functionst are deprecated and everyone should use drm_dev_allocregister. So update the .tmpl (and pull a bunch of the overview docs into the sourcecode to increase chances that it'll stay in sync in the future) and add notes to functions which are deprecated. I didn't

Re: [Intel-gfx] [PATCH 2/2] drm/doc: Update docs about device instance setup

2015-08-10 Thread Thierry Reding
On Mon, Aug 10, 2015 at 11:55:38AM +0200, Daniel Vetter wrote: -load is depracated, bus functionst are deprecated and everyone should use drm_dev_allocregister. Why would you want to deprecated -load()? Even if you use drm_dev_alloc() and drm_dev_register(), there's still use for -load()

Re: [Intel-gfx] [PATCH 2/2] drm/doc: Update docs about device instance setup

2015-08-10 Thread Daniel Vetter
On Mon, Aug 10, 2015 at 01:59:07PM +0200, Thierry Reding wrote: On Mon, Aug 10, 2015 at 11:55:38AM +0200, Daniel Vetter wrote: -load is depracated, bus functionst are deprecated and everyone should use drm_dev_allocregister. Why would you want to deprecated -load()? Even if you use