mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
video: fbdev: nvidia: Remove dead code
This is dead code since 3.15. If there is no plan to use it further, this can be removed forever. Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Cc: Antonino Daplas <adaplas@gmail.com> Cc: Sabyasachi Gupta <sabyasachi.linux@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Link: https://patchwork.freedesktop.org/patch/msgid/1562782586-3994-1-git-send-email-jrdr.linux@gmail.com
This commit is contained in:
parent
b519294ee1
commit
9b9f35e7c6
1 changed files with 0 additions and 24 deletions
|
@ -119,34 +119,10 @@ u8 NVReadMiscOut(struct nvidia_par *par)
|
||||||
{
|
{
|
||||||
return (VGA_RD08(par->PVIO, VGA_MIS_R));
|
return (VGA_RD08(par->PVIO, VGA_MIS_R));
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
void NVEnablePalette(struct nvidia_par *par)
|
|
||||||
{
|
|
||||||
volatile u8 tmp;
|
|
||||||
|
|
||||||
tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a);
|
|
||||||
VGA_WR08(par->PCIO, VGA_ATT_IW, 0x00);
|
|
||||||
par->paletteEnabled = 1;
|
|
||||||
}
|
|
||||||
void NVDisablePalette(struct nvidia_par *par)
|
|
||||||
{
|
|
||||||
volatile u8 tmp;
|
|
||||||
|
|
||||||
tmp = VGA_RD08(par->PCIO, par->IOBase + 0x0a);
|
|
||||||
VGA_WR08(par->PCIO, VGA_ATT_IW, 0x20);
|
|
||||||
par->paletteEnabled = 0;
|
|
||||||
}
|
|
||||||
#endif /* 0 */
|
|
||||||
void NVWriteDacMask(struct nvidia_par *par, u8 value)
|
void NVWriteDacMask(struct nvidia_par *par, u8 value)
|
||||||
{
|
{
|
||||||
VGA_WR08(par->PDIO, VGA_PEL_MSK, value);
|
VGA_WR08(par->PDIO, VGA_PEL_MSK, value);
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
u8 NVReadDacMask(struct nvidia_par *par)
|
|
||||||
{
|
|
||||||
return (VGA_RD08(par->PDIO, VGA_PEL_MSK));
|
|
||||||
}
|
|
||||||
#endif /* 0 */
|
|
||||||
void NVWriteDacReadAddr(struct nvidia_par *par, u8 value)
|
void NVWriteDacReadAddr(struct nvidia_par *par, u8 value)
|
||||||
{
|
{
|
||||||
VGA_WR08(par->PDIO, VGA_PEL_IR, value);
|
VGA_WR08(par->PDIO, VGA_PEL_IR, value);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue