From: Jani Nikula <jani.nikula@linux.intel.com>
To: Takashi Iwai <tiwai@suse.de>, Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org, broonie@kernel.org,
rakesh.a.ughreja@intel.com, alsa-devel@alsa-project.org
Subject: Re: [PATCH v5 1/5] drm/i915: setup bridge for HDMI LPE audio driver
Date: Thu, 26 Jan 2017 12:23:41 +0200 [thread overview]
Message-ID: <87d1fa3ys2.fsf@intel.com> (raw)
In-Reply-To: <s5hfuk6jgcr.wl-tiwai@suse.de>
On Thu, 26 Jan 2017, Takashi Iwai <tiwai@suse.de> wrote:
> On Thu, 26 Jan 2017 10:21:47 +0100,
> Daniel Vetter wrote:
>>
>> On Tue, Jan 24, 2017 at 03:25:14PM +0200, Jani Nikula wrote:
>> > On Wed, 25 Jan 2017, Jerome Anand <jerome.anand@intel.com> wrote:
>> > > Enable support for HDMI LPE audio mode on Baytrail and
>> > > Cherrytrail when HDaudio controller is not detected
>> > >
>> > > Setup minimum required resources during i915_driver_load:
>> > > 1. Create a platform device to share MMIO/IRQ resources
>> > > 2. Make the platform device child of i915 device for runtime PM.
>> > > 3. Create IRQ chip to forward HDMI LPE audio irqs.
>> > >
>> > > HDMI LPE audio driver (a standalone sound driver) probes the
>> > > LPE audio device and creates a new sound card.
>> > >
>> > > Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
>> > > Signed-off-by: Jerome Anand <jerome.anand@intel.com>
>> >
>> > Acked-by: Jani Nikula <jani.nikula@intel.com>
>> >
>> > > ---
>> > > Documentation/gpu/i915.rst | 9 +
>> > > drivers/gpu/drm/i915/Makefile | 3 +
>> > > drivers/gpu/drm/i915/i915_drv.c | 4 +-
>> > > drivers/gpu/drm/i915/i915_drv.h | 11 ++
>> > > drivers/gpu/drm/i915/i915_irq.c | 16 ++
>> > > drivers/gpu/drm/i915/i915_reg.h | 3 +
>> > > drivers/gpu/drm/i915/intel_audio.c | 25 +++
>> > > drivers/gpu/drm/i915/intel_drv.h | 2 +
>> > > drivers/gpu/drm/i915/intel_lpe_audio.c | 321 +++++++++++++++++++++++++++++++++
>> > > include/drm/intel_lpe_audio.h | 46 +++++
>> > > 10 files changed, 438 insertions(+), 2 deletions(-)
>> > > create mode 100644 drivers/gpu/drm/i915/intel_lpe_audio.c
>> > > create mode 100644 include/drm/intel_lpe_audio.h
>> > >
>> > > diff --git a/Documentation/gpu/i915.rst b/Documentation/gpu/i915.rst
>> > > index 104296d..bd9b767 100644
>> > > --- a/Documentation/gpu/i915.rst
>> > > +++ b/Documentation/gpu/i915.rst
>> > > @@ -225,6 +225,15 @@ Display PLLs
>> > > .. kernel-doc:: drivers/gpu/drm/i915/intel_dpll_mgr.h
>> > > :internal:
>> > >
>> > > +intel hdmi lpe audio support
>> > > +----------------------------
>> > > +
>> > > +.. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c
>> > > + :doc: LPE Audio integration for HDMI or DP playback
>> > > +
>> > > +.. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c
>> > > + :internal:
>> > > +
>>
>> Please apply a follow-up patch to move this next to the chapter about hda
>> audio, because that makes imo more sense than just semi-randomly adding it
>> at the end of the chapter. And it would avoid a silly conflict with stuff
>> in drm-intel.git, which indeed should be here.
>
> OK, how about the one below?
>
>
> thanks,
>
> Takashi
>
> -- 8< --
> From: Takashi Iwai <tiwai@suse.de>
> Subject: [PATCH] Documentation/gpu: Move LPE audio section after HD-audio
>
> As Daniel suggested, it makes more sense and reduces the conflicts.
>
> Also, while we're at it, tidy up the section title from all lower
> letters.
>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> ---
> Documentation/gpu/i915.rst | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/Documentation/gpu/i915.rst b/Documentation/gpu/i915.rst
> index a671eee78945..9574080113dc 100644
> --- a/Documentation/gpu/i915.rst
> +++ b/Documentation/gpu/i915.rst
> @@ -144,6 +144,15 @@ High Definition Audio
> .. kernel-doc:: include/drm/i915_component.h
> :internal:
>
> +Intel HDMI LPE Audio Support
> +----------------------------
> +
> +.. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c
> + :doc: LPE Audio integration for HDMI or DP playback
^^
While at it, please fix the double space (it was in the original
already).
And sorry & thanks for the extra trouble after I already acked this.
BR,
Jani.
> +
> +.. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c
> + :internal:
> +
> Panel Self Refresh PSR (PSR/SRD)
> --------------------------------
>
> @@ -213,15 +222,6 @@ Video BIOS Table (VBT)
> .. kernel-doc:: drivers/gpu/drm/i915/intel_vbt_defs.h
> :internal:
>
> -intel hdmi lpe audio support
> -----------------------------
> -
> -.. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c
> - :doc: LPE Audio integration for HDMI or DP playback
> -
> -.. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c
> - :internal:
> -
> Memory Management and Command Submission
> ========================================
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-01-26 10:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-24 22:57 [PATCH v5 0/5] Add support for Legacy HDMI audio drivers Jerome Anand
2017-01-24 22:57 ` [PATCH v5 1/5] drm/i915: setup bridge for HDMI LPE audio driver Jerome Anand
2017-01-24 13:25 ` Jani Nikula
2017-01-26 9:21 ` Daniel Vetter
2017-01-26 9:55 ` Takashi Iwai
2017-01-26 10:23 ` Jani Nikula [this message]
2017-01-26 10:26 ` Takashi Iwai
2017-01-24 22:57 ` [PATCH v5 2/5] drm/i915: Add support for audio driver notifications Jerome Anand
2017-01-24 13:25 ` Jani Nikula
2017-01-24 22:57 ` [PATCH v5 3/5] ALSA: add Intel HDMI LPE audio driver for BYT/CHT-T Jerome Anand
2017-01-24 15:41 ` [PATCH] ALSA: fix resource_size.cocci warnings kbuild test robot
2017-01-24 15:41 ` [PATCH v5 3/5] ALSA: add Intel HDMI LPE audio driver for BYT/CHT-T kbuild test robot
2017-01-24 22:57 ` [PATCH v5 4/5] ALSA: x86: hdmi: Add audio support for BYT and CHT Jerome Anand
2017-01-24 22:57 ` [PATCH v5 5/5] ALSA: x86: hdmi: continue playback even when display resolution changes Jerome Anand
2017-01-25 13:51 ` [PATCH v5 0/5] Add support for Legacy HDMI audio drivers Takashi Iwai
2017-01-25 14:45 ` Jani Nikula
2017-01-25 14:55 ` Takashi Iwai
2017-01-25 21:21 ` Takashi Iwai
2017-01-25 22:23 ` Pierre-Louis Bossart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d1fa3ys2.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=rakesh.a.ughreja@intel.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).