Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1519634

Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name()

From Daniel Vetter <daniel@ffwll.ch>
Newsgroups linux.kernel
Subject Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name()
Date 2016-11-11 10:30 +0100
Message-ID <sCgjL-2rf-3@gated-at.bofh.it> (permalink)
References (2 earlier) <sBpyN-nY-13@gated-at.bofh.it> <sBpIt-r4-1@gated-at.bofh.it> <sBzy9-6Ka-11@gated-at.bofh.it> <sBAXf-7ME-17@gated-at.bofh.it> <sBEoa-1rS-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Nov 09, 2016 at 04:59:31PM +0000, Eric Engestrom wrote:
> On Wednesday, 2016-11-09 14:13:40 +0100, Daniel Vetter wrote:
> > On Wed, Nov 9, 2016 at 12:42 PM, Eric Engestrom
> > <eric.engestrom@imgtec.com> wrote:
> > >> Well, had to drop it again since it didn't compile:
> > >>
> > >>
> > >>   CC [M]  drivers/gpu/drm/drm_blend.o
> > >> drivers/gpu/drm/drm_atomic.c: In function ‘drm_atomic_plane_print_state’:
> > >> drivers/gpu/drm/drm_atomic.c:920:5: error: too few arguments to function ‘drm_get_format_name’
> > >>      drm_get_format_name(fb->pixel_format));
> > >>      ^~~~~~~~~~~~~~~~~~~
> > >> In file included from ./include/drm/drmP.h:71:0,
> > >>                  from drivers/gpu/drm/drm_atomic.c:29:
> > >> ./include/drm/drm_fourcc.h:65:7: note: declared here
> > >>  char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf);
> > >>        ^~~~~~~~~~~~~~~~~~~
> > >>
> > >> Can you pls rebase onto drm-misc or linux-next or something?
> > >
> > > That was based on airlied/drm-next (last fetched on Sunday I think),
> > > I can rebase it on drm-misc if it helps, but it seems older than
> > > drm-next.
> > > Should I just rebase on top of current head of drm-next?
> > 
> > It needs to be drm-misc (linux-next doesn't have it yet) due to the
> > new atomic debug work that we just landed. I'm working on drm-tip as a
> > drm local integration tree to ease pains like these a bit, but that
> > doesn't really exist yet.
> 
> I'm confused as to how the different trees and branches merge back to
> Torvalds' tree (I'm interested in particular in drm), and I'm not sure
> which branch you want me to rebase on in the drm-misc tree [1],
> especially since all of them are older than drm-next [2].

Dave just pulled in all outstanding pull requests, so just basing on top
of his drm-next should be good enough.

> I'll try to rebase on drm-misc-fixes (currently at 4da5caa6a6f82cda3193)
> as it sounds about right, but it doesn't apply at all, so it'll take
> a little while.
> 
> Could you give me a quick explanation or point me to a doc/page that
> explains how the various trees and branches get merged?
> I googled a bit and found this doc [4] by Jani, but it doesn't mention
> drm-misc for instance, so I'm not sure how up-to-date and
> non-intel-specific it is.

We atm don't have it :( drm-misc was kinda just a (very long running)
experiment, but I want to know make it official. Unfortunately the
scripting rework to split out a new drm-misc.git repo is taking a bit
longer. Atm things are still in flux, but I hope that'll settle soon-ish.

> Looking at this page, something just occurred to me: did you mean
> drm-fixes [3], instead of one of the branches on drm-misc?
> 
> Cheers,
>   Eric
> 
> [1] git://anongit.freedesktop.org/drm/drm-misc

Yeah, that's the new location, but atm it's just under testing and it's
not the real drm-misc. That one is in drm-intel.git, in the topic/drm-misc
branch.

> [2] git://people.freedesktop.org/~airlied/linux drm-next
> [2] git://people.freedesktop.org/~airlied/linux drm-fixes
> [3] https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-intel.html

https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-misc.html

We need to flesh that out, and maybe feature it a bit more prominently.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] drm: move allocation out of drm_get_format_name() Eric Engestrom <eric@engestrom.ch> - 2016-11-07 01:50 +0100
  Re: [PATCH v2] drm: move allocation out of drm_get_format_name() Jani Nikula <jani.nikula@linux.intel.com> - 2016-11-07 09:20 +0100
    Re: [PATCH v2] drm: move allocation out of drm_get_format_name() Eric Engestrom <eric.engestrom@imgtec.com> - 2016-11-07 18:20 +0100
      Re: [PATCH v2] drm: move allocation out of drm_get_format_name() Jani Nikula <jani.nikula@linux.intel.com> - 2016-11-07 18:40 +0100
        Re: [Intel-gfx] [PATCH v2] drm: move allocation out of  drm_get_format_name() Daniel Vetter <daniel@ffwll.ch> - 2016-11-08 11:20 +0100
          [PATCH v3] drm: move allocation out of drm_get_format_name() Eric Engestrom <eric@engestrom.ch> - 2016-11-09 01:20 +0100
            Re: [Intel-gfx] [PATCH v3] drm: move allocation out of  drm_get_format_name() Daniel Vetter <daniel@ffwll.ch> - 2016-11-09 02:10 +0100
              Re: [Intel-gfx] [PATCH v3] drm: move allocation out of  drm_get_format_name() Daniel Vetter <daniel@ffwll.ch> - 2016-11-09 02:20 +0100
                Re: [Intel-gfx] [PATCH v3] drm: move allocation out of  drm_get_format_name() Eric Engestrom <eric.engestrom@imgtec.com> - 2016-11-09 12:50 +0100
                Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name() Daniel Vetter <daniel@ffwll.ch> - 2016-11-09 14:20 +0100
                Re: [Intel-gfx] [PATCH v3] drm: move allocation out of  drm_get_format_name() Eric Engestrom <eric.engestrom@imgtec.com> - 2016-11-09 18:00 +0100
                Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name() Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-11-10 11:10 +0100
                Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name() Jani Nikula <jani.nikula@intel.com> - 2016-11-10 11:40 +0100
                Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name() Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-11-10 12:00 +0100
                Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name() Jani Nikula <jani.nikula@intel.com> - 2016-11-10 12:10 +0100
                Re: [Intel-gfx] [PATCH v3] drm: move allocation out of  drm_get_format_name() Daniel Vetter <daniel@ffwll.ch> - 2016-11-11 10:30 +0100
                [PATCH v4] drm: move allocation out of drm_get_format_name() Eric Engestrom <eric@engestrom.ch> - 2016-11-12 02:20 +0100
  Re: [PATCH v2] drm: move allocation out of drm_get_format_name() Rob Clark <robdclark@gmail.com> - 2016-11-07 15:50 +0100

csiph-web