Re: [PULL] topic/hdr-formats

2019-03-18 Thread Joonas Lahtinen
Quoting Maarten Lankhorst (2019-03-13 13:21:46)
> Hey Sean and Joonas,
> 
> One more pull request for the hdr-formats topic branch. FP16 support
> is now also implemented.
> 
> Can this be pulled to drm-misc-next and dinq?

Pulled to drm-intel-next-queued.

Regards, Joonas

> 
> ~Maarten
> 
> topic/hdr-formats-2019-03-13:
> Add support for floating point half-width formats.
> The following changes since commit 296e9b19eff6157e1e4f130fa436e105c45725e9:
> 
>   drm/i915/icl: Enabling Y2xx and Y4xx (xx:10/12/16) formats for universal 
> planes (2019-03-05 12:49:00 +0100)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/topic/hdr-formats-2019-03-13
> 
> for you to fetch changes up to a94bed60cb73962f344ead14b2ee7613280432c6:
> 
>   drm/i915/icl: Implement half float formats (2019-03-13 11:23:12 +0100)
> 
> 
> Add support for floating point half-width formats.
> 
> 
> Kevin Strasser (3):
>   drm/fourcc: Add 64 bpp half float formats
>   drm/i915: Refactor icl_is_hdr_plane
>   drm/i915/icl: Implement half float formats
> 
>  drivers/gpu/drm/drm_fourcc.c |  4 ++
>  drivers/gpu/drm/i915/intel_atomic.c  |  3 +-
>  drivers/gpu/drm/i915/intel_display.c | 29 +-
>  drivers/gpu/drm/i915/intel_drv.h |  7 ++--
>  drivers/gpu/drm/i915/intel_sprite.c  | 78 
> +---
>  include/uapi/drm/drm_fourcc.h| 11 +
>  6 files changed, 120 insertions(+), 12 deletions(-)
___
dim-tools mailing list
dim-tools@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Re: [PULL] topic/hdr-formats

2019-03-13 Thread Sean Paul
On Wed, Mar 13, 2019 at 12:21:46PM +0100, Maarten Lankhorst wrote:
> Hey Sean and Joonas,
> 
> One more pull request for the hdr-formats topic branch. FP16 support
> is now also implemented.
> 
> Can this be pulled to drm-misc-next and dinq?

Merged in drm-misc-next.

Sean

> 
> ~Maarten
> 
> topic/hdr-formats-2019-03-13:
> Add support for floating point half-width formats.
> The following changes since commit 296e9b19eff6157e1e4f130fa436e105c45725e9:
> 
>   drm/i915/icl: Enabling Y2xx and Y4xx (xx:10/12/16) formats for universal 
> planes (2019-03-05 12:49:00 +0100)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/topic/hdr-formats-2019-03-13
> 
> for you to fetch changes up to a94bed60cb73962f344ead14b2ee7613280432c6:
> 
>   drm/i915/icl: Implement half float formats (2019-03-13 11:23:12 +0100)
> 
> 
> Add support for floating point half-width formats.
> 
> 
> Kevin Strasser (3):
>   drm/fourcc: Add 64 bpp half float formats
>   drm/i915: Refactor icl_is_hdr_plane
>   drm/i915/icl: Implement half float formats
> 
>  drivers/gpu/drm/drm_fourcc.c |  4 ++
>  drivers/gpu/drm/i915/intel_atomic.c  |  3 +-
>  drivers/gpu/drm/i915/intel_display.c | 29 +-
>  drivers/gpu/drm/i915/intel_drv.h |  7 ++--
>  drivers/gpu/drm/i915/intel_sprite.c  | 78 
> +---
>  include/uapi/drm/drm_fourcc.h| 11 +
>  6 files changed, 120 insertions(+), 12 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS
___
dim-tools mailing list
dim-tools@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Re: [PULL] topic/hdr-formats

2019-03-11 Thread Daniel Vetter
On Mon, Mar 11, 2019 at 01:52:13PM -0400, Adam Jackson wrote:
> On Mon, 2019-03-11 at 12:19 +0100, Maarten Lankhorst wrote:
> > Hey,
> > 
> > Op 07-03-2019 om 18:12 schreef Adam Jackson:
> > > On Thu, 2019-03-07 at 10:48 +0100, Maarten Lankhorst wrote:
> > > > Hi Sean and Joonas,
> > > > 
> > > > Here's a pull request for HDR format enabling in i915. Can this be 
> > > > pulled to drm-misc-next and dinq?
> > > Could you also add Kevin Strasser's patch for FP16 formats? For that
> > > matter I'd like to see FP32 added too, but I don't think there's been a
> > > patch sent for that yet.
> > 
> > Added kevin to CC.
> > 
> > Is the mesa side considered completely reviewed then?
> 
> Is that strictly necessary for just adding a fourcc? I get wanting to
> see a real userspace consumer first, but this is just allocating some
> magic numbers not promising that a certain ioctl behaves a certain way.

It's a bit a grey area, since uapi/drm/drm_fourcc.h is both a simple magic
number registry for userspace and also the source of truth for what that's
supposed to mean for AddFB. Which is uapi. Having the full mesa->kms
pipeline gives a bit more assurance we didn't flip something somewhere by
accident or some other silliness.

So for i915.ko stuff we've been pretty strict with this, just to make sure
we don't ship broken stuff. But we definitely merged other patches without
anything being able to consume/produce those formats in userspace (well
anything open source at least), fitting the magic number registry.

Imo this is an area each driver team can decide on how they want to handle
it (with my maintainer hat on).
-Daniel
> 
> That said, I did say r-b for the Mesa series as a whole. Daniel Stone
> had some comments on 13/13 that made it sound like it (that specific
> patch) was unnecessary/undesirable, but everything before that looked
> great to me, and even if we only merged the first 12 we'd still have
> FP16 wired through for the gbm EGL platform, meaning HDR scanout could
> actually be a thing.
> 
> - ajax
> 
> ___
> dim-tools mailing list
> dim-tools@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dim-tools

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
___
dim-tools mailing list
dim-tools@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Re: [PULL] topic/hdr-formats

2019-03-11 Thread Adam Jackson
On Mon, 2019-03-11 at 12:19 +0100, Maarten Lankhorst wrote:
> Hey,
> 
> Op 07-03-2019 om 18:12 schreef Adam Jackson:
> > On Thu, 2019-03-07 at 10:48 +0100, Maarten Lankhorst wrote:
> > > Hi Sean and Joonas,
> > > 
> > > Here's a pull request for HDR format enabling in i915. Can this be pulled 
> > > to drm-misc-next and dinq?
> > Could you also add Kevin Strasser's patch for FP16 formats? For that
> > matter I'd like to see FP32 added too, but I don't think there's been a
> > patch sent for that yet.
> 
> Added kevin to CC.
> 
> Is the mesa side considered completely reviewed then?

Is that strictly necessary for just adding a fourcc? I get wanting to
see a real userspace consumer first, but this is just allocating some
magic numbers not promising that a certain ioctl behaves a certain way.

That said, I did say r-b for the Mesa series as a whole. Daniel Stone
had some comments on 13/13 that made it sound like it (that specific
patch) was unnecessary/undesirable, but everything before that looked
great to me, and even if we only merged the first 12 we'd still have
FP16 wired through for the gbm EGL platform, meaning HDR scanout could
actually be a thing.

- ajax

___
dim-tools mailing list
dim-tools@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Re: [PULL] topic/hdr-formats

2019-03-11 Thread Joonas Lahtinen
Quoting Maarten Lankhorst (2019-03-07 11:48:24)
> Hi Sean and Joonas,
> 
> Here's a pull request for HDR format enabling in i915. Can this be pulled to 
> drm-misc-next and dinq?

I was travelling on Fri, so sorry for delay. This is now pulled to dinq,
too.

Regards, Joonas

> 
> Cheers,
> Maarten
> 
> topic/hdr-formats-2019-03-07:
> Add support for Y21x and Y41x to drm core and i915, and P01x support to i915.
> The following changes since commit 4b057e73f28f1df13b77b77a52094238ffdf8abd:
> 
>   Merge tag 'drm-misc-fixes-2019-02-22' of 
> git://anongit.freedesktop.org/drm/drm-misc into drm-next (2019-03-05 08:14:22 
> +1000)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/topic/hdr-formats-2019-03-07
> 
> for you to fetch changes up to 296e9b19eff6157e1e4f130fa436e105c45725e9:
> 
>   drm/i915/icl: Enabling Y2xx and Y4xx (xx:10/12/16) formats for universal 
> planes (2019-03-05 12:49:00 +0100)
> 
> 
> Add support for Y21x and Y41x to drm core and i915, and P01x support to i915.
> 
> 
> Juha-Pekka Heikkila (3):
>   drm/i915: Add P010, P012, P016 plane control definitions
>   drm/i915: Preparations for enabling P010, P012, P016 formats
>   drm/i915: Enable P010, P012, P016 formats for primary and sprite planes
> 
> Swati Sharma (3):
>   drm: Add Y2xx and Y4xx (xx:10/12/16) format definitions and fourcc
>   drm/i915/icl: Add Y2xx and Y4xx (xx:10/12/16) plane control definitions
>   drm/i915/icl: Enabling Y2xx and Y4xx (xx:10/12/16) formats for 
> universal planes
> 
>  drivers/gpu/drm/drm_fourcc.c  |   6 ++
>  drivers/gpu/drm/i915/i915_reg.h   |   9 +++
>  drivers/gpu/drm/i915/intel_atomic_plane.c |   2 +-
>  drivers/gpu/drm/i915/intel_display.c  |  57 ++--
>  drivers/gpu/drm/i915/intel_drv.h  |   1 +
>  drivers/gpu/drm/i915/intel_pm.c   |  14 ++--
>  drivers/gpu/drm/i915/intel_sprite.c   | 108 
> --
>  include/uapi/drm/drm_fourcc.h |  16 +
>  8 files changed, 194 insertions(+), 19 deletions(-)
___
dim-tools mailing list
dim-tools@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Re: [PULL] topic/hdr-formats

