this driver would be used for wireless display. virtual display
driver has independent crtc, encoder and connector and to use
this driver, user application should send edid data to this driver
from wireless display.
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos
From: Joonyoung Shim
G2D is a 2D graphic accelerator that supports Bit Block Transfer. This
G2D driver is exynos drm specific and supports only exynos4x12 series.
user application fills command set in cmdlist and once dma start request
these cmdlists are parsed and performed by dma.
This adds be
From: Joonyoung Shim
The is_local member indicates unused subdrv such connector and encoder
so doesn't make resources for them.
Signed-off-by: Joonyoung Shim
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exynos_drm_core.c |3 +++
drivers/gpu/drm/exynos/e
From: Joonyoung Shim
Some subdrv need open and close functions call when open and close drm.
Signed-off-by: Joonyoung Shim
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exynos_drm_core.c | 35 ++
drivers/gpu/drm/exynos/exynos_dr
From: Joonyoung Shim
The exynos drm driver has several subdrv. They each can be module but it
causes unfixed probe order of exynodr drm driver and each subdrv. It
also needs some weird codes such as exynos_drm_fbdev_reinit and
exynos_drm_mode_group_reinit. This patch can remove weird codes and
cl
From: Joonyoung Shim
We should release pending pageflip events when closed. If not, they will
be dangling events.
Signed-off-by: Joonyoung Shim
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exynos_drm_drv.c | 14 ++
1 files changed, 14 insertio
this function would be used for drm based 2d acceleration driver
to get/put dma address through gem handle.
when exynos_drm_get_dma_address is called reference count of
gem object would be increased not to be released by gem close and
when exynos_drm_put_dma_address is called the reference count of
with this patch, we can allocate physically continuous or non-continuous
memory and also it creates scatterlist for iommu support so allocated
memory region can be mapped to iommu page table using scatterlist.
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exyno
this patch adds mode_fixup feature for hdmi module that
specific driver changes current mode to driver desired mode
properly.
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exynos_drm_connector.c | 25 +++-
drivers/gpu/drm/exynos/exynos_drm_crtc.c |
Later Exynos series from Exynos4X12 support HDMI version 1.4. We will
distinguish to use which version via platform data.
Signed-off-by: Joonyoung Shim
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exynos_hdmi.c | 1152 +++---
drive
Hi, Dave and all.
this patch set includes the following features.
- add HDMI version 1.4 support.
- add mode_fixup feature.
. hdmi module would change current mode to driver desired mode properly.
- add buffer alloction type.
. we can allocate physically continuous or non-continuous
memory
https://bugs.freedesktop.org/show_bug.cgi?id=47289
Bug #: 47289
Summary: SIGSEGV at r300_state.c:1066
Classification: Unclassified
Product: Mesa
Version: 7.11
Platform: x86-64 (AMD64)
OS/Version: FreeBSD
Status: NEW
https://bugzilla.kernel.org/show_bug.cgi?id=42923
Summary: External monitor on display port has no sync with
radeon driver
Product: Drivers
Version: 2.5
Kernel Version: 3.3.0
Platform: All
OS/Version: Linux
Tr
https://bugs.freedesktop.org/show_bug.cgi?id=46713
--- Comment #17 from Rafa? Mi?ecki 2012-03-13 12:05:38
PDT ---
If you wish, you can try switching to radeon and:
1) Start playback
2) Make sure speed is still wrong
3) Execute: "avivotool regset 0x05b0 0x000ea600"
4) Execute: "avivotool regset 0
https://bugs.freedesktop.org/show_bug.cgi?id=46713
--- Comment #16 from Rafa? Mi?ecki 2012-03-13 12:04:19
PDT ---
Tvrtko: thanks a lot for your effort and dumps coming from fglrx.
What I can say now: it seems fglrx is using the same registers
(EVERGREEN_AUDIO_PLL1_MUL and EVERGREEN_AUDIO_PLL1_D
Hi Ilija,
Thank you for your reply. We will check the coding style next time.
I don't know about the license thing. Is there any different license for
choosing?
Regards
Aaron
--
???: Ilija Hadzic [mailto:ihadzic at research.bell-labs.com]
: 2012?3?10? 0:30
???: Aaron.Chen ???
From: Andy Gross
Register OMAP DRM/KMS platform device, and reserve a CMA region for
the device to use for buffer allocation. DMM is split into a
separate device using hwmod.
Signed-off-by: Andy Gross
Signed-off-by: Rob Clark
---
arch/arm/mach-omap2/Makefile |4 ++
arch/arm/mach
Any opinion on this quirk ?
On Wed, 7 Mar 2012 18:36:35 +0100, Anisse Astier wrote :
> This hardware doesn't have an LVDS, it's a desktop box. Fix incorrect
> LVDS detection.
>
> Cc: stable at kernel.org
> Signed-off-by: Anisse Astier
> ---
> drivers/gpu/drm/i915/intel_lvds.c |8
On 01/30/2012 11:43 AM, Randy Dunlap wrote:
This patch is still needed in linux-next of 20120313.
> From: Randy Dunlap
>
> Fix build warnings by providing a struct stub since no fields of
> the struct are used:
>
> include/linux/vgaarb.h:66:9: warning: 'struct p
https://bugs.freedesktop.org/show_bug.cgi?id=47289
Bug #: 47289
Summary: SIGSEGV at r300_state.c:1066
Classification: Unclassified
Product: Mesa
Version: 7.11
Platform: x86-64 (AMD64)
OS/Version: FreeBSD
Status: NEW
On 01/30/2012 11:43 AM, Randy Dunlap wrote:
This patch is still needed in linux-next of 20120313.
> From: Randy Dunlap
>
> Fix build warnings by providing a struct stub since no fields of
> the struct are used:
>
> include/linux/vgaarb.h:66:9: warning: 'struct p
https://bugzilla.kernel.org/show_bug.cgi?id=42920
--- Comment #3 from Alex Deucher 2012-03-13
14:13:34 ---
radeontool is for older chips. The register is at a different location on
them. Note I said radeonreg rather than radeontool, but either will work as
long as you specify the proper o
https://bugzilla.kernel.org/show_bug.cgi?id=42920
--- Comment #2 from j.fikar at gmail.com 2012-03-13 13:55:08 ---
for 128MB it shows this:
./radeontool regmatch 0x5428
0x5428 0x0800 (134217728)
but
./radeontool regs | grep MEMSIZE
RADEON_CONFIG_MEMSIZE
is this it? I'll a
From: Andy Gross
Register OMAP DRM/KMS platform device, and reserve a CMA region for
the device to use for buffer allocation. DMM is split into a
separate device using hwmod.
Signed-off-by: Andy Gross
Signed-off-by: Rob Clark
---
arch/arm/mach-omap2/Makefile |4 ++
arch/arm/mach
https://bugzilla.kernel.org/show_bug.cgi?id=42920
Alex Deucher changed:
What|Removed |Added
CC||alexdeucher at gmail.com
--- Comment #
https://bugzilla.kernel.org/show_bug.cgi?id=42920
Summary: Radeon with KMS and UMA works only up to 128MB
Product: Drivers
Version: 2.5
Kernel Version: 3.3-rc7
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NE
https://bugzilla.kernel.org/show_bug.cgi?id=42923
Summary: External monitor on display port has no sync with
radeon driver
Product: Drivers
Version: 2.5
Kernel Version: 3.3.0
Platform: All
OS/Version: Linux
Tr
From: Ville Syrj?l?
Change drm_mode_object_get() to return -ENOMEM if idr_pre_get() fails,
and also handle -ENOSPC from idr_get_new_above().
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/
From: Ville Syrj?l?
Add a helper function to copy a display mode. Use it in
drm_mode_duplicate() and nouveau mode_fixup hooks.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_modes.c| 28 +++-
drivers/gpu/drm/nouveau/nv50_dac.c |7 ++-
drivers/gpu
From: Ville Syrj?l?
Use a do {} while() loop instead of a goto in drm_mode_object_get().
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_cr
From: Ville Syrj?l?
The blob property data is always allocated immediately after the object
header. No need for the extra indirection when accessing it, just use
a flexible array member.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c |1 -
include/drm/drm_crtc.h |2 +-
From: Ville Syrj?l?
Check drm_mode_object_get() return value everywhere.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c| 95 -
drivers/gpu/drm/drm_crtc_helper.c |2 +
include/drm/drm_crtc.h| 22
3 files chang
From: Ville Syrj?l?
drm_crtc_convert_umode() and drm_crtc_convert_to_umode() are never
used outside drm_crtc.c, so make them static. Also make the input
mode structure const for both functions.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c |8
1 files changed, 4 inse
From: Ville Syrj?l?
Change drm_mode_attachmode_crtc() to take an "all or nothing" approach.
If an error is returned, there are no side effects visible.
Also change the function to always duplicate the mode passed in.
Also change the function to not give up when it finds the first
connector with
From: Ville Syrj?l?
Make sure the requested CRTC viewport fits inside the
framebuffer.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c | 24
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_c
From: Ville Syrj?l?
The internal mode representation drm_display_mode uses signed data
types. When converting the user mode to internal representation,
check that the unsigned values don't overflow the signed datatypes.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c | 33 +++
From: Ville Syrj?l?
The mode passed to the .set_config() hook was never freed. The drivers
will make a copy of the mode, so simply free it when done.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dri
From: Ville Syrj?l?
drm_mode_attachmode() always returns 0. Change the return type to void.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c | 16 +---
1 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc
From: Ville Syrj?l?
The crtc x/y panning coordinates are stored as signed integers
internally. The user provides them as unsigned, so we should check
that the user provided values actually fit in the internal datatypes.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c |4
1
From: Ville Syrj?l?
When converting from a drm_display_mode to drm_mode_modeinfo, print a
warning if the the timings values don't fit into the __u16 datatype.
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --gi
From: Ville Syrj?l?
The drm_display_mode type is a bitmask so it should be unsigned.
Signed-off-by: Ville Syrj?l?
---
include/drm/drm_crtc.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 2a0872c..31715bd 100644
-
From: Ville Syrj?l?
When doing a mode set with the special fb id -1, reject the mode set if
no fb is currently bound to the crtc.
Also remove the pointless list traversal to find the current crtc based
on the current crtc :)
Signed-off-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_crtc.c | 14 +
Mostly fixes for various bits and pieces that caught my eye while
reading the mode setting code.
https://bugs.freedesktop.org/show_bug.cgi?id=46713
--- Comment #17 from Rafał Miłecki 2012-03-13 12:05:38 PDT
---
If you wish, you can try switching to radeon and:
1) Start playback
2) Make sure speed is still wrong
3) Execute: "avivotool regset 0x05b0 0x000ea600"
4) Execute: "avivotool regset 0
https://bugs.freedesktop.org/show_bug.cgi?id=46713
--- Comment #16 from Rafał Miłecki 2012-03-13 12:04:19 PDT
---
Tvrtko: thanks a lot for your effort and dumps coming from fglrx.
What I can say now: it seems fglrx is using the same registers
(EVERGREEN_AUDIO_PLL1_MUL and EVERGREEN_AUDIO_PLL1_D
https://bugs.freedesktop.org/show_bug.cgi?id=47007
--- Comment #15 from Tvrtko Ursulin 2012-03-13
04:44:04 PDT ---
Bad news from a different motherboard. This one has DVI-D and DP connectors.
With a DVI monitor connected stalls are still there due to the shared_ddc being
true (DDC shared between
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/s5p-tv/Kconfig |1 +
drivers/media/video/s5p-tv/mixer_video.c | 12 +++-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/s5p-tv/Kconfig
b/drivers/media
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/Kconfig |1 +
drivers/media/video/s5p-fimc/fimc-capture.c | 11 ++-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/Kconfig b/drivers/media/vi
The DMABUF documentation says that the map_dma_buf callback should return
scatterlist that is mapped into a caller's address space. In practice, almost
none of existing implementations of DMABUF exporter does it. This patch breaks
the DMABUF specification in order to allow exchange DMABUF buffers
This patch adds support for exporting a dma-contig buffer using
DMABUF interface.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/videobuf2-dma-contig.c | 128
1 files changed, 128 insertions(+), 0 deletions(-)
diff --git a/
This patch adds extension to videobuf2-core. It allow to export a mmap buffer
as a file descriptor.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/videobuf2-core.c | 64 ++
include/media/videobuf2-core.h |2 +
This patch adds extension to V4L2 api. It allow to export a mmap buffer as file
descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by
mmap and return a file descriptor on success.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/v4
From: Sumit Semwal
This patch makes changes for adding dma-contig as a dma_buf user. It provides
function implementations for the {attach, detach, map, unmap}_dmabuf()
mem_ops of DMABUF memory type.
Signed-off-by: Sumit Semwal
Signed-off-by: Sumit Semwal
[author of the original patch]
This patch combines updates and fixes to dma-contig allocator.
Moreover the allocator code was refactored.
The most important changes are:
- functions were reordered
- move compression of scatterlist to separete function
- add support for multichunk but contiguous scatterlists
- simplified implemen
This patch contains fixes to DMABUF support in vb2-core.
- fixes number of arguments of call_memop macro
- fixes setup of plane length
- fixes handling of error pointers
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/videobuf2-core.c | 24 +++--
Hello everyone,
This patchset is an incremental patch to patchset created by Sumit Semwal [1].
The patches are dedicated to help find a better solution for support of buffer
sharing by V4L2 API. It is expected to start discussion on the final
installment for dma-buf in vb2-dma-contig allocator. C
On Tue, Mar 13, 2012 at 6:35 AM, wrote:
> Mostly fixes for various bits and pieces that caught my eye while
> reading the mode setting code.
For the series:
Reviewed-by: Alex Deucher
https://bugs.freedesktop.org/show_bug.cgi?id=46725
--- Comment #10 from Tomi Pievil?inen
2012-03-13 02:00:11 PDT ---
Unfortunately not.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the b
https://bugs.freedesktop.org/show_bug.cgi?id=47007
Tvrtko Ursulin changed:
What|Removed |Added
Attachment #58318|0 |1
is obsolete|
From: Joonyoung Shim
G2D is a 2D graphic accelerator that supports Bit Block Transfer. This
G2D driver is exynos drm specific.
This adds below three exynos specific ioctl and one event for G2D.
- DRM_EXYNOS_G2D_GET_VER
- DRM_EXYNOS_G2D_SET_CMDLIST
- DRM_EXYNOS_G2D_EXEC
- DRM_EXYNOS_G2D_EVENT
this driver would be used for wireless display. virtual display
driver has independent crtc, encoder and connector and to use
this driver, user application should send edid data to this driver
from wireless display.
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos
From: Joonyoung Shim
G2D is a 2D graphic accelerator that supports Bit Block Transfer. This
G2D driver is exynos drm specific and supports only exynos4x12 series.
user application fills command set in cmdlist and once dma start request
these cmdlists are parsed and performed by dma.
This adds be
From: Joonyoung Shim
Some subdrv need open and close functions call when open and close drm.
Signed-off-by: Joonyoung Shim
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exynos_drm_core.c | 35 ++
drivers/gpu/drm/exynos/exynos_dr
From: Joonyoung Shim
The is_local member indicates unused subdrv such connector and encoder
so doesn't make resources for them.
Signed-off-by: Joonyoung Shim
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exynos_drm_core.c |3 +++
drivers/gpu/drm/exynos/e
From: Joonyoung Shim
The exynos drm driver has several subdrv. They each can be module but it
causes unfixed probe order of exynodr drm driver and each subdrv. It
also needs some weird codes such as exynos_drm_fbdev_reinit and
exynos_drm_mode_group_reinit. This patch can remove weird codes and
cl
this function would be used for drm based 2d acceleration driver
to get/put dma address through gem handle.
when exynos_drm_get_dma_address is called reference count of
gem object would be increased not to be released by gem close and
when exynos_drm_put_dma_address is called the reference count of
From: Joonyoung Shim
We should release pending pageflip events when closed. If not, they will
be dangling events.
Signed-off-by: Joonyoung Shim
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exynos_drm_drv.c | 14 ++
1 files changed, 14 insertio
with this patch, we can allocate physically continuous or non-continuous
memory and also it creates scatterlist for iommu support so allocated
memory region can be mapped to iommu page table using scatterlist.
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exyno
this patch adds mode_fixup feature for hdmi module that
specific driver changes current mode to driver desired mode
properly.
Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
---
drivers/gpu/drm/exynos/exynos_drm_connector.c | 25 +++-
drivers/gpu/drm/exynos/exynos_drm_crtc.c |
Hi, Dave and all.
this patch set includes the following features.
- add HDMI version 1.4 support.
- add mode_fixup feature.
. hdmi module would change current mode to driver desired mode properly.
- add buffer alloction type.
. we can allocate physically continuous or non-continuous
memory
Any opinion on this quirk ?
On Wed, 7 Mar 2012 18:36:35 +0100, Anisse Astier wrote :
> This hardware doesn't have an LVDS, it's a desktop box. Fix incorrect
> LVDS detection.
>
> Cc: sta...@kernel.org
> Signed-off-by: Anisse Astier
> ---
> drivers/gpu/drm/i915/intel_lvds.c |8
>
https://bugzilla.kernel.org/show_bug.cgi?id=42920
--- Comment #3 from Alex Deucher 2012-03-13 14:13:34
---
radeontool is for older chips. The register is at a different location on
them. Note I said radeonreg rather than radeontool, but either will work as
long as you specify the proper o
https://bugzilla.kernel.org/show_bug.cgi?id=42920
--- Comment #2 from j.fi...@gmail.com 2012-03-13 13:55:08 ---
for 128MB it shows this:
./radeontool regmatch 0x5428
0x5428 0x0800 (134217728)
but
./radeontool regs | grep MEMSIZE
RADEON_CONFIG_MEMSIZE
is this it? I'll add
https://bugzilla.kernel.org/show_bug.cgi?id=42920
Alex Deucher changed:
What|Removed |Added
CC||alexdeuc...@gmail.com
--- Comment #1 f
On Tue, Mar 13, 2012 at 6:35 AM, wrote:
> Mostly fixes for various bits and pieces that caught my eye while
> reading the mode setting code.
For the series:
Reviewed-by: Alex Deucher
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://l
https://bugzilla.kernel.org/show_bug.cgi?id=42920
Summary: Radeon with KMS and UMA works only up to 128MB
Product: Drivers
Version: 2.5
Kernel Version: 3.3-rc7
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NE
Hi Ilija,
Thank you for your reply. We will check the coding style next time.
I don't know about the license thing. Is there any different license for
choosing?
Regards
Aaron
-邮件原件-
发件人: Ilija Hadzic [mailto:ihad...@research.bell-labs.com]
发送时间: 2012年3月10日 0:30
收件人: Aaron.Chen 陈俊杰
抄送:
https://bugs.freedesktop.org/show_bug.cgi?id=47007
--- Comment #15 from Tvrtko Ursulin 2012-03-13
04:44:04 PDT ---
Bad news from a different motherboard. This one has DVI-D and DP connectors.
With a DVI monitor connected stalls are still there due to the shared_ddc being
true (DDC shared between
From: Ville Syrjälä
Check drm_mode_object_get() return value everywhere.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c| 95 -
drivers/gpu/drm/drm_crtc_helper.c |2 +
include/drm/drm_crtc.h| 22
3 files chang
From: Ville Syrjälä
Add a helper function to copy a display mode. Use it in
drm_mode_duplicate() and nouveau mode_fixup hooks.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_modes.c| 28 +++-
drivers/gpu/drm/nouveau/nv50_dac.c |7 ++-
drivers/gpu
From: Ville Syrjälä
The drm_display_mode type is a bitmask so it should be unsigned.
Signed-off-by: Ville Syrjälä
---
include/drm/drm_crtc.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 2a0872c..31715bd 100644
-
From: Ville Syrjälä
Make sure the requested CRTC viewport fits inside the
framebuffer.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c | 24
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_c
Mostly fixes for various bits and pieces that caught my eye while
reading the mode setting code.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
From: Ville Syrjälä
Change drm_mode_object_get() to return -ENOMEM if idr_pre_get() fails,
and also handle -ENOSPC from idr_get_new_above().
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/
From: Ville Syrjälä
Use a do {} while() loop instead of a goto in drm_mode_object_get().
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_cr
From: Ville Syrjälä
The blob property data is always allocated immediately after the object
header. No need for the extra indirection when accessing it, just use
a flexible array member.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c |1 -
include/drm/drm_crtc.h |2 +-
From: Ville Syrjälä
drm_crtc_convert_umode() and drm_crtc_convert_to_umode() are never
used outside drm_crtc.c, so make them static. Also make the input
mode structure const for both functions.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c |8
1 files changed, 4 inse
From: Ville Syrjälä
Change drm_mode_attachmode_crtc() to take an "all or nothing" approach.
If an error is returned, there are no side effects visible.
Also change the function to always duplicate the mode passed in.
Also change the function to not give up when it finds the first
connector with
From: Ville Syrjälä
The internal mode representation drm_display_mode uses signed data
types. When converting the user mode to internal representation,
check that the unsigned values don't overflow the signed datatypes.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c | 33 +++
From: Ville Syrjälä
The mode passed to the .set_config() hook was never freed. The drivers
will make a copy of the mode, so simply free it when done.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dri
From: Ville Syrjälä
drm_mode_attachmode() always returns 0. Change the return type to void.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c | 16 +---
1 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc
From: Ville Syrjälä
The crtc x/y panning coordinates are stored as signed integers
internally. The user provides them as unsigned, so we should check
that the user provided values actually fit in the internal datatypes.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c |4
1
From: Ville Syrjälä
When converting from a drm_display_mode to drm_mode_modeinfo, print a
warning if the the timings values don't fit into the __u16 datatype.
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --gi
From: Ville Syrjälä
When doing a mode set with the special fb id -1, reject the mode set if
no fb is currently bound to the crtc.
Also remove the pointless list traversal to find the current crtc based
on the current crtc :)
Signed-off-by: Ville Syrjälä
---
drivers/gpu/drm/drm_crtc.c | 14 +
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/s5p-tv/Kconfig |1 +
drivers/media/video/s5p-tv/mixer_video.c | 12 +++-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/s5p-tv/Kconfig
b/drivers/media
This patch adds extension to V4L2 api. It allow to export a mmap buffer as file
descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by
mmap and return a file descriptor on success.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/v4
The DMABUF documentation says that the map_dma_buf callback should return
scatterlist that is mapped into a caller's address space. In practice, almost
none of existing implementations of DMABUF exporter does it. This patch breaks
the DMABUF specification in order to allow exchange DMABUF buffers
This patch adds support for exporting a dma-contig buffer using
DMABUF interface.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/videobuf2-dma-contig.c | 128
1 files changed, 128 insertions(+), 0 deletions(-)
diff --git a/
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/Kconfig |1 +
drivers/media/video/s5p-fimc/fimc-capture.c | 11 ++-
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/Kconfig b/drivers/media/vi
This patch adds extension to videobuf2-core. It allow to export a mmap buffer
as a file descriptor.
Signed-off-by: Tomasz Stanislawski
Signed-off-by: Kyungmin Park
---
drivers/media/video/videobuf2-core.c | 64 ++
include/media/videobuf2-core.h |2 +
1 - 100 of 107 matches
Mail list logo