Displaying 20 results from an estimated 90 matches for "mgag200_drv".
2024 Aug 21
1
[PATCH v2 56/86] drm/mgag200: Run DRM default client setup
..._fourcc()
Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
Cc: Dave Airlie <airlied at redhat.com>
Cc: Thomas Zimmermann <tzimmermann at suse.de>
Cc: Jocelyn Falempe <jfalempe at redhat.com>
---
drivers/gpu/drm/drm_client_setup.c | 2 +-
drivers/gpu/drm/mgag200/mgag200_drv.c | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/drm_client_setup.c b/drivers/gpu/drm/drm_client_setup.c
index c8ca5afaa47a..5373a892f097 100644
--- a/drivers/gpu/drm/drm_client_setup.c
+++ b/drivers/gpu/drm/drm_client_setup.c
@@ -64,6 +64,6 @@ void drm_cl...
2020 Jan 07
0
[RFT 07/13] drm/mgag200: Constify ioreadX() iomem argument (as in generic implementation)
...r to const, on some not.
Implementations of ioreadX() do not modify the memory under the address
so they can be converted to a "const" version for const-safety and
consistency among architectures.
Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
---
drivers/gpu/drm/mgag200/mgag200_drv.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.h b/drivers/gpu/drm/mgag200/mgag200_drv.h
index aa32aad222c2..6512b3af4fb7 100644
--- a/drivers/gpu/drm/mgag200/mgag200_drv.h
+++ b/drivers/gpu/drm/mgag200/mgag200_drv.h
@@ -34,9 +34,9 @@...
2020 Jan 08
0
[PATCH v2 6/9] drm/mgag200: Constify ioreadX() iomem argument (as in generic implementation)
...r to const, on some not.
Implementations of ioreadX() do not modify the memory under the address
so they can be converted to a "const" version for const-safety and
consistency among architectures.
Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
---
drivers/gpu/drm/mgag200/mgag200_drv.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.h b/drivers/gpu/drm/mgag200/mgag200_drv.h
index aa32aad222c2..6512b3af4fb7 100644
--- a/drivers/gpu/drm/mgag200/mgag200_drv.h
+++ b/drivers/gpu/drm/mgag200/mgag200_drv.h
@@ -34,9 +34,9 @@...
2020 Feb 19
0
[RESEND PATCH v2 6/9] drm/mgag200: Constify ioreadX() iomem argument (as in generic implementation)
...converted to a "const" version for const-safety and
consistency among architectures.
Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de>
---
Changes since v1:
1. Add Thomas' review.
---
drivers/gpu/drm/mgag200/mgag200_drv.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.h b/drivers/gpu/drm/mgag200/mgag200_drv.h
index aa32aad222c2..6512b3af4fb7 100644
--- a/drivers/gpu/drm/mgag200/mgag200_drv.h
+++ b/drivers/gpu/drm/mgag200/mgag200_drv.h
@@ -34,9 +34,9 @@...
2020 Feb 07
0
[PATCH 4/6] drm/mgag200: Use simple encoder
The mgag200 driver uses an empty implementation for its encoder. Replace
the code with the generic simple encoder.
Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
---
drivers/gpu/drm/mgag200/mgag200_drv.h | 7 ---
drivers/gpu/drm/mgag200/mgag200_mode.c | 60 +-------------------------
2 files changed, 2 insertions(+), 65 deletions(-)
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.h b/drivers/gpu/drm/mgag200/mgag200_drv.h
index aa32aad222c2..9bb9e8e14539 100644
--- a/drivers/gpu/drm/mgag200/mg...
2019 Sep 13
2
[PATCH 8/8] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...m_vram_helper.h | 18 ----
include/drm/drm_vram_mm_helper.h | 82 +++++++++++++++++++
drivers/gpu/drm/ast/ast_drv.c | 5 +-
drivers/gpu/drm/bochs/bochs_drv.c | 5 +-
.../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 +-
drivers/gpu/drm/mgag200/mgag200_drv.c | 5 +-
drivers/gpu/drm/vboxvideo/vbox_drv.c | 5 +-
7 files changed, 87 insertions(+), 38 deletions(-)
create mode 100644 include/drm/drm_vram_mm_helper.h
diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h
index 9d5526650291..3503ff784803 1006...
2019 Sep 13
2
[PATCH 8/8] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...m_vram_helper.h | 18 ----
include/drm/drm_vram_mm_helper.h | 82 +++++++++++++++++++
drivers/gpu/drm/ast/ast_drv.c | 5 +-
drivers/gpu/drm/bochs/bochs_drv.c | 5 +-
.../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 +-
drivers/gpu/drm/mgag200/mgag200_drv.c | 5 +-
drivers/gpu/drm/vboxvideo/vbox_drv.c | 5 +-
7 files changed, 87 insertions(+), 38 deletions(-)
create mode 100644 include/drm/drm_vram_mm_helper.h
diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h
index 9d5526650291..3503ff784803 1006...
2019 Aug 08
0
[PATCH v4 12/17] drm: drop DRM_VRAM_MM_FILE_OPERATIONS
...at redhat.com>
---
include/drm/drm_vram_mm_helper.h | 17 -----------------
drivers/gpu/drm/ast/ast_drv.c | 5 +----
drivers/gpu/drm/bochs/bochs_drv.c | 5 +----
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 +----
drivers/gpu/drm/mgag200/mgag200_drv.c | 5 +----
drivers/gpu/drm/vboxvideo/vbox_drv.c | 5 +----
6 files changed, 5 insertions(+), 37 deletions(-)
diff --git a/include/drm/drm_vram_mm_helper.h b/include/drm/drm_vram_mm_helper.h
index f272adc8ad37..59a8a7657a5b 100644
--- a/include/drm/drm_vram_mm_helper.h
+++...
2019 Oct 16
0
[PATCH v4 11/11] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...ermann at suse.de>
---
include/drm/drm_gem_vram_helper.h | 18 ------------------
drivers/gpu/drm/ast/ast_drv.c | 5 +----
drivers/gpu/drm/bochs/bochs_drv.c | 5 +----
.../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 +----
drivers/gpu/drm/mgag200/mgag200_drv.c | 5 +----
drivers/gpu/drm/vboxvideo/vbox_drv.c | 5 +----
6 files changed, 5 insertions(+), 38 deletions(-)
diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h
index 5e48fdac4a1d..b8ad4531ebb4 100644
--- a/include/drm/drm_gem_vram_helper.h
+++...
2019 Sep 17
0
[PATCH v2 11/11] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...ermann at suse.de>
---
include/drm/drm_gem_vram_helper.h | 18 ------------------
drivers/gpu/drm/ast/ast_drv.c | 5 +----
drivers/gpu/drm/bochs/bochs_drv.c | 5 +----
.../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 +----
drivers/gpu/drm/mgag200/mgag200_drv.c | 5 +----
drivers/gpu/drm/vboxvideo/vbox_drv.c | 5 +----
6 files changed, 5 insertions(+), 38 deletions(-)
diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h
index 9d5526650291..3503ff784803 100644
--- a/include/drm/drm_gem_vram_helper.h
+++...
2019 Sep 19
0
[PATCH v3 11/11] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...ermann at suse.de>
---
include/drm/drm_gem_vram_helper.h | 18 ------------------
drivers/gpu/drm/ast/ast_drv.c | 5 +----
drivers/gpu/drm/bochs/bochs_drv.c | 5 +----
.../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 +----
drivers/gpu/drm/mgag200/mgag200_drv.c | 5 +----
drivers/gpu/drm/vboxvideo/vbox_drv.c | 5 +----
6 files changed, 5 insertions(+), 38 deletions(-)
diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h
index 05a762c87305..84b31373ddf5 100644
--- a/include/drm/drm_gem_vram_helper.h
+++...
2020 Mar 12
2
[RESEND PATCH v2 6/9] drm/mgag200: Constify ioreadX() iomem argument (as in generic implementation)
...ty and
> consistency among architectures.
>
> Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
> Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de>
>
> ---
>
> Changes since v1:
> 1. Add Thomas' review.
> ---
> drivers/gpu/drm/mgag200/mgag200_drv.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.h b/drivers/gpu/drm/mgag200/mgag200_drv.h
> index aa32aad222c2..6512b3af4fb7 100644
> --- a/drivers/gpu/drm/mgag200/mgag200_drv.h
> +++ b/drivers/gpu/drm/mgag200/mga...
2019 Jul 03
0
[PATCH 5/5] drm/mgag200: Replace struct mga_fbdev with generic framebuffer emulation
..._do_set_base() used to contain special handling for the framebuffer
console. With the new generic framebuffer, the driver does not need this
code an longer.
Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
---
drivers/gpu/drm/mgag200/Makefile | 2 +-
drivers/gpu/drm/mgag200/mgag200_drv.h | 19 --
drivers/gpu/drm/mgag200/mgag200_fb.c | 309 -------------------------
drivers/gpu/drm/mgag200/mgag200_main.c | 61 ++---
drivers/gpu/drm/mgag200/mgag200_mode.c | 27 ---
5 files changed, 35 insertions(+), 383 deletions(-)
delete mode 100644 drivers/gpu/drm/mgag200/mgag200_fb.c
di...
2017 Jun 20
0
[PATCH 07/11] drm: mgag200: remove dead code and pointless local lut storage
The redundant fb helpers .load_lut, .gamma_set and .gamma_get are
no longer used. Remove the dead code and hook up the crtc .gamma_set
to use the crtc gamma_store directly instead of duplicating that
info locally.
Signed-off-by: Peter Rosin <peda at axentia.se>
---
drivers/gpu/drm/mgag200/mgag200_drv.h | 5 ---
drivers/gpu/drm/mgag200/mgag200_fb.c | 2 --
drivers/gpu/drm/mgag200/mgag200_mode.c | 62 ++++++++--------------------------
3 files changed, 15 insertions(+), 54 deletions(-)
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.h b/drivers/gpu/drm/mgag200/mgag200_drv.h
index c88b6ec.....
2019 Apr 29
0
[PATCH v3 15/19] drm/mgag200: Replace mapping code with drm_gem_vram_{kmap/kunmap}()
...several memory mappings for frame buffers
and cursors. This patch converts the driver to use the equivalent
drm_gem_vram_kmap() functions. It removes the dependencies on TTM
and cleans up the code.
---
drivers/gpu/drm/mgag200/mgag200_cursor.c | 35 +++++++++++-------------
drivers/gpu/drm/mgag200/mgag200_drv.h | 1 -
drivers/gpu/drm/mgag200/mgag200_fb.c | 22 +++++++++------
drivers/gpu/drm/mgag200/mgag200_mode.c | 9 ++++--
4 files changed, 36 insertions(+), 31 deletions(-)
diff --git a/drivers/gpu/drm/mgag200/mgag200_cursor.c b/drivers/gpu/drm/mgag200/mgag200_cursor.c
index cca3922f9f67.....
2019 Sep 13
0
[PATCH 8/8] drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
...| 18 ----
> include/drm/drm_vram_mm_helper.h | 82 +++++++++++++++++++
> drivers/gpu/drm/ast/ast_drv.c | 5 +-
> drivers/gpu/drm/bochs/bochs_drv.c | 5 +-
> .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 +-
> drivers/gpu/drm/mgag200/mgag200_drv.c | 5 +-
> drivers/gpu/drm/vboxvideo/vbox_drv.c | 5 +-
> 7 files changed, 87 insertions(+), 38 deletions(-)
> create mode 100644 include/drm/drm_vram_mm_helper.h
>
> diff --git a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h
> index 9...
2020 Feb 18
4
[PATCH v2 0/4] drm: Provide a simple encoder
...}()
drm/ast: Use simple encoder
drm/mgag200: Use simple encoder
drm/qxl: Use simple encoder
drivers/gpu/drm/ast/ast_drv.h | 6 +-
drivers/gpu/drm/ast/ast_mode.c | 25 +++-----
drivers/gpu/drm/drm_simple_kms_helper.c | 83 ++++++++++++++++++++++++-
drivers/gpu/drm/mgag200/mgag200_drv.h | 7 ---
drivers/gpu/drm/mgag200/mgag200_mode.c | 61 +-----------------
drivers/gpu/drm/qxl/qxl_display.c | 18 +-----
include/drm/drm_simple_kms_helper.h | 7 +++
7 files changed, 102 insertions(+), 105 deletions(-)
--
2.25.0
2019 Jul 03
11
[PATCH 0/5] Unmappable DRM client buffers for fbdev emulation
...t_main.c | 30 ++-
drivers/gpu/drm/ast/ast_mode.c | 21 --
drivers/gpu/drm/bochs/bochs_kms.c | 2 +-
drivers/gpu/drm/drm_client.c | 71 ++++-
drivers/gpu/drm/drm_fb_helper.c | 14 +-
drivers/gpu/drm/mgag200/Makefile | 2 +-
drivers/gpu/drm/mgag200/mgag200_drv.h | 19 --
drivers/gpu/drm/mgag200/mgag200_fb.c | 309 ----------------------
drivers/gpu/drm/mgag200/mgag200_main.c | 61 +++--
drivers/gpu/drm/mgag200/mgag200_mode.c | 27 --
include/drm/drm_client.h | 3 +
15 files changed, 154 insertions(+), 787 deletions(-)
delete mode 1...
2019 Jul 03
11
[PATCH 0/5] Unmappable DRM client buffers for fbdev emulation
...t_main.c | 30 ++-
drivers/gpu/drm/ast/ast_mode.c | 21 --
drivers/gpu/drm/bochs/bochs_kms.c | 2 +-
drivers/gpu/drm/drm_client.c | 71 ++++-
drivers/gpu/drm/drm_fb_helper.c | 14 +-
drivers/gpu/drm/mgag200/Makefile | 2 +-
drivers/gpu/drm/mgag200/mgag200_drv.h | 19 --
drivers/gpu/drm/mgag200/mgag200_fb.c | 309 ----------------------
drivers/gpu/drm/mgag200/mgag200_main.c | 61 +++--
drivers/gpu/drm/mgag200/mgag200_mode.c | 27 --
include/drm/drm_client.h | 3 +
15 files changed, 154 insertions(+), 787 deletions(-)
delete mode 1...
2020 Jan 08
17
[PATCH v2 0/9] iomap: Constify ioreadX() iomem argument
...x.c | 4 +-
arch/parisc/include/asm/io.h | 4 +-
arch/parisc/lib/iomap.c | 72 +++++++++----------
arch/powerpc/kernel/iomap.c | 28 ++++----
arch/sh/kernel/iomap.c | 22 +++---
drivers/gpu/drm/mgag200/mgag200_drv.h | 4 +-
drivers/gpu/drm/nouveau/nouveau_bo.c | 2 +-
drivers/media/platform/fsl-viu.c | 2 +-
drivers/net/wireless/ath/ath5k/ahb.c | 10 +--
.../realtek/rtl818x/rtl8180/rtl8180.h | 6 +-
drivers/ntb/hw/intel/ntb_hw_gen1.c | 2 +-
driv...