2019-03-11 Thread Maarten Lankhorst
Hey,

Op 07-03-2019 om 18:12 schreef Adam Jackson:
> On Thu, 2019-03-07 at 10:48 +0100, Maarten Lankhorst wrote:
>> Hi Sean and Joonas,
>>
>> Here's a pull request for HDR format enabling in i915. Can this be pulled to 
>> drm-misc-next and dinq?
> Could you also add Kevin Strasser's patch for FP16 formats? For that
> matter I'd like to see FP32 added too, but I don't think there's been a
> patch sent for that yet.

Added kevin to CC.

Is the mesa side considered completely reviewed then?

If so, I wouldn't mind sending a second pull req for fp16 support this week.

~Maarten

___
dim-tools mailing list
dim-tools@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Re: [PULL] topic/hdr-formats

2019-03-08 Thread Sean Paul
On Thu, Mar 07, 2019 at 10:48:24AM +0100, Maarten Lankhorst wrote:
> Hi Sean and Joonas,
> 
> Here's a pull request for HDR format enabling in i915. Can this be pulled to 
> drm-misc-next and dinq?
> 

Applied to drm-misc-next, thanks for sending this out.

Sean

> Cheers,
> Maarten
> 
> topic/hdr-formats-2019-03-07:
> Add support for Y21x and Y41x to drm core and i915, and P01x support to i915.
> The following changes since commit 4b057e73f28f1df13b77b77a52094238ffdf8abd:
> 
>   Merge tag 'drm-misc-fixes-2019-02-22' of 
> git://anongit.freedesktop.org/drm/drm-misc into drm-next (2019-03-05 08:14:22 
> +1000)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/topic/hdr-formats-2019-03-07
> 
> for you to fetch changes up to 296e9b19eff6157e1e4f130fa436e105c45725e9:
> 
>   drm/i915/icl: Enabling Y2xx and Y4xx (xx:10/12/16) formats for universal 
> planes (2019-03-05 12:49:00 +0100)
> 
> 
> Add support for Y21x and Y41x to drm core and i915, and P01x support to i915.
> 
> 
> Juha-Pekka Heikkila (3):
>   drm/i915: Add P010, P012, P016 plane control definitions
>   drm/i915: Preparations for enabling P010, P012, P016 formats
>   drm/i915: Enable P010, P012, P016 formats for primary and sprite planes
> 
> Swati Sharma (3):
>   drm: Add Y2xx and Y4xx (xx:10/12/16) format definitions and fourcc
>   drm/i915/icl: Add Y2xx and Y4xx (xx:10/12/16) plane control definitions
>   drm/i915/icl: Enabling Y2xx and Y4xx (xx:10/12/16) formats for 
> universal planes
> 
>  drivers/gpu/drm/drm_fourcc.c  |   6 ++
>  drivers/gpu/drm/i915/i915_reg.h   |   9 +++
>  drivers/gpu/drm/i915/intel_atomic_plane.c |   2 +-
>  drivers/gpu/drm/i915/intel_display.c  |  57 ++--
>  drivers/gpu/drm/i915/intel_drv.h  |   1 +
>  drivers/gpu/drm/i915/intel_pm.c   |  14 ++--
>  drivers/gpu/drm/i915/intel_sprite.c   | 108 
> --
>  include/uapi/drm/drm_fourcc.h |  16 +
>  8 files changed, 194 insertions(+), 19 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS
___
dim-tools mailing list
dim-tools@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dim-tools