_scaling(struct malidp_plane *mp,
if (mp->layer->id & (DE_SMART | DE_GRAPHICS2))
return -EINVAL;
- mc = to_malidp_crtc_state(crtc_state);
-
mc->scaled_planes_mask |= mp->layer->id;
/* Defer scaling requirements calculation to the crtc check. */
Print all the extra fields of malidp_plane_state.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
---
drivers/gpu/drm/arm/malidp_planes.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/gpu/drm/arm/malidp_planes.c
b/drivers/gpu/drm/arm/malidp_planes.c
All DPs have a COLORADJ matrix which is applied prior to output gamma.
Attach that to the CTM property. Also, ensure the input CTM's coefficients
can fit in the DP registers' Q3.12 format.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
---
Link to v1: https://lkml.org/lkml/20
ple) is not first in the derived
struct, to avoid missing any data before it and corrupting the base's data.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
---
include/drm/drm_atomic_helper.h | 33 +
1 file changed, 33 insertions(+)
diff --git a/in
red this
also applies to the other drm_*_state derivatives, so I concocted a macro
helper to do the copy in one chunk (two if you count the __drm_atomic_helper*
one). I'd appreciate some comments on whether anyone else might find this
macro useful. Thanks!
Mihail Atanassov (1):
drm: Add helper ma
Add a custom CRTC state struct to enable storing driver-private per-CRTC
state. This patch only adds the base drm_crtc_state struct.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
Reviewed-by: Brian Starkey <brian.star...@arm.com>
Acked-by: Liviu Dudau <liviu.du...@ar
table of coefficients for
all 3 curves on DP500.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
Reviewed-by: Brian Starkey <brian.star...@arm.com>
Acked-by: Liviu Dudau <liviu.du...@arm.com>
---
drivers/gpu/drm/arm/malidp_crtc.c | 130 +
Add a custom CRTC state struct to enable storing driver-private per-CRTC
state. This patch only adds the base drm_crtc_state struct.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
Reviewed-by: Brian Starkey <brian.star...@arm.com>
---
Link to v1: https://lkml.org/lkml/
table of coefficients for
all 3 curves on DP500.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
Reviewed-by: Brian Starkey <brian.star...@arm.com>
---
drivers/gpu/drm/arm/malidp_crtc.c | 132 --
drivers/gpu/drm/arm/malidp_
table of coefficients for
all 3 curves on DP500.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
---
drivers/gpu/drm/arm/malidp_crtc.c | 130 --
drivers/gpu/drm/arm/malidp_drv.c | 52 +++
drivers/gpu/drm/arm/malidp_drv.h
Add a custom CRTC state struct to enable storing driver-private per-CRTC
state. This patch only adds the base drm_crtc_state struct.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
---
drivers/gpu/drm/arm/malidp_crtc.c | 39 +--
drivers/gpu/d
All DPs have a COLORADJ matrix which is applied prior to output gamma.
Attach that to the CTM property. Also, ensure the input CTM's coefficients
can fit in the DP registers' Q3.12 format.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
---
This patch depends on "[PATCH 2/2
The reset hook needs to allocate space for a
malidp_plane_state, which is larger than drm_plane_state.
Otherwise, the hook is identical to the default one.
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
---
drivers/gpu/drm/arm/malidp_planes.c | 23 ++-
If the device-tree 'reg' node doesn't reserve enough
space for the DP, fail to bind.
Reviewed-by: Brian Starkey <brian.star...@arm.com>
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
---
drivers/gpu/drm/arm/malidp_drv.c | 20
drivers/gpu/drm/arm/m
Refuse to bind if the device-tree compatible string
lists a different hardware version.
Reviewed-by: Brian Starkey <brian.star...@arm.com>
Signed-off-by: Mihail Atanassov <mihail.atanas...@arm.com>
---
A couple of small improvements to driver-to-hardware binding.
drivers
201 - 215 of 215 matches
Mail list logo