fb_accel: Some renaming nevis => hd1 & apollo => hd2

This commit is contained in:
M. Liebmann
2017-02-08 13:30:33 +01:00
parent a4afe1e8e0
commit f94afc1593
2 changed files with 7 additions and 7 deletions

View File

@@ -78,7 +78,7 @@
#define GXA_CFG_REG 0x0030
#define GXA_CFG2_REG 0x00FC
#define LOGTAG "[fb_accel_gxa] "
#define LOGTAG "[fb_accel_cs_hd1] "
/*
static unsigned int _read_gxa(volatile unsigned char *base_addr, unsigned int offset)
{
@@ -126,7 +126,7 @@ void CFbAccelCSHD1::waitForIdle(const char *func)
CFbAccelCSHD1::CFbAccelCSHD1()
{
fb_name = "Coolstream NEVIS GXA framebuffer";
fb_name = "Coolstream HD1 framebuffer";
}
void CFbAccelCSHD1::init(const char * const)
@@ -363,7 +363,7 @@ int CFbAccelCSHD1::setMode(unsigned int, unsigned int, unsigned int)
xRes = screeninfo.xres;
yRes = screeninfo.yres;
bpp = screeninfo.bits_per_pixel;
printf(LOGTAG "%dx%dx%d line length %d. using nevis gxa graphics accelerator.\n", xRes, yRes, bpp, stride);
printf(LOGTAG "%dx%dx%d line length %d. using hd1 graphics accelerator.\n", xRes, yRes, bpp, stride);
int needmem = stride * yRes * 2;
if (available >= needmem)
{

View File

@@ -1,6 +1,6 @@
/*
Framebuffer acceleration hardware abstraction functions.
The hardware dependent acceleration functions for coolstream apollo graphic chips
The hardware dependent acceleration functions for coolstream hd2 graphic chips
are represented in this class.
(C) 2017 M. Liebmann
@@ -43,11 +43,11 @@
#include <cs_api.h>
#include <cnxtfb.h>
#define LOGTAG "[fb_accel_apollo] "
#define LOGTAG "[fb_accel_cs_hd2] "
CFbAccelCSHD2::CFbAccelCSHD2()
{
fb_name = "Coolstream APOLLO framebuffer";
fb_name = "Coolstream HD2 framebuffer";
}
/*
@@ -218,7 +218,7 @@ int CFbAccelCSHD2::setMode(unsigned int, unsigned int, unsigned int)
xRes = screeninfo.xres;
yRes = screeninfo.yres;
bpp = screeninfo.bits_per_pixel;
printf(LOGTAG "%dx%dx%d line length %d. using apollo graphics accelerator.\n", xRes, yRes, bpp, stride);
printf(LOGTAG "%dx%dx%d line length %d. using hd2 graphics accelerator.\n", xRes, yRes, bpp, stride);
int needmem = stride * yRes * 2;
if (available >= needmem)
{