Re: [PATCH] drm: Move encoder->save/restore into nouveau

Thierry Reding
2015-12-07T11:59:41Z

[-- Attachment #1.1: Type: text/plain, Size: 972 bytes --]

On Fri, Dec 04, 2015 at 05:14:07PM +0100, Daniel Vetter wrote:
> Nouveau is the only user, and atomic drivers should do state
> save/restoring differently. So move it into noveau.
>
> Saves me typing some kerneldoc, too ;-)
>
> v2: Move misplaced hunk into earlier nouveau patch.
>
> Cc: Ilia Mirkin <imirkin@alum.mit.edu>
> Cc: Ben Skeggs <bskeggs@redhat.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> ---
> drivers/gpu/drm/nouveau/dispnv04/dac.c | 7 +++----
> drivers/gpu/drm/nouveau/dispnv04/dfp.c | 7 +++----
> drivers/gpu/drm/nouveau/dispnv04/disp.c | 32 ++++++++++++-------------------
> drivers/gpu/drm/nouveau/dispnv04/tvnv04.c | 5 +++--
> drivers/gpu/drm/nouveau/dispnv04/tvnv17.c | 5 +++--
> drivers/gpu/drm/nouveau/nouveau_encoder.h | 3 +++
> include/drm/drm_modeset_helper_vtables.h | 4 ----
> 7 files changed, 27 insertions(+), 36 deletions(-)

Reviewed-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]