now be super-fast. In addition, I've changed
the DNS slightly.
The preferred URLs are now:
git://git.armlinux.org.uk/~rmk/libdrm-armada.git
for pulling and cloning from, and the cgit interface
http://git.armlinux.org.uk/cgit/libdrm-armada.git
Thanks.
--
Russell King
Add support for HDMI hotplug and EDID notifiers, which is used to convey
information from HDMI drivers to their CEC and audio counterparts.
Acked-by: Philipp Zabel
Signed-off-by: Russell King
---
drivers/video/Kconfig | 3 +++
drivers/video/Makefile| 1 +
drivers/video/hdmi
We don't need the CEC engine register definitions, so let's remove them.
Signed-off-by: Russell King
---
drivers/gpu/drm/bridge/dw-hdmi.h | 45
1 file changed, 45 deletions(-)
diff --git a/drivers/gpu/drm/bridge/dw-hdmi.h b/drivers/gpu/drm
Add HDMI notifiers to the HDMI bridge driver.
Signed-off-by: Russell King
---
drivers/gpu/drm/bridge/Kconfig | 1 +
drivers/gpu/drm/bridge/dw-hdmi.c | 9 +
2 files changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
index
Add a CEC driver for the dw-hdmi hardware using Hans Verkil's CEC
implementation.
Signed-off-by: Russell King
---
drivers/gpu/drm/bridge/Kconfig| 7 +
drivers/gpu/drm/bridge/Makefile | 1 +
drivers/gpu/drm/bridge/dw-hdmi-cec.c
Add a CEC driver for the TDA9950, which is a stand-alone I2C CEC device.
The TDA9950 contains a command processor which handles retransmissions
and the low level bus protocol. The driver just has to read and write
the messages, and handle error conditions.
Signed-off-by: Russell King
Add support for writing the SPD infoframe to the TDA998x. Identify us
as "Generic" vendor "PC" product, and as "PC general" source device
information.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 18 ++
1 file changed,
Add bridge timing information so that bridge users can figure out the
timing parameters that are necessary for TDA998x.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/gpu/drm/i2c
ll be sent full-range RGB.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 39 ++-
1 file changed, 34 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index b0ed2ef49c62..7d9a
izer pixel
repeat count. Since the audio code needs the actual TMDS clock,
record that.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/g
Add support for the vendor specific infoframe.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index dad7396ebe2b..b0ed2ef49c62 100644
It is possible that the size of the BOs currently queued for the GPU
exceed our available memory for dumping a device core dump. If this
occures, try generating a core dump without containing the contents
of the BOs.
Signed-off-by: Russell King
---
drivers/gpu/drm/etnaviv/etnaviv_dump.c | 30
Add support for the left and right justified I2S formats as well as the
more tranditional "Philips" I2S format.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 57 ++-
include/drm/i2c/tda998x.h | 11 +---
2 files c
to see users whose I2S blocks send at 64·fs for
16-bit samples, which means TDA998x now breaks.
ASoC has a snd_soc_dai_set_bclk_ratio() call available which sets the
ratio of BCLK to the sample rate. Implement support for this.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c
size, which
is set to 2GiB to cover the window found in MMUv1 GPUs.
Signed-off-by: Russell King
---
Patch against v4.20.
drivers/gpu/drm/etnaviv/etnaviv_drv.c | 4
drivers/gpu/drm/etnaviv/etnaviv_drv.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/etnaviv
Add bridge timing information so that bridge users can figure out the
timing parameters that are necessary for TDA998x.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/gpu/drm/i2c
Rather than searching an array for the audio format (which we control)
implement indexing by route type. This avoids iterating over the array
in several locations.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 57 ---
1 file changed, 29
Store the audio port enable register in the audio settings structure,
which can never be zero for a valid audio configuration. Use this to
signal whether we have audio configured, rather than AFMT_UNUSED.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 18
n the bit clock
ratio. However, as the driver is not given the bit clock ratio from
ALSA, continue deriving this from the sample width. This will be
addressed in a later commit.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 94 ++-
1
We can configure both fields of the AIP_CLKSEL register with a single
write, there is no need to delay the setting of the CTS reference.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/drivers
izer pixel
repeat count. Since the audio code needs the actual TMDS clock,
record that.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/g
Improve the selection of the audio clock divisor so that more modes
and sample rates work.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 44 +--
1 file changed, 28 insertions(+), 16 deletions(-)
diff --git a/drivers/gpu/drm/i2c
Get rid of the tda998x_audio_params structure in audio_settings, which
is now just used for platform data.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 43 +++
1 file changed, 26 insertions(+), 17 deletions(-)
diff --git a/drivers/gpu
Add support for the left and right justified I2S formats as well as the
more tranditional "Philips" I2S format.
Tested-by: Peter Ujfalusi
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 53 +--
1 file changed, 34 inserti
specification.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 56 ++-
1 file changed, 31 insertions(+), 25 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index 7f34601bb515..e478633d9a7a 100644
Move the mux and clocking selection out of tda998x_configure_audio()
into the parent functions, so we can validate this when parameters
are set outside of the audio mutex.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 78 +++
1 file
ll be sent full-range RGB.
Reviewed-by: Brian Starkey
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 36
1 file changed, 32 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
ind
also only ever needs to write the current
audio settings, so simplify the code in tda998x_audio_hw_params()
so that can happen.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 26 ++
1 file changed, 10 insertions(+), 16 deletions(-)
diff --git a/driver
Move the CRTC debugfs files into the CRTC specific directory.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c| 7 +++
drivers/gpu/drm/armada/armada_debugfs.c | 98 +
drivers/gpu/drm/armada/armada_drm.h | 1 +
3 files changed, 46
Add support for the left and right justified I2S formats as well as the
more tranditional "Philips" I2S format.
Tested-by: Peter Ujfalusi
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 51 +--
1 file changed, 33 inserti
Improve the selection of the audio clock divisor so that more modes
and sample rates work.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 44 +--
1 file changed, 28 insertions(+), 16 deletions(-)
diff --git a/drivers/gpu/drm/i2c
Rather than searching an array for the audio format (which we control)
implement indexing by route type. This avoids iterating over the array
in several locations.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 57 ---
1 file changed, 29
izer pixel
repeat count. Since the audio code needs the actual TMDS clock,
record that.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/g
Get rid of the tda998x_audio_params structure in audio_settings, which
is now just used for platform data.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 43 +++
1 file changed, 26 insertions(+), 17 deletions(-)
diff --git a/drivers/gpu
n the bit clock
ratio. However, as the driver is not given the bit clock ratio from
ALSA, continue deriving this from the sample width. This will be
addressed in a later commit.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 94 ++-
1
Add support for setting gamma through both the legacy interfaces and
the atomic interfaces.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c | 63 +++
drivers/gpu/drm/armada/armada_hw.h| 4 +++
drivers/gpu/drm/armada/armada_plane.c | 2
Ensure that the hardware is disabled prior to tearing down the modeset
support.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_drv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/armada/armada_drv.c
b/drivers/gpu/drm/armada/armada_drv.c
index e660c5ca52ae
Add and use bit definitions for RDREG4F on Dove Armada 510.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_510.c | 9 +++--
drivers/gpu/drm/armada/armada_hw.h | 10 ++
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/armada/armada_510
also only ever needs to write the current
audio settings, so simplify the code in tda998x_audio_hw_params()
so that can happen.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 26 ++
1 file changed, 10 insertions(+), 16 deletions(-)
diff --git a/driver
Rather than having a nested set of for_each_child_of_node() walkers,
use the graph walker to iterate through the endpoints for CRTCs.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_drv.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu
Add a drm_mode_set_crtcinfo() call in our CRTC's mode_fixup callback
to ensure that any adjustments to the mode made by connectors etc are
properly accounted for by the CRTC.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c | 7 +++
1 file changed, 7 insertions(+)
.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_overlay.c | 12 ++--
drivers/gpu/drm/armada/armada_plane.c | 12 ++--
drivers/gpu/drm/armada/armada_plane.h | 4
3 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/armada
ll be sent full-range RGB.
Reviewed-by: Brian Starkey
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 36
1 file changed, 32 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
ind
Store the audio port enable register in the audio settings structure,
which can never be zero for a valid audio configuration. Use this to
signal whether we have audio configured, rather than AFMT_UNUSED.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 18
Interlaced support has been missing from the overlay frame, which is
sub-optimal. Add support for this missing feature.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_overlay.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/armada
We can configure both fields of the AIP_CLKSEL register with a single
write, there is no need to delay the setting of the CTS reference.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/drivers
Move the mux and clocking selection out of tda998x_configure_audio()
into the parent functions, so we can validate this when parameters
are set outside of the audio mutex.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 78 +++
1 file
Add CRTC mode validation to reject modes that the CRTC does not support.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/gpu/drm/armada/armada_crtc.c
b/drivers/gpu/drm/armada/armada_crtc.c
private plane state structure.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_hw.h | 15 ---
drivers/gpu/drm/armada/armada_overlay.c | 15 ---
drivers/gpu/drm/armada/armada_plane.c | 80 +++--
drivers/gpu/drm/armada/armada_plane.h | 20
We support interlace, but this was broken when we could no longer get
a ref on the vblank interrupt. Arrange to get the ref on the vblank
interrupt after we've re-enabled vblank, and put it before we disable
the vblank.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c
From: Lubomir Rintel
If there's a simple-framebuffer carried over from boot firmware, it's going
to stop working once we setup the LCDC for use via DRM. Kick it off from
the hardware.
Signed-off-by: Lubomir Rintel
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_
Use the __drm_atomic_helper_plane_reset() helper in the overlay reset
code to ensure that generic features are correctly reset in future.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_overlay.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers
Validate the adjusted mode in the CRTC mode_fixup() call to ensure that
any encoder or bridge doesn't supply us with a mode we can't support.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c | 19 ++-
1 file changed, 14 insertions(+), 5 deletion
There's no need to check the parent of the remote device to check
whether it is available or not, the remote is the device itself.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_drv.c | 14 +++---
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/driver
Improve the Dove (Armada 510) LCD clock selection and divider
calculation, limiting to the valid divisor values, and reporting an
error if the clock is not achievable within the bounds of HDMI
clocking requirements.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_510.c | 121
Move the plane address and pitch calculations to atomic_check rather
than the update function, so we don't have to probe the interlace
setting for the CRTC while updating the plane.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_overlay.c | 23 ++-
driver
Add support for the vendor specific infoframe.
Reviewed-by: Brian Starkey
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index
Add some comments about the format of the HWC32 cursor colour format.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/armada/armada_crtc.c
b/drivers/gpu/drm/armada/armada_crtc.c
index 5991feb1bcc9
specification.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 68 +--
1 file changed, 37 insertions(+), 31 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b/drivers/gpu/drm/i2c/tda998x_drv.c
index 7f34601bb515..0668fb3537f2 100644
d the HDMI vendor info frame when required.
Russell King (13):
drm/i2c: tda998x: introduce tda998x_audio_settings
drm/i2c: tda998x: implement different I2S flavours
drm/i2c: tda998x: improve programming of audio di
drm/armada: replace the simple-framebuffer
Russell King (17):
drm/armada: fix crtc interlace
drm/armada: use __drm_atomic_helper_plane_reset in overlay reset
drm/armada: add plane size/location accessors
drm/armada: fix plane location and size for interlace
drm/armada: add
Convert DT component matching to use component_match_add_release().
Signed-off-by: Russell King
---
Can we please get this patch from May merged into the drm-misc or
whatever trees so that we don't end up with conflicts? I've no idea
who looks after drm-misc, as they have _still_ fai
update the following files:
drivers/gpu/drm/armada/armada_crtc.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
through these changes:
Russell King (1):
drm/armada: fix clock counts
Many thanks.
Sorry, my mistake - it was merged, and it's just that I seem to have
accidentally rebased the branch, which is why the commits were still
showing up in my tree.
Sorry for the noise, please ignore.
On Wed, Oct 19, 2016 at 05:37:18PM +0100, Russell King wrote:
> David,
>
> Please i
: dts: am335x-boneblack: Add HDMI audio support
Russell King (1):
Merge commit 'efc9194bcff84' ("ASoC: hdmi-codec: callback function will
be called with private data") into drm-tda998x-devel
Many thanks.
Attached Devices:
gpu-subsystem
Total 1 devices attached
Total 1 objects, 8294400 bytes
Signed-off-by: Russell King
---
drivers/dma-buf/dma-buf.c | 34 +-
1 file changed, 33 insertions(+), 1 deletions(-)
diff --git a/drivers/dma-buf/dma-buf.c b/drivers
will use the source
position to select an area of the buffer to scan out.
In order for this to work correctly, we need to also fix the atomic
check to do a fuller validation of the new state.
Signed-off-by: Russell King
---
drivers/gpu/drm/arm/hdlcd_crtc.c | 14 ++
1 file chang
Align the heading with the values output from debugfs.
Signed-off-by: Russell King
---
drivers/dma-buf/dma-buf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
index ebaf1923ad6b..f72aaacbe023 100644
--- a/drivers/dma
The hdlcd crtc is unable to place planes in arbitary positions and sizes
within the active area. Use drm_plane_helper_check_state() to validate
the requested state.
Suggested-by: Daniel Vetter
Signed-off-by: Russell King
---
drivers/gpu/drm/arm/hdlcd_crtc.c | 28
hdlcd does not support rotation - check for it and reject plane updates
that try to rotate a plane.
Signed-off-by: Russell King
---
drivers/gpu/drm/arm/hdlcd_crtc.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/arm/hdlcd_crtc.c b/drivers/gpu/drm/arm/hdlcd_crtc.c
index
tate")
Fixes: cc4ceb484b37 ("drm: Global atomic state handling")
Signed-off-by: Russell King
---
drivers/gpu/drm/drm_atomic.c| 9 +
drivers/gpu/drm/drm_atomic_helper.c | 12 +++-
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/drivers/gp
Separate out the connector initialisation from the rest of the drivers
initialisation.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 46 ++-
1 file changed, 26 insertions(+), 20 deletions(-)
diff --git a/drivers/gpu/drm/i2c
the
audio FIFO mute before the mode set has completed.
Move the lock so that we prevent audio interfering with an in-progress
mode set.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i2c
t must not be unmuted until we have finished the mode set.
It is possible that the audio side may start while a mode set is in
progress, so take the audio_mutex lock around the whole mode setting
procedure.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 7 +++
1 fi
ts us
to CEA extension version 3, so we treat CEA extension version 2 as
CEA 861 (no infoframes, no audio.)
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 24 +++-
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_
Rather than storing the DPMS mode (which will always be on or off) use a
boolean to store this instead.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/drm/i2c
Correct two references to tda998x_connector_get_modes() which were
incorrectly referring to tda998x_encoder_get_modes().
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c
b
Check for audio support by the attached sink by consulting the EDID
prior to enabling audio over the TMDS link. We must consult the EDID
after calling drm_helper_probe_single_connector_modes(), as this can
use an override EDID, or load a replacement EDID.
Signed-off-by: Russell King
The naming of tda998x_encoder_set_config() is a left-over from when
TDA998x was a slave encoder. Since this is part of the initialisation,
drop the _encoder from the name, and move it near tda998x_bind().
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 40
Group the TDA998x connector functions and funcs structures together
before the encoder support, rather than scattered amongst the rest of
the file. This keeps like code together.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 350 +++---
1
tda998x_audio_get_eld() is needlessly complex - the connector associated
with the encoder is always our own priv->connector. Remove this
complexity, but ensure that there are no races when copying out the ELD.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c |
Avoid a racy access to the mode clock by storing the current mode clock
during a mode set under the audio mutex. This allows us to access it
from the audio path in a safe way.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 25 +++--
1 file changed, 11
Group the TDA998x audio functions together rather than split between
two different locations in the file, keeping like code together.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 276 +++---
1 file changed, 139 insertions(+), 137 deletions
Disabling the pre-filter block of the TDA998x saves 40mW and the colour
conversion block saves 15mW. As we always disable these two blocks, we
can power these sections of the chip down to save 55mW of unnecessary
power consumption.
Signed-off-by: Russell King
---
This is the next patch in my
Move more of the Armada plane state (source size, and displayed size and
position) into a state structure inside struct armada_plane.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c| 29 -
drivers/gpu/drm/armada/armada_crtc.h| 8
allows us to perform more than one bus transaction atomically.
As this means we will be using I2C transactions rather than SMBUS, we
have to check that the host supports I2C functionality.
Signed-off-by: Russell King
---
drivers/gpu/drm/i2c/tda998x_drv.c | 53
Use a common helper to calculate the plane base address(es) for the
framebuffer.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c| 26 ++
drivers/gpu/drm/armada/armada_crtc.h| 2 ++
drivers/gpu/drm/armada/armada_overlay.c | 26
registration to allow this to happen.
Signed-off-by: Russell King
---
This patch follows on from:
"drm/i2c: tda998x: power down pre-filter and color conversion"
which is now part of my drm-tda998x-devel branch, a branch which will
shortly be part of linux-next. This patch and the follo
Add tracing support to the Armada video overlay and interrupt code.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/Makefile | 2 +-
drivers/gpu/drm/armada/armada_crtc.c| 3 ++
drivers/gpu/drm/armada/armada_overlay.c | 7
drivers/gpu/drm/armada/armada_trace.c | 4
Make armada_drm_plane_work_run() take the drm_plane pointer rather than
our private pointer. This allows us to localise the conversion between
these two pointers inside armada_drm_plane_work_run(), rather than at
every call site.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada
Move the setting of the primary plane position into
armada_drm_primary_set() rather than the initialisation function.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/armada
Split out the primary plane update from the mode setting.
Signed-off-by: Russell King
---
drivers/gpu/drm/armada/armada_crtc.c | 52 ++--
1 file changed, 32 insertions(+), 20 deletions(-)
diff --git a/drivers/gpu/drm/armada/armada_crtc.c
b/drivers/gpu/drm
Now that the drm_connector_register() is gone from tda998x, we can
remove the mid-layer from armada-drm, eliminating the load, unload,
debugfs_init, and debugfs_cleanup callbacks from armada's drm_driver
structure. No functional changes.
Signed-off-by: Russell King
---
drivers/gpu/drm/a
will use the source
position to select an area of the buffer to scan out.
In order for this to work correctly, we need to also fix the atomic
check to do a fuller validation of the new state.
Signed-off-by: Russell King
---
drivers/gpu/drm/arm/hdlcd_crtc.c
comparison warning
Russell King (7):
drm/armada: add tracing support
drm/armada: clean up armada_drm_plane_work_run()
drm/armada: move plane state to struct armada_plane
drm/armada: split out primary plane update
drm/armada: move setting primary plane position to
--
1 file changed, 503 insertions(+), 450 deletions(-)
through these changes:
Colin Ian King (1):
drm/i2c: tda998x: fix spelling mistake
Russell King (16):
drm/i2c: tda998x: move audio mutex initialisation
drm/i2c: tda998x: avoid race in
throttle the power dissiptation, and reduce the temperature when the
SoC gets hot.
This patch hooks the Etnaviv driver into the kernel's thermal management
to allow the GPUs to be throttled when necessary, allowing a reduction in
GPU clock rate from /1 to /64 in power of 2 steps.
Signed-off-by: Ru
The video setup path aways sets the clock disable register to a specific
value, which has the effect of disabling the CEC engine. When we add the
CEC driver, this becomes a problem.
Fix this by only setting/clearing the bits that the video path needs to.
Signed-off-by: Russell King
We don't need the CEC engine register definitions, so let's remove them.
Signed-off-by: Russell King
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi.h | 45 ---
1 file changed, 45 deletions(-)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.h
b/drive
Add CEC notifier support to the HDMI bridge driver, so that the CEC
part of the IP can receive its physical address.
Signed-off-by: Russell King
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu
1 - 100 of 2033 matches
Mail list logo